You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
On Thu, Jul 21, 2022 at 1:42 AM Tom Hardwicke ***@***.***> wrote:
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?
—
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAI25FZTKE63W2QSD7QB7CDVVEEQVANCNFSM5DY5474A>
.
You are receiving this because you commented.Message ID:
***@***.***>
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.validate
, but they can get quite complex quite quickly and are potentially beyond our scope, or better addressed in an appendix.The text was updated successfully, but these errors were encountered: