Rolf, what do you mean by "broken"? Since you failed to include any proof nor details it's unlikely that anyone can help you, but chances are pretty high that it was a problem on your end. I just checked with R 4.4.0 on Ubuntu 22.04 and devtools install and load just fine, so it is certainly broken on CRAN.
Make sure you don't have packages for old R version in your local libraries - that is a most common mistake - always remove them when upgrading R and re-install if still need them. You can check the locations of your libraries with .libPaths() in R. Sometimes, update.packages(checkBuilt=TRUE) can do the trick as well, but I prefer clean re-installs for safety as it also helps you clean up old cruft that is not longer needed. Cheers, Simon > On Apr 29, 2024, at 1:19 PM, Rolf Turner <rolftur...@posteo.net> wrote: > > > Executive summary: > >> The devtools package on CRAN appears to be broken. >> Installing devtools from github (using remotes::install_github()) >> seems to give satisfactory results. > > This morning my software up-dater (Ubuntu 22.04.4) prompted me to > install updated versions of some software, including r-base. I thereby > obtained what I believe is the latest version of R (4.4.0 (2024-04-24)). > > Then I could not load the "devtools" package, which is fairly crucial to > my work. > > A bit of web-searching got me to a post on github by Henrik Bengtsson, > which referred to the devtools problem. I therefore decided to try > installing devtools from github: > > remotes::install_github("r-lib/devtools",lib="/home/rolf/Rlib") > > Some 50-odd packages seemed to require up-dating. I went for it, and > after a fairly long wait, while messages about the updating flowed by, > devtools seemed to get installed. Now "library(devtools)" runs without > error, so I am happy with my own situation. However there seems to be > a problem with the devtools package on CRAN, which ought to be fixed. > > cheers, > > Rolf Turner > > -- > Honorary Research Fellow > Department of Statistics > University of Auckland > Stats. Dep't. (secretaries) phone: > +64-9-373-7599 ext. 89622 > Home phone: +64-9-480-4619 > > ______________________________________________ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel > ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel