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

ERROR: compilation failed for package 'apg' #2

Open
AlePasquini opened this issue Dec 18, 2018 · 1 comment
Open

ERROR: compilation failed for package 'apg' #2

AlePasquini opened this issue Dec 18, 2018 · 1 comment

Comments

@AlePasquini
Copy link

Hello,

I'm trying to install the package augsynth which uses apg. Nonetheless,, I'm not being able to install apg. I have the latest version of R and I have installed both devtools and Rtools, any idea why it doesn't work?
This is the code I get:

Downloading GitHub repo jpvert/apg@master

checking for file 'C:\Users\Alessandra\AppData\Local\Temp\RtmpsrwEfb\remotes4888358d63ca\jpvert-apg-8900984/DESCRIPTION' ...

checking for file 'C:\Users\Alessandra\AppData\Local\Temp\RtmpsrwEfb\remotes4888358d63ca\jpvert-apg-8900984/DESCRIPTION' ...

√ checking for file 'C:\Users\Alessandra\AppData\Local\Temp\RtmpsrwEfb\remotes4888358d63ca\jpvert-apg-8900984/DESCRIPTION' (500ms)

  • preparing 'apg':
    checking DESCRIPTION meta-information ...

    checking DESCRIPTION meta-information ...

√ checking DESCRIPTION meta-information

  • cleaning src

  • checking for LF line-endings in source and make files and shell scripts

  • checking for empty or unneeded directories

  • building 'apg_0.1.1.tar.gz'

Installing package into ‘C:/Users/Alessandra/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)

  • installing source package 'apg' ...
    ** libs

*** arch - i386
C:/Program Files/R/Rtools/mingw_32/bin/g++ -I"C:/PROGRA1/R/R-351.1/include" -DNDEBUG -I"C:/Users/Alessandra/Documents/R/win-library/3.5/Rcpp/include" -I"C:/Users/Alessandra/Documents/R/win-library/3.5/RcppArmadillo/include" -O2 -Wall -mtune=generic -c RcppExports.cpp -o RcppExports.o
sh: C:/Program: No such file or directory
make: *** [C:/PROGRA1/R/R-351.1/etc/i386/Makeconf:215: RcppExports.o] Error 127
ERROR: compilation failed for package 'apg'

Many Thanks,

Alessandra

@jpvert
Copy link
Owner

jpvert commented Dec 20, 2018

Hello,
Sorry I can not reproduce your error, which seems to be related to your local file organization. I have not tested the installation on a Windows machine, as I don't have access to one. I don't know if this is a problem for all Windows machines, or only for yours. If you have access to another machine, do you get the same error?
If I understand correctly the error message, it has to do with a missing file or directory..

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