inst/builtin-templates/bslib-bare/agents/skills/greet/scripts/greet.R

#!/usr/bin/env Rscript
# greet.R — Simple greeting script for the demo skill
#
# Usage: Rscript greet.R [name]
# Output: Hello, <name>!

args <- commandArgs(trailingOnly = TRUE)
name <- if (length(args) >= 1L) args[[1L]] else "World"

cat(sprintf("Hello, %s!\n", name))

Try the shidashi package in your browser

Any scripts or data that you put into this service are public.

shidashi documentation built on April 10, 2026, 5:07 p.m.