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

path_package #75

Closed
hadley opened this Issue Feb 26, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@hadley
Copy link
Member

hadley commented Feb 26, 2018

Something like:

path_package <- function(package, ...) {
  system.file(path(...), package = package, mustWork = TRUE)
} 

@jimhester jimhester added the feature label Feb 27, 2018

@hadley

This comment has been minimized.

Copy link
Member Author

hadley commented Mar 2, 2018

Should also check that package is installed, and clear give error message otherwise

@jimhester jimhester closed this in 6bab6ba Mar 12, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment