[R-pkg-devel] Warning with R Build tools during CRAN check but not with local installation
James Martindale (Cefas)
j@me@@m@rt|nd@|e @end|ng |rom ce|@@@co@uk
Mon Apr 25 11:36:33 CEST 2022
Good morning,
I am trying to release an `R` package to CRAN that contains some compiled C++ code and Stan models. Since adding a new Stan file to the package, I now get the following issue whenever I run `devtools::check_rhub()` or `devtools::check_win_devel()`:
* checking whether package 'EcoEnsemble' can be installed ... WARNING
Found the following significant warnings:
WARNING: The tools required to build C++ code for R were not found.
This warning does *not* appear when I install the package locally and did not appear in the `r_hub`/`win_devel` checks in a previous version of the package that did not include this additional Stan file. There is nothing unusual about this Stan model that would lead it to cause issues like this.
Searching for this error suggests that this is an issue with the installation of RTools, but since this is not created in the local installation I am very confused. What could be the culprit here / how would I go about debugging this issue?
Many thanks,
James Martindale
________________________________
This email and any attachments are intended for the name...{{dropped:15}}
More information about the R-package-devel
mailing list