1 <h1>pkgdev: help to develop R packages
</h1>
5 <pre><code> #Install and load library
6 R CMD INSTALL path/to/pkgdev/folder
7 library(pkgdev) #inside R
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 <p>Try also pkgTest/ testing package.
</p>