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

Check all parameters #101

Open
Neves-P opened this issue Mar 18, 2020 · 0 comments
Open

Check all parameters #101

Neves-P opened this issue Mar 18, 2020 · 0 comments

Comments

@Neves-P
Copy link
Collaborator

Neves-P commented Mar 18, 2020

Quoting @richelbilderbeek #90:

Not all input parameters are checked. For example, for the diversity
dependence model: there is no check if a
valid model is used (e.g. testthat::expect_true(divdepmodel %in% c("IW", "CW", "GW"))).
If the XXX (yes, XXX indeed) diversity dependence model is used, there
is no helpful error message. Add some functions
like assert_div_dep_model/check_div_dep_model to check a
divdepmodel for validity or use get_all_div_dep_models to get all valid
models.

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

1 participant