SBOHVM / RPiR

The Reproducible Programming in R course, developed by the School of Biodiversity, One Health and Veterinary Medicine at the University of Glasgow.
https://sbohvm.github.io/RPiR/
GNU General Public License v3.0
12 stars 2 forks source link

Improve documentation for `assert_no_globals()` #352

Closed soniamitchell closed 2 years ago

soniamitchell commented 3 years ago

Students have used RPiR::assert_no_globals(timestep_stochastic_birth_death()), which causes an error when trying to install the package:

Error in timestep_stochastic_birth_death() : 
  argument "birth.rate" is missing, with no default
Error: unable to load R code in package ‘usernameSeries03’
Execution halted
soniamitchell commented 2 years ago

added an example to the documentation