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

Data validation and other tests #14

Open
TomHardwicke opened this issue Sep 10, 2021 · 3 comments
Open

Data validation and other tests #14

TomHardwicke opened this issue Sep 10, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@TomHardwicke
Copy link
Collaborator

TomHardwicke commented Sep 10, 2021

A reviewer suggests we include some advice on data validation. I can add something on this, but my current practice is pretty unsophisticated - I just sprinkle my code with a few stopifnot() statements whenever it occurs to me.

  • Does anyone have a more sophisticated workflow? I've tried a few packages like validate, but they can get quite complex quite quickly and are potentially beyond our scope, or better addressed in an appendix.
  • Should we treat data validation and more general testing ('defensive coding') as separate topics? We could have an appendix on testing that includes both and refer to that from both the data management and reproducible writing chapters?
@mcfrank
Copy link
Member

mcfrank commented Jul 20, 2022

@TomHardwicke what are your thoughts on this now? Should we add a note to the project management chapter? I don't think we need a full appendix.

@TomHardwicke
Copy link
Collaborator Author

Yes, something on data validation could fit quite well into the project management chapter. I very briefly mention defensive programming in the writing chapter but without any detail on how to do it practically - is it worth adding a few lines on how to do use code tests in the R Markdown appendix?

@mcfrank
Copy link
Member

mcfrank commented Oct 11, 2022 via email

@mcfrank mcfrank added the enhancement New feature or request label Jun 19, 2023
@mcfrank mcfrank added this to the press submission milestone Dec 18, 2023
@mikabr mikabr removed this from the press submission milestone Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants