`dev_sitrep()` says to update with `pak::pak("somePackage")` but doing so doesn't change the report

Open Beginner friendly
#2,702 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
r
Domain
tooling

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from r-lib/devtools

All issues in r-lib/devtools

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.