This is the repository for the R package BeginR. This R package is primarily aimed at the students of an introductory course about R I am giving in Berlin.
Mind that this package has nothing to do with the package called beginr that is available on CRAN (I may change the name of the package in the future to avoid the confusion).
- install the R package
drat
(only if you don't have it):
install.packages("drat")
- install the R package BeginR:
drat::addRepo("courtiol")
install.packages("BeginR")
To load the package and access to the vignettes:
library("BeginR")
browseVignettes(package = "BeginR") ## access vignettes as pdf
- edit the *.Rnw files directly in sources_vignettes
- knit the *.Rnw (that should creates a pdf in the same folder)
- open a terminal at the root of the package
- run
make build
to create the *.tar.gz andmake install
to install
Optional:
- run
make clean
to clean-up - run
make check
to check the package properly - run
make drat
to upload to the drat GitHub page