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

Better documentation for starts_with etc. #1410

Closed
hadley opened this issue Sep 15, 2015 · 2 comments
Closed

Better documentation for starts_with etc. #1410

hadley opened this issue Sep 15, 2015 · 2 comments
Milestone

Comments

@hadley
Copy link
Member

@hadley hadley commented Sep 15, 2015

Maybe:

starts_with <- function(match, ignore.case = TRUE, vars = character()) {}

Or maybe:

cur_vars_env <- new.env()

current_vars <- function() cur_vars_env$selected
set_current_vars <- function(x) cur_vars_env$selected <- x

starts_with <- function(match, ignore.case = TRUE, vars = current_vars()) {}
@bhive01
Copy link

@bhive01 bhive01 commented Sep 21, 2015

Ah, sorry for the dupe.

@hadley hadley added this to the 0.5 milestone Oct 21, 2015
@hadley hadley closed this in 2151d8b Mar 7, 2016
@lock
Copy link

@lock lock bot commented Sep 16, 2018

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/

@lock lock bot locked and limited conversation to collaborators Sep 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants