I'm working thorough Hadley's package book (using Rstudio 1.1.383) and cannot build a simple package - just the default template of a new package created via the wizard.
Both devtools::build()
or using the menu to "Build Source Package" both result in the error:
Error in process_initialize(self, private, command, args, stdout, stderr, :
object 'c_callr_exec' not found
Installing seems to work fine i.e. the function hello()
works. Am I missing something obvious?
> sessionInfo()
R version 3.4.4 (2018-03-15)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] test_0.1.0
loaded via a namespace (and not attached):
[1] rprojroot_1.3-2 digest_0.6.15 crayon_1.3.4 withr_2.1.2 assertthat_0.2.0
[6] R6_2.2.2 backports_1.1.0 magrittr_1.5 rlang_0.1.6.9003 debugme_1.1.0
[11] cli_1.0.0 rstudioapi_0.7 testthat_2.0.0 callr_2.0.2.9001 desc_1.1.1
[16] devtools_1.13.5.9000 tools_3.4.4 pkgload_1.0.0 yaml_2.1.14 compiler_3.4.4
[21] pkgbuild_1.0.0 memoise_1.1.0 usethis_1.3.0