Skip to content

Dependency scanning: ability to declare non-cran dependency #439

Open

Description

@gaborcsardi

It would be nice to be able to declare a non-cran dependency, in a way that is detected by dependencies(), without creating a full DESCRIPTION file.

One way would be to put something like

# pak::pak("user/repo@branch")
library(repo)

into a deps.R file. AFAIK people already use these files as a convention to declare undetected CRAN(-like) dependencies, so this would be a natural addition.

We could also have an alternative syntax with renv::install(...) instead of the pak() call.

Similar issue in renv: rstudio/renv#2094

Activity

  1. added
    feature
    on May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions