Stanheaders fails to install from source - looking for old cvodes folder
Open
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 1.1k
- Forks
- 266
- Avg merge
- 2h 56m
- Merged PRs (30d)
- 1
Description
Summary:
The install_StanHeaders.R script fails because the cleanup script is attempting to find the folder inst/include/mathlib/lib/cvodes_2.9.0 when the folder is now inst/include/mathlib/lib/cvodes_3.1.0
Current Output:
Installing StanHeaders
'/usr/lib/R/bin/R' --no-site-file --no-environ --no-save --no-restore --quiet CMD \
INSTALL '/tmp/RtmpEJQQf0/git2r-273912a3c235/StanHeaders' \
--library='/home/andrew/R/x86_64-pc-linux-gnu-library/3.4' --install-tests \
--preclean
* installing *source* package ‘StanHeaders’ ...
cp: cannot stat 'inst/include/mathlib/lib/cvodes_2.9.0': No such file or directory
mv: cannot stat 'inst/include/mathlib/lib/cvodes_2.9.0/include/*': No such file or directory
** libs
make: *** No rule to make target 'cvodes/src/cvodes/cvodes.o', needed by 'static'. Stop.
ERROR: compilation failed for package ‘StanHeaders’
* removing ‘/home/andrew/R/x86_64-pc-linux-gnu-library/3.4/StanHeaders’
Error: Command failed (1)
RStan Version:
Latest version from git
R Version:
3.4.3
Operating System:
Ubuntu 17.10
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with install_StanHeaders.R and the cleanup step that references cvodes_2.9.0. Check how the package now provides cvodes_3.1.0, update the stale reference, and run the source installation to confirm the cleanup and compilation complete successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100