Skip to content

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

Description

@jennybc

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.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions