descriptionDistribute R package with nested subfolders in R/
last changeTue, 23 Jan 2018 00:53:07 +0000 (01:53 +0100)

pkgdev: help to develop R packages

NOTE: (mostly) superseded by devtools

However it was interesting to develop, and could still be used.

Basic usage

#Install and load library
R CMD INSTALL path/to/pkgdev/folder
library(pkgdev) #inside R

#load some package (with its datasets)
pkgpath = "path/to/some/package"
pkgdev.load(pkgpath) #this command also reload package

#test it (if unit tests defined under tests/ subfolders)
pkgdev.rtest(pkgpath) ; pkgdev.ctest(pkgpath)

#you can also run its functions
foo(...) ; bar(...)

#...and so on

#finally, unload package

Try also pkgTest/ testing package.

Warning: old R package format - might require adjustments.

2018-01-23 Benjamin AuderAdd some warnings in README master
2016-07-22 Benjamin Auderfix typo in readme
2016-07-22 Benjamin
2015-02-13 Benjamin AuderFix email in DESCRIPTION
2015-02-13 Benjamin AuderFix DESCRIPTION
2015-02-13 Benjamin Audersmall addition to README
2015-02-05 Benjamin AuderREADME.html
2015-02-01 Benjamin Auderfix typo in setup.R
2015-02-01 Benjamin Auderadd tests to sample package; fix load/unload behavior
2015-02-01 Benjamin Auderupdate
2015-01-31 Benjamin Auderfirst commit
2014-05-21 Benjamin Auderinitial commit
2 years ago master