1 # pkgdev: help to develop R packages
5 #Install and load library
6 R CMD INSTALL path/to/pkgdev/folder
7 library(pkgdev) #inside R
9 #load some package (with its datasets)
10 pkgpath = "path/to/some/package"
11 pkgdev.load(pkgpath) #this command also reload package
13 #test it (if unit tests defined under tests/ subfolders)
14 pkgdev.rtest(pkgpath) ; pkgdev.ctest(pkgpath)
16 #you can also run its functions
21 #finally, unload package
22 pkgdev.unload(pkgpath)</code></pre>
24 Try also pkgTest/ testing package.