section-r-packages

Generate end-to-end R package tutorials with runnable examples and YAML frontmatter.

16|4|Updated Jan 11, 2026
One-click install
npx skills add https://github.com/KangWang42/R_note_for_Epidemiology --skill section-r-packages
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: section-r-packages
Source: https://github.com/KangWang42/R_note_for_Epidemiology/tree/main/.opencode/skills/section-r-packages
Command: npx skills add https://github.com/KangWang42/R_note_for_Epidemiology --skill section-r-packages

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps educators and learners generate end-to-end R package tutorials that explain how to locate, install, compare, and use popular packages, with ready-to-run examples and clear explanations.

Core Features & Use Cases

  • Theory + Practice tutorials for packages such as tidyverse, data.table, mlr3, and gtsummary.
  • Structured templates including YAML frontmatter, sections, and runnable code blocks that demonstrate practical workflows.
  • Use Cases: create course materials, reference guides, or reproducible blog tutorials for data-analytic workflows.

Quick Start

Provide a complete R package tutorial by applying the templates and structure described above.

Frequently Asked Questions about section-r-packages

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a comprehensive R package tutorial with runnable examples?▼

To create an R package tutorial, use structured templates featuring YAML frontmatter, logical sections, and reproducible code blocks. This generates ready-to-run workflows that teach users how to install, explore, and apply packages like tidyverse and mlr3 immediately.

What is the best way to compare R packages like tidyverse and data.table for course materials?▼

The best way to compare R packages like tidyverse and data.table is generating end-to-end tutorials that contrast theory with practical, runnable examples. This approach produces educational course materials demonstrating distinct data-analytic workflows side-by-side.

Can I generate reproducible tutorials for machine learning packages like mlr3?▼

Yes, you can generate reproducible tutorials for machine learning packages like mlr3. The templates integrate theory with runnable code blocks, allowing educators and learners to execute practical data-analytic workflows immediately for self-study or coursework.

Does this approach work for building reference guides for gtsummary workflows?▼

This approach works effectively for building reference guides for gtsummary workflows. It generates structured tutorials with YAML frontmatter and ready-to-run code blocks, ensuring users can locate, install, and apply the package for data-analytic tasks.

What should an R tutorial template include to ensure users can execute code immediately?▼

An R tutorial template should include YAML frontmatter, structured sections, and reproducible code blocks to ensure users execute code immediately. This structure provides a clear Quick Start for installing and exploring packages with practical, runnable examples.

When do I need structured templates for teaching R package workflows?▼

You need structured templates for teaching R package workflows when creating course materials, reference guides, or reproducible blog tutorials. These templates ensure end-to-end lessons combining theory and runnable examples are easy to locate, install, and execute.