R devtools - install from github with the "configure" file

I have an R package on github that uses a "configure" script (since some of the C code depends on the GSL libraries). I am trying to install a package using the github_install () function from the devtools package and get an error:

(as 'lib' is unspecified) * installing *source* package 'wrightscape' ... ERROR: 'configure' exists but is not executable -- see the 'R Installation and Administration Manual' 

Not sure what to do - are there such things as execute permissions for a file on github? is it a devtools problem or a configuration problem? (Installing a package from source is great for me). The package is here. https://github.com/cboettig/wrightscape

+6
source share
3 answers

This has now been fixed in the latest version of devtools (0.7).

+4
source

Git does not allow direct file management. Usually, to build or install a script, you need to properly configure permissions after delivering bits from git. There are third-party tools that can help with this. See Discussing SO Saving File Permissions Using Git .

Hope this helps.

0
source

I had a similar problem that was caused by the my / tmp dir connection installed by noexec and was resolved by installing another TMPDIR as described here

 export TMPDIR=~/tmp 
0
source

Source: https://habr.com/ru/post/903136/


All Articles