Skip to content

Common Task Information

Ben edited this page Nov 16, 2019 · 10 revisions

Creating pkgdown docs

pkgdown is an R package which can be used to create documentation web sites for R packages.

usethis::use_pkgdown_travis can help with setup.

CI setup + badges

Good examples of packages which already have this are https://github.com/HenrikBengtsson/future/#software-status https://github.com/tidyverse/tidyr#tidyr-

Also may think about Code_Quality_Badges

Installing R and RStudio

You can get and install R freely from CRAN. RStudio IDE can be downloaded and installed from here: https://rstudio.com/products/rstudio/download/#download

Installing R packages

To install an R package that is available on CRAN, use this command on the R console: install.packages("package_name"). You can find more information here: http://www.sthda.com/english/wiki/installing-and-using-r-packages

Reading and Writing CSV data

You can find help on this at the following links:

https://www.tutorialspoint.com/r/r_csv_files.htm

https://www.cyclismo.org/tutorial/R/input.html#reading-a-csv-file

Clone this wiki locally