[R-pkg-devel] 'configure' exists but is not executable

Sebastian Ankargren @eb@@t|@n@@nk@rgren @end|ng |rom @t@t|@t|k@uu@@e
Mon Aug 26 15:47:02 CEST 2019


Dear package developers,

I have a package that is dependent upon Rcpp and RcppArmadillo and for this reason I use a configure file. On my local machine with:
R version 3.6.0 (2019-04-26)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Mojave 10.14.3

…my package passes R CMD check. However, on Travis CI I get

* installing *source* package ‘mfbvar’ ...
** using staged installation
ERROR: 'configure' exists but is not executable -- see the 'R Installation and Administration Manual'

This despite the configure file being executable locally. Some of my attempts at fixing this include:
- chmod +x configure
- removing configure, committing/pushing, putting configure back and chmod +x configure before committing/pushing again to ensure the executable version is pushed
- creating a new configure from configure.ac using autoconf

All of my attempts have been unsuccessful and I’m a little bit puzzled why it doesn’t work on Travis. Does anyone have any suggestions? The failure is present both on Linux and OS X. I am not sure whether the issue is specific to Travis, but I have no other ways of testing it before submitting to CRAN.

Travis link: https://travis-ci.org/ankargren/mfbvar
Github link: https://github.com/ankargren/mfbvar

Appreciate any input you might have!

Best,

Sebastian








När du har kontakt med oss på Uppsala universitet med e-post så innebär det att vi behandlar dina personuppgifter. För att läsa mer om hur vi gör det kan du läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/

E-mailing Uppsala University means that we will process your personal data. For more information on how this is performed, please read here: http://www.uu.se/en/about-uu/data-protection-policy

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list