(v3.0.1.9099) Move microorganisms_known_defects.csv out of tests/ to data-raw/microorganisms_files/

- the list of known defects is development data and must not ship with the package
- tests read it from the source repository; mo_repository_root() now walks up from the working
  directory, so the tests also find the repository from an R CMD check directory inside it (GitHub Actions)
- the integrity, known-defects and sentinel tests skip when the source repository is not available
- CLAUDE.md: on local commits to main, the git hooks set the version number and date

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dr. M.S. (Matthijs) BerendsandClaude Opus 5.5 committed 2026-10-03 19:34:07 +02:00
1 parent 6ab8ff8c33
commit 1a7f01bfb0
8 files changed
+42 -14

No files matched your search

@@ -214,7 +214,7 @@ code may only get another name (e.g. a corrected spelling) if it is listed in
"Needs a human". The build never removes a released taxon: missing ones are restored, except codes it retires in
`data-raw/microorganisms_files/mo_code_retirements.csv` (other organisms with the same genus name, or a genus that
is now only known in another domain). Every new row in that file needs its own checkbox in the report, and rows
marked `NEEDS REVIEW` also under "Needs a human". After the build, `tests/testthat/microorganisms_known_defects.csv` (the known defects of the
marked `NEEDS REVIEW` also under "Needs a human". After the build, `data-raw/microorganisms_files/microorganisms_known_defects.csv` (the known defects of the
data set before this rebuild) must be emptied: delete the rows that are solved, and the file itself if none
are left. Any remaining row must be explained under "Needs a human".