Error installing ggbiplot in R version 4.2.1

I am trying to install the ggbiplot package in the 4.2.1 version of R. Using this code

The downloaded binary packages are in
:heavy_check_mark: checking for file 'C:\Users\19156\AppData\Local\Temp\Rtmp2nGWmP\remotes507ca974e44\vqv-ggbiplot-7325e88/DESCRIPTION' (473ms)
─ preparing 'ggbiplot':
:heavy_check_mark: checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ looking to see if a 'data/datalist' file should be added
─ building 'ggbiplot_0.55.tar.gz'

Installing package into ‘C:/Users/19156/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)

  • installing source package 'ggbiplot' ...
    ** using staged installation
    ** R
    ** data
    ** byte-compile and prepare package for lazy loading
    Error: package or namespace load failed for 'ggplot2' in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
    namespace 'rlang' 1.0.4 is already loaded, but >= 1.0.5 is required
    Execution halted
    ERROR: lazy loading failed for package 'ggbiplot'
  • removing 'C:/Users/19156/AppData/Local/R/win-library/4.2/ggbiplot'
    Warning messages:
    1: In file.copy(savedcopy, lib, recursive = TRUE) :
    problem copying C:\Users\19156\AppData\Local\R\win-library\4.2\00LOCK\rlang\libs\x64\rlang.dll to C:\Users\19156\AppData\Local\R\win-library\4.2\rlang\libs\x64\rlang.dll: Permission denied
    2: In file.copy(savedcopy, lib, recursive = TRUE) :
    problem copying C:\Users\19156\AppData\Local\R\win-library\4.2\00LOCK\cli\libs\x64\cli.dll to C:\Users\19156\AppData\Local\R\win-library\4.2\cli\libs\x64\cli.dll: Permission denied
    3: In i.p(...) :
    installation of package ‘C:/Users/19156/AppData/Local/Temp/Rtmp2nGWmP/file507c76df687f/ggbiplot_0.55.tar.gz’ had non-zero exit status

The error message is asking you to update rlang


This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.