Config and agent/rules files for R package development, located in package/.
- .editorconfig – Basic editor config. We also have autoformatters and IDE-specific settings that match.
- .gitignore – Gitignore rules for R packages.
- .Rbuildignore – Files excluded from the R package tarball.
- .lintr – Linting configuration for R code.
- air.toml – Configuration for the air R formatter.
- cspell.json – Spell-checking configuration.
- .cspell/project-words.txt – Project-specific dictionary for cspell.
- .clang-format – Clang-format configuration (for packages with C/C++ code).
- .Rprofile – Setup for a standard R console. Not shipped in project dirs, as people have different preferences (some of us use "radian"). Best use: copy or symlink to your HOME directory.
- .vscode/settings.json – VS Code workspace settings.
- .vscode/tasks.json – VS Code build tasks (for packages with C/C++ code).
- AGENTS.md – Development guidelines for AI coding agents (key commands, coding standards, testing, documentation, NEWS.md, writing). Symlinked as
CLAUDE.md. - extra-rules/mlr3.md – Additional rules specific to the mlr3 ecosystem.
- Package installations and updates – Use pak. The
.Rprofileabove also has a small helper to install binaries from Posit.
To apply the package config files to a new or existing R package, use the /r-package-setup skill in Claude Code.
It copies the relevant files from package/ into the target directory, creates the CLAUDE.md symlink, and optionally includes mlr3-specific rules and C/C++ tooling.
- r-cmd-check – Runs R CMD check via the
rcmdcheckpackage on the latest and devel R version. Workflow by r-lib/actions. - dev-cmd-check – Checks a package against the dev version of one of its dependencies.
For example, the
mlr3repository uses this workflow to check whethermlr3works with the dev version ofmlr3misc. - revdep-check – Checks the reverse dependencies of a package against its own dev version.
For example, the
mlr3miscrepository uses this workflow to check whethermlr3still works with the dev version ofmlr3misc. - pkgdown – Builds a
pkgdownsite and pushes it to gh pages. Workflow by r-lib/actions. - no-suggest-cmd-check – Runs R CMD check via the
rcmdcheckpackage on the latest and devel R version without suggested packages. Workflow by r-lib/actions. - quarto-netlify-preview – Deploys previews of rendered quarto sites to Netlify.
When triggering the workflows manually, the "tmate debugging" flag can be checked which will allow you to directly interact with the host system on which the actual scripts (actions) will run.
To continue the action, run touch continue.
A more detailed description of this workflow can be found here.
Tmate can also be used to debug problems on other machines than ones own, for more information see this article.
Claude Code skills for working with mlr3 packages.
- authoring – Guides Quarto document authoring and R Markdown migration to Quarto.
- cran-extrachecks – Checks for common CRAN requirements not caught by
devtools::check(). - critical-code-reviewer – Conducts rigorous code reviews identifying security holes, lazy patterns, and bad practices.
- describe-design – Researches a codebase and creates architectural documentation with Mermaid diagrams.
- mlr3book-maintainer – Diagnoses and fixes CI failures in the mlr3book's weekly build.
- mlr3book-reviewer – Reviews mlr3book chapters for compliance with the style guide and chapter structure.
- mlr3ecosystem-release – Prepares CRAN releases of packages in the mlr3 ecosystem.
- mlr3gallery-maintainer – Maintains the mlr3 gallery.
- mlr3gallery-reviewer – Reviews gallery posts on mlr-org.com for compliance with the style guide.
- name-chunk – Names unnamed R code chunks in
.qmdfiles using the[file-name]-[number]pattern. - pr-create – Creates a pull request, monitors GitHub CI, and debugs failures until CI passes.
- r-package-setup – Copies the shared config files from
package/into a target R package.
Skills from posit-dev. See this help page for more information on how to use skills in Claude.