I have been having issues installing the "ggbiplot" package into R. I looked it up online and the following code was provided:
Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS="true")
library(devtools)
install_github("vqv/ggbiplot")
(Please refer: ggbiplot won't install - ggbiplot_0.55.tar.gz’ had non-zero exit status)
Following is the error message i keep getting in R studio when i try the above codes. I am not sure what the issue is and I am not very familiar with R. This code was given to me by someone else and i am trying to work it based off my data.
library(devtools)
install_github("vqv/ggbiplot")
Downloading GitHub repo vqv/ggbiplot@HEAD
√ checking for file 'C:\Users\anavleka\AppData\Local\Temp\RtmpEprCls\remotes3214453b6bb9\vqv-ggbiplot-7325e88/DESCRIPTION' (804ms)
- 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/anavleka/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
[1] "This is test5 Rprofile"
Loading required package: permute
Loading required package: lattice
This is vegan 2.5-7
Error in library(reshape2) : there is no package called 'reshape2'
Execution halted
Warning message:
In i.p(...) :
installation of package ‘C:/Users/anavleka/AppData/Local/Temp/RtmpEprCls/file321428e7f56/ggbiplot_0.55.tar.gz’ had non-zero exit status
Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS="true")
library(devtools)
install_github("vqv/ggbiplot")
Downloading GitHub repo vqv/ggbiplot@HEAD
√ checking for file 'C:\Users\anavleka\AppData\Local\Temp\RtmpEprCls\remotes3214717477b\vqv-ggbiplot-7325e88/DESCRIPTION' (396ms)
- 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/anavleka/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
[1] "This is test5 Rprofile"
Loading required package: permute
Loading required package: lattice
This is vegan 2.5-7
Error in library(reshape2) : there is no package called 'reshape2'
Execution halted
Warning message:
In i.p(...) :
installation of package ‘C:/Users/anavleka/AppData/Local/Temp/RtmpEprCls/file321421e75ccd/ggbiplot_0.55.tar.gz’ had non-zero exit status