For some reason devtools::update_packages() is finding an updated version, but then installs a different, earlier version of the package:
> packageVersion("httr2")
[1] ‘1.0.1’
> devtools::update_packages()
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?
1: All
2: CRAN packages only
3: None
4: httr2 (1.0.1 -> 1.0.2) [CRAN]
Enter one or more numbers, or an empty line to skip updates: 4
httr2 (1.0.1 -> 1.0.2) [CRAN]
Installing 1 packages: httr2
trying URL 'https://cran.rstudio.com/bin/macosx/big-sur-arm64/contrib/4.4/httr2_1.0.1.tgz'
Content type 'application/x-gzip' length 548888 bytes (536 KB)
==================================================
downloaded 536 KB
The downloaded binary packages are in
/var/folders/mp/w8f9_2c572dfzd9nf4363_lw0000gn/T//RtmpTHvYml/downloaded_packages
> packageVersion("httr2")
[1] ‘1.0.1’
For some reason
devtools::update_packages()
is finding an updated version, but then installs a different, earlier version of the package:R 4.4.1 devtools 2.4.5 macOS 14.5