ggbiplot won't install - ggbiplot_0.55.tar.gz’ had non-zero exit status

Hi there,
Last resort. I feel like I've been through every post on ggbiplot and I'm still unable to install it.
I've tried different versions of R (running 3.6.2), reinstalling R studio, reinstalling rtools, running a local install, yet I always seem to come back to this error.
Anyone have any ideas?? Any help would be much appreciated.

> library(devtools)
Loading required package: usethis
Warning message:
package ‘usethis’ was built under R version 3.6.3 
> install_github("vqv/ggbiplot")
Downloading GitHub repo vqv/ggbiplot@master
√  checking for file 'C:\Users\AppData\Local\Temp\RtmpQrxPhy\remotes368c4eaf99d\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:/R folders/Library’
(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:/R folders/Library/ggbiplot'
Error: Failed to install 'ggbiplot' from GitHub:
  (converted from warning) installation of package ‘C:/Users/AppData/Local/Temp/RtmpQrxPhy/file368c16b731bc/ggbiplot_0.55.tar.gz’ had non-zero exit status

Try running this command before installing the package

1 Like

Works like a charm! Thanks @andresrcs!

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