goose_honk: Review and Challenge Current Work

View source: R/goose_essentials.R

goose_honkR Documentation

Review and Challenge Current Work

Description

Analyzes your actual code and data to provide tailored suggestions and challenges. Reads R scripts, RMarkdown files, and available data objects to give specific, contextual feedback rather than generic advice.

Usage

goose_honk(path = ".", focus = NULL, severity = "moderate")

Arguments

path

Path to script, RMarkdown file, or directory (default: current working directory)

focus

Area to focus review on: "statistics", "visualization", "performance", "methodology", NULL for comprehensive

severity

Level of critique:

  • "gentle" = Encouraging feedback with light suggestions

  • "moderate" = Balanced critique with actionable improvements (default)

  • "harsh" = Direct, no-nonsense feedback for maximum improvement

  • "brutal" = Unfiltered critique (use with caution!)

Value

List containing review comments, specific code issues, and tailored suggestions

Examples

## Not run: 
# Review current directory with moderate critique
goose_honk()

# Review specific script with gentle feedback
goose_honk("analysis.R", severity = "gentle")

# Focus on statistics with harsh critique
goose_honk(focus = "statistics", severity = "harsh")

# Get brutal honesty about your visualization code
goose_honk(focus = "visualization", severity = "brutal")

## End(Not run)


gooseR documentation built on Feb. 6, 2026, 5:07 p.m.