package.skeleton {base} | R Documentation |
package.skeleton
automates some of the setup for a new
package. It creates directories, saves functions and data to appropriate
places, and creates skeleton help files and README
files
describing further steps in packaging.
package.skeleton(name="anRpackage", list, environment=.GlobalEnv,
path=".", force=FALSE)
name |
directory name for your package |
list |
vector of names of R objects to put in the package |
environment |
if |
path |
path to put the package directories in |
force |
If |
used for its side-effects.
Read the "Writing R Extensions" manual for more details
install.packages
## Not run:
f<-function(x,y) x+y
g<-function(x,y) x-y
d<-data.frame(a=1,b=2)
e<-rnorm(1000)
package.skeleton(list=c("f","g","d","e"),name="AnExample")
## End(Not run)