Hello everyone,
I tried to upgrade the package and had the following error:
install.packages("devtools")
There is a binary version available but the source version is later:
binary source needs_compilation
devtools 2.5.1 2.5.2 FALSE
installing the source package ‘devtools’
trying URL 'https://cran.rstudio.com/src/contrib/devtools_2.5.2.tar.gz'
Content type 'application/x-gzip' length 412614 bytes (402 KB)
downloaded 402 KB
- installing source package 'devtools' ...
** this is package 'devtools' version '2.5.2'
** package 'devtools' successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error: package or namespace load failed for 'usethis' in inDL(x, as.logical(local), as.logical(now), ...):
unable to load shared object 'C:/R/library/rlang/libs/x64/rlang.dll':
LoadLibrary failure: The specified procedure could not be found.
Execution halted
ERROR: lazy loading failed for package 'devtools'
- removing 'C:/R/library/devtools'
- restoring previous 'C:/R/library/devtools'
The downloaded source packages are in
‘C:\Users\a1215887\AppData\Local\Temp\RtmpaCUYpl\downloaded_packages’
Warning message:
In utils::install.packages("devtools") :
installation of package ‘devtools’ had non-zero exit status
I upgrade with R 4.6.0 - RTools4.5 in Windows 11 Entreprise.
Sincerely appreciate your inspection of this issue,
Cheers,
Hello everyone,
I tried to upgrade the package and had the following error:
There is a binary version available but the source version is later:
binary source needs_compilation
devtools 2.5.1 2.5.2 FALSE
installing the source package ‘devtools’
trying URL 'https://cran.rstudio.com/src/contrib/devtools_2.5.2.tar.gz'
Content type 'application/x-gzip' length 412614 bytes (402 KB)
downloaded 402 KB
** this is package 'devtools' version '2.5.2'
** package 'devtools' successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error: package or namespace load failed for 'usethis' in inDL(x, as.logical(local), as.logical(now), ...):
unable to load shared object 'C:/R/library/rlang/libs/x64/rlang.dll':
LoadLibrary failure: The specified procedure could not be found.
Execution halted
ERROR: lazy loading failed for package 'devtools'
The downloaded source packages are in
‘C:\Users\a1215887\AppData\Local\Temp\RtmpaCUYpl\downloaded_packages’
Warning message:
In utils::install.packages("devtools") :
installation of package ‘devtools’ had non-zero exit status
I upgrade with R 4.6.0 - RTools4.5 in Windows 11 Entreprise.
Sincerely appreciate your inspection of this issue,
Cheers,