Just updated to R4.04 and Stanhearders 2.21.0-7 and I am getting these compile errors
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 1.1k
- Forks
- 266
- Avg merge
- 2h 56m
- Merged PRs (30d)
- 1
Description
Error in compileCode(f, code, language = language, verbose = verbose) :
from file6b81f084782.cpp:14:C:/Users/johnson.rd.1/R/R-4.0.4/library/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp: At global scope:C:/Users/johnson.rd.1/R/R-4.0.4/library/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp:14:13: warning: 'void stan::math::set_zero_all_adjoints()' defined but not used [-Wunused-function] static void set_zero_all_adjoints() { ^~~~~~~~~~~~~~~~~~~~~make: *** [C:/Users/JOHNSO1.1/R/R-401.4/etc/x64/Makeconf:229: file6b81f084782.o] Error 1
In addition: Warning message:
In system(paste(CXX, ARGS), ignore.stdout = TRUE, ignore.stderr = TRUE) :
'-E' not found
Error in sink(type = "output") : invalid connection
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 by reproducing the compile failure with R 4.0.4 and StanHeaders 2.21.0-7 on the reported Windows setup. Inspect the StanHeaders set_zero_all_adjoints.hpp diagnostic, the generated file6b81f084782.cpp reference, and R's etc/x64/Makeconf:229; done means the reported compilation and subsequent sink error no longer occur.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, r
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100