We welcome your contributions!
Please open an issue for any larger change (new exercise for instance).
Contributing a new exercise
-
- Follow the pattern of existing exercises (e.g.
exo_revert_file()) - Use
@inheritParams exo_one_small_changefor theparent_pathparameter - Use
@gitto list related git commands (these generate doc links) - Use
@export - Wrap user-facing strings in
tr_()for translation support
- Follow the pattern of existing exercises (e.g.
-
- Run
potools::po_extract()to update the.potfile with newtr_()strings - Run
potools::po_update()to sync.pofiles with the updated.pot - Run
potools::po_compile(). - Update
po/R-fr.poandpo/R-es.powith translations for new strings
- Run
-
- Snapshot
gert::git_log(repo = path)[["commit"]] - Test any other relevant repo state (tags, branches, etc.)
- Snapshot
