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]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.