Installs the r-code skill template into the project and, if
R/aaa-conditions.R does not already exist, creates a starter version
from a built-in template.
Usage
use_skill_r_code(
target_dir = ".github",
use_skills_subdir = TRUE,
overwrite = FALSE,
open = rlang::is_interactive()
)Arguments
- target_dir
(
character(1)) Directory where the skill will be installed, relative to the project root. Defaults to".github".- use_skills_subdir
(
logical(1)) Whether to place the skill folder under askillssubdirectory oftarget_dir. Defaults toTRUE, producing.github/skills/{skill}/SKILL.md.- overwrite
(
logical(1)) Whether to overwrite an existing file. Defaults toFALSE.- open
(
logical(1)) Whether to open the file after creation.
