[R-pkg-devel] 'configure' exists but is not executable
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]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
Re: [R-pkg-devel] 'configure' exists but is not executable
Dear Max, That fixes the issue completely on Travis — thanks. However, it worries me a little that I might need something similar for the build on CRAN? Or should I simply just assume that this is an issue specific to Travis? /Sebastian On 26 Aug 2019, at 16:09, Max Turgeon mailto:max.turg...@umanitoba.ca>> wrote: Hi Sebastian, Have you tried adding a line in your `.travis.yml` file that changes the permissions for `configure`? Something like this: before_install: - chmod +x configure Max Turgeon Assistant Professor Department of Statistics Department of Computer Science University of Manitoba maxturgeon.ca<https://urlproxy.sunet.se/canit/urlproxy.php?_q=aHR0cDovL21heHR1cmdlb24uY2E%3D&_s=c2ViYXN0aWFuLmFua2FyZ3JlbkBzdGF0aXN0aWsudXUuc2U%3D&_c=2483e576&_r=dXUtc2U%3D> From: R-package-devel mailto:r-package-devel-boun...@r-project.org>> on behalf of Sebastian Ankargren mailto:sebastian.ankarg...@statistik.uu.se>> Sent: August 26, 2019 8:47:02 AM To: r-package-devel@r-project.org<mailto:r-package-devel@r-project.org> Subject: [R-pkg-devel] 'configure' exists but is not executable 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]] __ R-package-devel@r-project.org<mailto:R-package-devel@r-project.org> mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
[R-pkg-devel] Additional issues: OpenBLAS
Dear package developers, I have an 'additional issue' listed on CRAN for my package mfbvar (https://cran.r-project.org/web/checks/check_results_mfbvar.html). The issue exists for the following configuration: * using R Under development (unstable) (2019-11-19 r77437) * using platform: x86_64-pc-linux-gnu (64-bit) and OpenBLAS. The re-building of the vignette output fails for a function that uses RcppArmadillo. The failure occurs because of a column index being out of bounds, but this is an effect of the problem and not the cause (e.g. due to NAs). I have not experienced this failure on win builder, r-hub or Travis where I have used various versions of R and Windows, Linux, OS X (although not OpenBLAS). I am a little bit at a loss how to handle the situation as I cannot debug, I want to keep the vignette, and I want the package to be retained on CRAN. Any ideas as to how I should go about solving the issue? 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]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel