`dev_sitrep()` says to update with `pak::pak("somePackage")` but doing so doesn't change the report
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Start at the dev_sitrep() entry point and reproduce the reported dependency summary with pak::pak("devtools"). Trace how the suggested pak command is generated, then verify that the report recommends an upgrade when dependencies are behind and that the resulting instruction matches the intended behavior.
Written by the indexing model from the issue text.
Description
I just ran dev_sitrep() in an R 4.5 session (not important) and saw this:
> dev_sitrep()
✔ Updated metadata database: 8.09 MB in 4 files.
✔ Updating metadata database ... done
── R ─────────────────────────────────────────────────────────────────────────────────────────────────
• version: 4.5.3
• path: /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources
! R is out of date (4.5.3 vs 4.6.1)
── Positron ──────────────────────────────────────────────────────────────────────────────────────────
• version: 2026.9.0
── devtools ──────────────────────────────────────────────────────────────────────────────────────────
• version: 2.5.2
! 1 devtools dependency is not installed.
Install it with pak::pak("devtools").
rdtools (missing)
! 7 devtools dependencies are out of date.
Update them with pak::pak("devtools").
bslib (behind: 0.11.0 vs 0.12.0)
curl (behind: 7.1.0 vs 8.0.0)
gert (behind: 2.4.0 vs 2.4.1)
pak (behind: 0.10.0 vs 0.11.1)
roxygen2 (behind: 8.0.0 vs 8.1.0)
stringi (behind: 1.8.7 vs 1.8.9)
zip (behind: 3.0.1 vs 3.0.2)
── dev package ───────────────────────────────────────────────────────────────────────────────────────
• package: <unset>
• path: <unset>
so I click on pak::pak("devtools") and see:
> pak::pak("devtools")
→ Package library at /Users/jenny/Library/R/arm64/4.5/library.
ℹ No downloads are needed
✔ 1 pkg + 92 deps: kept 86 [666ms]
because the sit rep is really nudging you to do what's meant by pak::pak(devtools, upgrade = TRUE). These updates aren't absolutely required, but this gets you to the latest version of these dependencies.
- Dominant language
- R
- Stars
- 2.5k
- Forks
- 762
- PR merge metrics
- No merged PRs in 30d
Contributor guide
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/devtools
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
Similar issues
-
documentation pkg infrastructure
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
epiverse-trace/epiparameter#511 ·
-
function:write_dwc
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
r-lib/pkgdepends#485 · 3 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
beginners blocker
Difficulty 2/5 1-3 hours Newbie friendliness 78/100