phuse-org / valtools

Validation framework for R packages used in clinical research and drug development.
https://phuse-org.github.io/valtools/
Other
51 stars 10 forks source link

Maintaining @editDate #216

Open wlandau opened 2 years ago

wlandau commented 2 years ago

@editDate is an interesting idea, but it seems like the sort of thing I would forget to update over the life cycle of a package. Are there any guardrails in place, e.g. Git hooks, to make sure @editDate gets updated when a change is made?

thebioengineer commented 2 years ago

None at the moment, I had not found this to be too much of a pain since we enforced it as part of CR. It could be compared to the standard practice of updating the header in a file whenever changes are made.

That being said, a git hook would not be a bad idea. It was also suggested to use git blame - which is totally an option if you have your package under version control. Or you could use git blame