Skip to content
Prev 201525 / 398506 Next

problem in building an R package

i am trying to build an R package and submit to CRAN.
i am using -
package.skeleton(name="xxzz", code_files = "H:\xxzz.R")
to build package xxzz.
---------------------------
The code above generates 'xxzz' folder.
It seems that I have to manually edit the files generated in xxzz folder (to
add titles, authors, etc)
--------------------------

But when I re-run -
package.skeleton(name="xxzz", code_files = "H:\xxzz.R")

All the edited information will be lost since the default files are 
regenerated such as DESCRIPTION file.

---------------------------

I have found the process of building package is extremely troublesome.

Have anybody had a better approach?

Thanks.