Skip to content

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

@mkoohafkan

Description

@mkoohafkan

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 #830, 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions