devtools::check() Warning in system(cmd) : 'make' not found but I have RTools installed.

I am trying to test some updates to a package (glue). I have Rtools installed, but when I run devtools::check() I get this error:

Warning in system(cmd) : 'make' not found

I have checked the logs and haven't found anything. It has also been fine previously on the same computer. The same changes also run on a different computer (Ubuntu) so I don't think it is the code that is the issue.Any ideas?

> pkgbuild::find_rtools()
[1] TRUE

> sessionInfo()
R version 4.0.1 (2020-06-06)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19043)

Matrix products: default

locale:
[1] LC_COLLATE=English_Australia.1252  LC_CTYPE=English_Australia.1252    LC_MONETARY=English_Australia.1252 LC_NUMERIC=C                      
[5] LC_TIME=English_Australia.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] glue_1.4.1.9000

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.7        rstudioapi_0.13   xml2_1.3.2        knitr_1.33        magrittr_2.0.1    roxygen2_7.1.1    rcmdcheck_1.3.3   usethis_2.0.1    
 [9] devtools_2.3.1    pkgload_1.2.0     R6_2.5.1          rlang_0.4.10      fastmap_1.1.0     stringr_1.4.0     tools_4.0.1       pkgbuild_1.2.0   
[17] xopen_1.0.0       xfun_0.25         sessioninfo_1.1.1 cli_3.0.1         withr_2.4.1       commonmark_1.7    ellipsis_0.3.2    remotes_2.3.0    
[25] digest_0.6.25     rprojroot_2.0.2   lifecycle_1.0.0   crayon_1.4.1      processx_3.5.1    purrr_0.3.4       callr_3.6.0       fs_1.5.0         
[33] ps_1.6.0          testthat_3.0.2    memoise_2.0.0     cachem_1.0.4      stringi_1.7.3     compiler_4.0.1    desc_1.3.0        prettyunits_1.1.1

This topic was automatically closed after 45 days. New replies are no longer allowed.


If you have a query related to it or one of the replies, start a new topic and refer back with a link.