moj-analytical-services / rpackage_training

Making and developing R packages
11 stars 1 forks source link

Adapt slightly to reflect that it may be someone else who makes a change to your package. #15

Closed aidanmews closed 3 years ago

aidanmews commented 3 years ago

Adapt slightly to reflect that it may be someone else who makes a change to your package.

Any time you or someone else makes a change to code in your package, this should be accompanied by testing to check that the revised function works as it should and the output is as expected. Such testing is best automated as manual testing is laborious, boring and time-consuming. Moreover, automated testing provides package users with more assurance and assists anyone who makes changes to the code to identify any shortcomings and rectify these. 

_Originally posted by @aidanmews in https://github.com/moj-analytical-services/rpackage_training/pull/12#discussion_r675372489_