I want to create an R package and downloaded Rtools and packages c("devtools", "roxygen2", "testthat", "knitr")
. Now I check if everything is alright:
library(devtools)
has_devel()
and it's not, I get the error:
"C:/Users/xxx/DOCUME~1/R/R-33~1.1/bin/x64/R" --no-site-file --no-environ --no-save --no-restore \
--quiet CMD SHLIB foo.c
Warning message:
running command 'make -f "C:/Users/XYZ/DOCUME~1/R/R-33~1.1/etc/x64/Makeconf" -f "C:/Users/XYZ/DOCUME~1/R/R-33~1.1/share/make/winshlib.mk" SHLIB="foo.dll" WIN=64 TCLBIN=64 OBJECTS="foo.o"' had status 127
Error: Command failed (1)
I use Windows and the freshest RStudio.
Do you know what it means or how to repair it?