Rstan-based package github action - ERROR: 'configure' exists but is not executable

Here is a git solution (assuming you are in the package directory):

git update-index --chmod=+x configure
git update-index --chmod=+x configure.win
git commit -a
... <add commit message>
git push
1 Like

coming back here, as I hit this ERROR when working on adding stan in R to an existing package via rstantools::use_rstan() – working on a Windows machine.

following all instructions in the dev notes vignette and step-by-step for rstantools (Articles • rstantools), everything worked fine locally but then pushing to github and triggering actions caused the error.
wanting to follow the explicit text in the configuration files that says to not edit by hand, I have taken the “adding permissions externally” approach, which is working cross-platform