Closed trinker closed 12 years ago
Do they have Rtools installed (I don't actually know if that matters but it seems to be a problem building the package)? Can they install other packages using install_github?
I just had him update Rtools (R was squawking he didn't have the altest version) but I don't what he's got going on where. He has 10 versions of R on his desktop (back to 2.9) and I don't think it's easy to tell what's going where. I'll have him install my hangman game using install_github
It looked like it was using the right version of R for building so I don't think that's the issue. I think it's probably related to the build environment. If you can't install anything using install_github then we know it's not pacman's fault at least.
This is the error trying hangman
:
> library(devtools); install_github("hangman", "trinker")
Version of Rtools does not match R version :(. Please reinstall Rtools from http://cran.r-project.org/bin/windows/Rtools/.
Installing github repo(s) hangman/master from trinker
Installing hangman.zip from https://github.com/trinker/hangman/zipball/master
Installing hangman
* checking for file 'C:\Documents and Settings\amaloe\Local Settings\Temp\Rtmp61llY3\trinker-hangman-9249784/DESCRIPTION' ... OK
* preparing 'hangman':
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* looking to see if a 'data/datalist' file should be added
* building 'hangman_1.0.tar.gz'
ERROR
packaging into .tar.gz failed
Error: Command failed (1)
In addition: Warning message:
running command '"C:/PROGRA~1/R/R-215~1.1/bin/i386/R" CMD build "C:\Documents and Settings\amaloe\Local Settings\Temp\Rtmp61llY3\trinker-hangman-9249784" --no-manual --no-vignettes' had status 1
It appears this is a problem with his machine. Not sure if it's that it's XP, RTools, R version etc. Any ideas of what to try?
Does RTools updated version have to be in the path?
This may answer the question:
http://r.789695.n4.nabble.com/error-building-package-packaging-into-tar-gz-failed-td3636249.html
Yes Rtools definitely needs the updated version in the path.
Had him reinstall RTools and put it in the path. That was the problem not pacman.
Not sure if this is a pacman problem or my friends setup. He tried to install
pacman
and got an error:Any ideas why? How to help him? Need more infor?
He's running windows XP R 2.15.1