Install ggbiplot

Hello
I try to install ggbiplot for some time now and was also reading through some of the previous problems but I cannot make it work. Can somebody here give me a hint?

library(devtools)
install_github("vqv/ggbiplot")

the output is the following:

Downloading GitHub repo vqv/ggbiplot@master
√ checking for file 'C:\Users\Public\Documents\Wondershare\CreatorTemp\RtmpKEgRXz\remotes12d84c9e11ac\vqv-ggbiplot-7325e88/DESCRIPTION' ...

  • preparing 'ggbiplot':
    √ 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/fine_/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)

  • installing source package 'ggbiplot' ...
    ** using staged installation
    ** R
    ** data
    ** byte-compile and prepare package for lazy loading
    Error: (converted from warning) package 'ggplot2' was built under R version 3.6.3
    Execution halted
    ERROR: lazy loading failed for package 'ggbiplot'
  • removing 'C:/Users/fine_/Documents/R/win-library/3.6/ggbiplot'
    Error: Failed to install 'ggbiplot' from GitHub:
    (converted from warning) installation of package ‘C:/Users/Public/Documents/Wondershare/CreatorTemp/RtmpKEgRXz/file12d871db6af5/ggbiplot_0.55.tar.gz’ had non-zero exit status

Thanks for any input!

Try running this command before installing the package

Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS="true")

Thank you very much, that did work!

Have a nice evening!

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