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

pak and remotes conflict when installing from git URL via remotes::install_deps() #822

Open
mkoohafkan opened this issue Dec 19, 2024 · 0 comments

Comments

@mkoohafkan
Copy link

Ran into this issue a few days ago---using pak conflicts with devtools::install() dependency resolution if you have previously used pak to install a dependency via a git URL. devtools tries to update packages listed in the DESCRIPTION "Remotes" tag via remotes::install_deps(), but fails because pak specified the RemoteType "git" and remotes does not recognize this type.

A related (the same?) issue was posted in r-lib/pak#653, but I think this is a compatibility issue in remotes.

I recognize that we are in a transitional time of current best practices with pak, remotes, and devtools (#808), but I haven't seen info on the timeline for devtools is transitioning to pak (which would bypass this issue) so I am wondering if it is worth resolving this issue in remotes in the meantime. It seems like having remotes treat the RemoteType "git" identically to "xgit" would resolve the issue.

@mkoohafkan mkoohafkan changed the title pak and remotes conflict when installing from git URL pak and remotes conflict when installing from git URL via remotes::install_deps() Dec 19, 2024
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