0

I was able to install successfully library(devtools), but when trying to install:

install_github("vqv/ggbiplot")
Downloading GitHub repo vqv/ggbiplot@master
Error in utils::download.file(url, path, method = method, quiet = quiet,  : 
  cannot open URL 'https://api.github.com/repos/vqv/ggbiplot/tarball/master'

didn´t work!

Does anyone know how to solve this problem?

  • That url works for me, so it's on your end. I suggest you try it again. It it fails again in R, try it in your browser. If it succeeds, then your computer's firewall is blocking R's access to the internet. If it fails in your browser, consider your firewall or one on your network. – r2evans Apr 21 '20 at 17:30
  • 1
    thanks, it works now! – Yasmin Vdw Apr 21 '20 at 17:40
  • I still have some issues, I tryed ```` – Yasmin Vdw Apr 21 '20 at 18:10
  • Yes? You tried what? – r2evans Apr 21 '20 at 18:25
  • `install.packages("remotes")` `remotes::install_github("vqv/ggbiplot")` BUT GOT AN ERROR xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun ERROR: compilation failed for package ‘Rcpp’ * removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/Rcpp’ * restoring previous ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/Rcpp’ Error: Failed to install 'ggbiplot' from GitHub: (converted from warning) installation of package ‘Rcpp’ had non-zero exit status – Yasmin Vdw Apr 21 '20 at 19:40
  • The same happens with: `install_github("vqv/ggbiplot")` – Yasmin Vdw Apr 21 '20 at 19:47
  • You likely need to reinstall or update `xcode`. – r2evans Apr 21 '20 at 20:35

0 Answers0