Skip to content

Remotes are not resolved if a package and its repo have different names #263

@heavywatal

Description

@heavywatal

I have igraphlite package hosted at github::heavywatal/rigraphlite, and a dependent package with the following DESCRIPTION:

Imports:
    igraphlite
Remotes:
    github::heavywatal/rigraphlite

pak::pkg_deps(".") cannot resolve this and emits an error:

Error: Cannot install packages:                                            
* local::.: Can't install dependency igraphlite
* igraphlite: Can't find package called igraphlite.

while remotes::install_deps() can.

igraphlite=github::heavywatal/rigraphlite format suggested in #2 seems to work with pak::pkg_deps("."), but it emits Error: Unknown remote type with remotes::install_deps().

How can I satisfy both r-lib/actions and devtools system?

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