Some of Wiki Pages:
- The main reference http://r-pkgs.had.co.nz/
Find & Replace across multiple files via link
find . -name "*.php" -print | xargs sed -i 's/foo/bar/g'
Recursively remove all .svn directories via link
find . -name .svn -exec rm -rf {} \;
Check R package
R CMD build src/
R CMD check --as-cran chemosensors_0.7.4.tar.gz
Fix Latex errors
! LaTeX Error: File 'inconsolata.sty' not found.
sudo apt-get install texlive-fonts-extra
Development
- http://stackoverflow.com/questions/4396768/how-to-properly-document-s4-and-methods-using-roxygen
- http://stackoverflow.com/questions/7356120/how-to-properly-document-s4-methods-using-roxygen2?lq=1
- http://stackoverflow.com/questions/7368262/how-to-properly-document-s4-class-slots-using-roxygen2
- https://github.com/hadley/devtools/wiki/Documenting-functions
- https://github.com/joey711/testpkg
- http://stackoverflow.com/questions/12476291/documenting-s4-methods-with-roxygen2-clearly-distinguishing-methods-in-help-fil?lq=1
- https://github.com/hadley/roxygen3
Namespaces
- http://stackoverflow.com/questions/8637993/better-explanation-of-when-to-use-imports-depends
- http://adv-r.had.co.nz/Namespaces.html
Submission to CRAN
- http://cran.r-project.org/web/packages/policies.html
- http://f.briatte.org/r/submitting-packages-to-cran
Documentation