Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation problem and the solution in R 3.4 #9

Open
yushuf opened this issue Jul 31, 2018 · 1 comment
Open

Installation problem and the solution in R 3.4 #9

yushuf opened this issue Jul 31, 2018 · 1 comment

Comments

@yushuf
Copy link

yushuf commented Jul 31, 2018

> library(devtools)
> install_github("ekenah/transtat")
Skipping install of 'transtat' from a github remote, the SHA1 (50921e4b) has not changed since last install.
  Use `force = TRUE` to force installation

This is the first error I get. Trying with force option provided different error

> install_github("ekenah/transtat", force = TRUE)
Downloading GitHub repo ekenah/transtat@master
from URL https://api.github.com/repos/ekenah/transtat/zipball/master
Installing transtat
Installing 1 package: Rcpp
Installing package into ‘C:/Users/ms3628/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/Rcpp_0.12.18.zip'
Content type 'application/zip' length 4424481 bytes (4.2 MB)
downloaded 4.2 MB

package ‘Rcpp’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘Rcpp’

The downloaded binary packages are in
	C:\Users\ms3628\AppData\Local\Temp\1\RtmpWMwy0r\downloaded_packages
"C:/PROGRA~1/R/R-34~1.3/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet  \
  CMD INSTALL  \
  "C:/Users/ms3628/AppData/Local/Temp/1/RtmpWMwy0r/devtools171c27b5b85/ekenah-transtat-50921e4"  \
  --library="C:/Users/ms3628/Documents/R/win-library/3.4" --install-tests 

ERROR: dependency 'Rcpp' is not available for package 'transtat'
* removing 'C:/Users/ms3628/Documents/R/win-library/3.4/transtat'
In R CMD INSTALL
Installation failed: Command failed (1)

The following works

> install.packages("Rcpp")
> install_github("ekenah/transtat")` 

This is for your information.

@ekenah
Copy link
Owner

ekenah commented Jul 31, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants