RGoogleDocs icon indicating copy to clipboard operation
RGoogleDocs copied to clipboard

Cannot install

Open Pascoe70 opened this issue 9 years ago • 2 comments

I am having a lot of trouble installing this package. Is it still supported?

Most recent attempt took the format

install.packages("RGoogleDocs", repos = "http://www.omegahat.net/R")

and had error message thus;

_Warning in install.packages : closing unused connection 4 (C:/Program Files/R/Packages/RGoogleDocs.zip:DESCRIPTION.txt) Warning in install.packages : closing unused connection 3 (C:/Program Files/R/Packages/RGoogleDocs.zip:DESCRIPTION) Warning in install.packages : cannot open URL 'http://www.omegahat.net/R/bin/windows/contrib/3.3/PACKAGES.gz': HTTP status was '404 Not Found' Warning in install.packages : cannot open URL 'http://www.omegahat.net/R/bin/windows/contrib/3.3/PACKAGES': HTTP status was '404 Not Found' Warning in install.packages : unable to access index for repository http://www.omegahat.net/R/bin/windows/contrib/3.3: cannot open URL 'http://www.omegahat.net/R/bin/windows/contrib/3.3/PACKAGES' installing the source package ‘RGoogleDocs’

trying URL 'http://www.omegahat.net/R/src/contrib/RGoogleDocs_0.7-0.tar.gz' Content type 'application/x-gzip' length 77930 bytes (76 KB) downloaded 76 KB_

  • installing source package 'RGoogleDocs' ... ** R ** inst ** preparing package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded *** arch - i386 *** arch - x64
  • DONE (RGoogleDocs)

"The downloaded source packages are in {my local file location}"_

Thought (mistakenly) I had been successful, so tried to use the getGoogleAuth function and returned

Error: could not find function "getGoogleAuth"

Also tried install.packages("RGoogleDocs", repos = "https://github.com/duncantl")

and result;

Warning in install.packages : cannot open URL 'https://github.com/duncantl/src/contrib/PACKAGES.gz': HTTP status was '404 Not Found' Warning in install.packages : cannot open URL 'https://github.com/duncantl/src/contrib/PACKAGES': HTTP status was '404 Not Found' Warning in install.packages : unable to access index for repository https://github.com/duncantl/src/contrib: cannot open URL 'https://github.com/duncantl/src/contrib/PACKAGES' Warning in install.packages : package ‘RGoogleDocs’ is not available (for R version 3.3.2) Warning in install.packages : cannot open URL 'https://github.com/duncantl/bin/windows/contrib/3.3/PACKAGES.gz': HTTP status was '404 Not Found' Warning in install.packages : cannot open URL 'https://github.com/duncantl/bin/windows/contrib/3.3/PACKAGES': HTTP status was '404 Not Found' Warning in install.packages : unable to access index for repository https://github.com/duncantl/bin/windows/contrib/3.3: cannot open URL 'https://github.com/duncantl/bin/windows/contrib/3.3/PACKAGES'

Pascoe70 avatar Jan 27 '17 16:01 Pascoe70

@Pascoe70 Have you tried using devtools to install from github?

library(devtools)
install_github("duncantl/RGoogleDocs")

Dasonk avatar Mar 16 '17 16:03 Dasonk

@Dasonk Hi Dason

Yes - have tried that. I get the following error;

Error in curl::curl_fetch_memory(url, handle = handle) : Couldn't connect to server

I did wonder if that might be a proxy thing at work, but I think I even tried it on my own laptop with no luck. So I am a bit stumped.

Pascoe70 avatar Mar 28 '17 08:03 Pascoe70