[R] package.skeleton fails
Strunk, Jacob (DNR)
Jacob.Strunk at dnr.wa.gov
Wed Aug 24 21:21:25 CEST 2016
Hello, I have been using package.skeleton from within an lapply statement
successfully (assuming good source code) with the following setup in the
past:
writeLines("testfun=function(){}", "c:\\temp\\testfun.r")
x=try(package.skeleton("test_pack",path="c:\\temp\\tests\\",code_files= "c:\\temp\\testfun.r"))
but it now fails with the error:
Error: evaluation nested too deeply: infinite recursion /
options(expressions=)?
I am working in RStudio Version 0.99.896, with 64 bit R version 3.3.1
(2016-06-21)
I have been poking in the code and the error appears happen within the subfunction '.fixPackageFileNames'
Thanks for any assistance you might be able to provide.
Jacob
[[alternative HTML version deleted]]
More information about the R-help
mailing list