Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing #3

Open
RobertASmith opened this issue Apr 9, 2021 · 1 comment
Open

Testing #3

RobertASmith opened this issue Apr 9, 2021 · 1 comment

Comments

@RobertASmith
Copy link

Completely agree

  • all code should be tested using testthat, when being reviewed by an ERG or other body.
  • Your suggestions are good but I would add some simple unit tests which run a deterministic model with pessimistic/optimistic assumptions around each parameter and ensure that the results change in the correct direction.
@giabaio
Copy link

giabaio commented Apr 9, 2021

Again --- all good points. But to allow ERGs to test packages, we'd need to work to make the standard recognised (and possibly allow modellers to have templates and helpers to do so!)...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants