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

Support ':' as a sub-directory separator? #714

Open
kevinushey opened this issue Nov 13, 2024 · 0 comments
Open

Support ':' as a sub-directory separator? #714

kevinushey opened this issue Nov 13, 2024 · 0 comments

Comments

@kevinushey
Copy link

renv uses : in remote specifications, for indicating a sub-directory within a repository. For example:

renv::install("jashapiro/nestedpak:mypak")

This doesn't work with pak, as a final / is instead expected. Would it be possible for pak to support this notation as well?

For context, renv chose to use : here to avoid ambiguity with things like GitLab where repositories could be nested, so : allows us to disambiguate whether we're trying to refer to a sub-repository as opposed to a folder within the repository.

Associated issue: rstudio/renv#2011

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

No branches or pull requests

1 participant