On 29/04/2015 3:49 AM, carol white wrote:
> So I finally used
> filenames <- list.files("~/Desktop/myPkg/R/", full.names = TRUE)
> package.skeleton(name = "myPackage", code_files = filenames)
> 
> and still despite the warnings mentioned before, the man and R folders
> seem to have been created correctly. I had put the vignettes folder and
> inst in the source folder (~/Desktop/myPkg) at the same level as R
> folder. inst contains citation. but after invoking package.skeleton,
> nothing happened to copy the vignettes nor inst folders in the myPackage
> folder. Should package.skeleton have taken care of them or I should
> process separately?
> 

It sounds as though myPkg is already a complete package, so you probably
shouldn't be using package.skeleton at all.  It's for starting out, not
for modifying an existing package.

So in answer to your question:  package.skeleton won't do anything with
your inst or vignette directories.  You'll need to copy those into the
new package yourself.

Duncan Murdoch

______________________________________________
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.

Reply via email to