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

hadley opened this issue Sep 15, 2015 · 2 comments

Better documentation for starts_with etc. #1410

hadley opened this issue Sep 15, 2015 · 2 comments


Copy link

hadley commented Sep 15, 2015


starts_with <- function(match, = 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, = TRUE, vars = current_vars()) {}
Copy link

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 as completed in 2151d8b Mar 7, 2016
Copy link

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.

@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.
None yet

No branches or pull requests

3 participants