Skip to content

Bug Report - Devtool packages 2.5.2 installation keep replace with older package version 2.5.1 #2694

@duytrung

Description

@duytrung

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,

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