Package containing scripts and other information for the “Advanced R Scripring” class
Valid Datacamp class link
Create an R package containing the following:
- ability to work with *.nc files
- valid description file
- readme file with basic package info
- all functions (and data) should be documented
- all functions should have valid tests
- all functions should have correct error handling
- correctly established methods for generic functions
- package should pass basic check with no errors, no warnings and no notes
Data
- data vailable here.
What should the package do:
- package should be able to import *.nc files and calculate multiple IDF models
- areas for IDF estimation can be chosen randomly (random cell numbers) or can be selected using a polygon (*.shp file)
- result should be both graphical and numerical representation of the IDF model
Submit (send to my email) only a link to your github repo.
Package should be available on you github pages and containig the following guide for package instalation:
You can install the development version of advRpckg from GitHub with:
# install.packages("devtools")
devtools::install_github(repo = "strnda/advRpckg")
library(advRpckg)
hello()
#> hello
#> 1 Hello, world!
plot(hello())