Closed andrie closed 4 years ago
If the correct version of make is not on the path, package compilation can lead to errors like this:
make
ERROR: compilation failed for package '....' * removing 'C:/R/R-devel/library/....'
This is because the correct version of rtools is not on the path. To fix this, you should add the following line to your .Renviron file:
.Renviron
PATH = "${RTOOLS40_HOME}\usr\bin;${PATH}"
Fixed in the readme: https://github.com/r-windows/docs
If the correct version of
make
is not on the path, package compilation can lead to errors like this:This is because the correct version of rtools is not on the path. To fix this, you should add the following line to your
.Renviron
file: