Skip to contents

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_change for the parent_path parameter
    • Use @git to list related git commands (these generate doc links)
    • Use @export
    • Wrap user-facing strings in tr_() for translation support
    • Run potools::po_extract() to update the .pot file with new tr_() strings
    • Run potools::po_update() to sync .po files with the updated .pot
    • Run potools::po_compile().
    • Update po/R-fr.po and po/R-es.po with translations for new strings
    • Snapshot gert::git_log(repo = path)[["commit"]]
    • Test any other relevant repo state (tags, branches, etc.)