Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove warning from installChar() #5609

Merged
merged 2 commits into from
Nov 19, 2020
Merged

Conversation

romainfrancois
Copy link
Member

This is copied from https://github.com/r-lib/rlang/blob/898449d00b51ac32839715be0bdd8c5330f56aca/src/lib/vec-chr.h#L92

@lionel- is there a way to use something like r_str_as_symbol directly from rlang ?

@lionel-
Copy link
Member

lionel- commented Nov 18, 2020

hmm we could export a C callable for it? I plan to release a new rlang version soon.

@romainfrancois
Copy link
Member Author

That would probably be better than copying the function over.

@romainfrancois
Copy link
Member Author

I'll merge this now, and replace later when/if a callable becomes available.

@romainfrancois romainfrancois merged commit 04bb5ce into promises Nov 19, 2020
@romainfrancois romainfrancois deleted the promises_installChar branch November 19, 2020 09:22
romainfrancois added a commit that referenced this pull request Nov 19, 2020
…e bindings) (#5520)

* + lazy_vec_chop()

* + dplyr_data_masks()

* stack imbalmance

* + env_resolved() to query which promise has been resolved

* install .indices for top mask and individual masks

* DataMask holds chops and masks

* use individual data masks instead of meta data mask that gets updated all the time

* filter() internals also not using metamask

* No longer using DataMask$mask

* abandon DataMask$forget()

* remove DataMask$bindings

* Abandon DataMask$which_used

* Remove DataMask$used, as it can be recalculated based on $chops and $resolved

* Abandon DataMask$resolved, instead just keep track of DataMask$all_vars and rely on chops for resolvedness

* rm  lazy_vec_chop.R, as this is only ever used inside DataMask. Make the data mask and pronouns internally

* register symbols

* use callables for as_data_pronoun() and new_data_mask() instead of R callbacks.

* top can be NULL

* back to only one mask, with active bindings instead of promises

* comment why the [] is needed

* comments about the parent envirinments of $chops and $mask in DataMask

* use VECTOR_PTR_RO() and STRING_PTR_RO()

* DPLYR_MASK_EVAL() takes single rgument

* reset all_vars on mutate(=NULL)

* NEWS bullet

* update comment

* remove warning from installChar() (#5609)

* remove warning from installChar()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants