trinker / pacman

A package management tools for R
313 stars 37 forks source link

Friend can't install pacman #22

Closed trinker closed 12 years ago

trinker commented 12 years ago

Not sure if this is a pacman problem or my friends setup. He tried to installpacman and got an error:

nstalling github repo(s) pacman/master from trinker
Installing pacman.zip from https://github.com/trinker/pacman/zipball/master
Installing pacman
* checking for file 'C:\Documents and Settings\amaloe\Local Settings\Temp\RtmpgbxVj8\trinker-pacman-0a24465/DESCRIPTION' ... OK
* preparing 'pacman':
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building 'pacman_0.2.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\RtmpgbxVj8\trinker-pacman-0a24465" --no-manual --no-vignettes' had status 1 

Any ideas why? How to help him? Need more infor?

He's running windows XP R 2.15.1

Dasonk commented 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?

trinker commented 12 years ago

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

Dasonk commented 12 years ago

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.

trinker commented 12 years ago

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?

trinker commented 12 years ago

This may answer the question:

http://r.789695.n4.nabble.com/error-building-package-packaging-into-tar-gz-failed-td3636249.html

Dasonk commented 12 years ago

Yes Rtools definitely needs the updated version in the path.

trinker commented 12 years ago

Had him reinstall RTools and put it in the path. That was the problem not pacman.