> library('devtools')
> install_local("T:\\tidyr_0.2.0.zip")
Installing tidyr
Installing dependencies for tidyr:
stringi
--- Please select a CRAN mirror for use in this session ---
trying URL 'http://cran.utstat.utoronto.ca/bin/windows/contrib/3.1/stringi_0.4-1.zip'
Content type 'application/zip' length 13436804 bytes (12.8 Mb)
opened URL
downloaded 12.8 Mb
package ‘stringi’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
D:\Users\jotham.apaloo\AppData\Local\Temp\RtmpaejBo2\downloaded_packages
"C:/PROGRA~1/R/R-31~1.0/bin/x64/R" --vanilla CMD INSTALL \
"D:/Users/jotham.apaloo/AppData/Local/Temp/RtmpaejBo2/devtools3fe468f87904/tidyr" --library="C:/Program \
Files/R/R-3.1.0/library" --install-tests
* installing *binary* package 'tidyr' ...
cp: unknown option -- )
Try `/usr/bin/cp --help' for more information.
Warning:
running command 'cp -R . "C:/Program Files/R/R-3.1.0/library/tidyr" || (
tar cd - .| (cd "C:/Program Files/R/R-3.1.0/library/tidyr" &&
tar -xf -))' had status 1
ERROR: installing binary package failed
* removing 'C:/Program Files/R/R-3.1.0/library/tidyr'
Error: Command failed (1)
10: stop("Command failed (", status, ")", call. = FALSE)
9: system_check(r_path, options, c(r_env_vars(), env_vars), ...)
8: force(code)
7: in_dir(path, system_check(r_path, options, c(r_env_vars(), env_vars),
...))
6: R(paste("CMD INSTALL ", shQuote(built_path), " ", opts, sep = ""),
quiet = quiet)
5: install(source, ..., quiet = quiet)
4: FUN(X[[1L]], ...)
3: vapply(remotes, install_remote, ..., FUN.VALUE = logical(1))
2: install_remotes(remotes, ...)
1: install_local("T:\\tidyr_0.2.0.zip")
sessionInfo()
##
R version 3.1.0 (2014-04-10)
##
Platform: x86_64-w64-mingw32/x64 (64-bit)
##
locale:
##
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
##
[4] LC_NUMERIC=C LC_TIME=English_United States.1252
##
attached base packages:
##
[1] stats graphics grDevices utils datasets methods base
## other attached packages:
## [1] devtools_1.7.0
## loaded via a namespace (and not attached):
## [1] tools_3.1.0
devtools::find_rtools(debug=TRUE)
Scanning path...
ls : c:\Rtools\bin\ls.exe
gcc: c:\Rtools\GCC-46~1.3\bin\gcc.exe
VERSION.txt
Rtools version 3.1.0.1942
Version: 3.1
[1] TRUE
Hi,