Dependency scanning: ability to declare non-cran dependency
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
Research direction
Start by reviewing pkgdepends’ existing dependency discovery and how dependencies() detects declarations. Compare the proposed deps.R pak::pak(...) convention with renv::install(...), then define supported syntax and detection behavior for non-CRAN dependencies without a DESCRIPTION file. Done means the chosen declaration form is detected reliably and covered by tests.
Written by the indexing model from the issue text.
Description
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: https://github.com/rstudio/renv/issues/2094
- Dominant language
- C
- Stars
- 135
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from r-lib/pkgdepends
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
r-lib/pkgdepends#485 · 4 comments ·
-
Allow trailing slash(es) in urls?Possibly taken @BjarkeHautop claimed this 73 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
r-lib/pkgdepends#477 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 70/100
r-lib/pkgdepends#486 · 4 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
r-lib/pkgdepends#484 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
r-lib/pkgdepends#483 · 1 comment ·
All issues in r-lib/pkgdepends
Similar issues
-
IO.get_env on Node truncates names at embedded NULPossibly taken @Yi-111-a claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
HigherOrderCO/Bend#1449 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1872 ·
Maintainers usually reply within 1 day
-
bug C/C++ code
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
webarkit/WebARKitLib#84 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
OpenPrinting/cups#1751 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
obsproject/obs-studio#14013 ·
Maintainers usually reply within 1 day