moai-lang-r

Build R 4.4+ data workflows with tidyverse, Shiny, and testthat.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/Jongsix/remote-claudecode --skill moai-lang-r-jongsix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-lang-r
Source: https://github.com/Jongsix/remote-claudecode/tree/main/.claude/skills/moai-lang-r
Command: npx skills add https://github.com/Jongsix/remote-claudecode --skill moai-lang-r-jongsix

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps R developers move from ad hoc analysis to reliable, production-ready data workflows with modern tidyverse patterns, Shiny reactivity, and reproducible reporting.

Core Features & Use Cases

  • Data Wrangling: Clean, reshape, and summarize data with dplyr, tidyr, purrr, stringr, and forcats.
  • Visualization: Build publication-ready charts with ggplot2, patchwork, and custom themes or scales.
  • Shiny Development: Design reactive apps, modules, caching, and async patterns for interactive data products.
  • Testing and Packaging: Support testthat, renv, package structure, documentation, and deployment workflows.
  • Use Case: A data scientist can analyze sales data, generate a dashboard, and package the workflow for reproducible collaboration.

Quick Start

Ask the assistant to create an R 4.4+ tidyverse pipeline with a Shiny dashboard, a ggplot2 visualization, and testthat coverage for the core analysis.

Frequently Asked Questions about moai-lang-r

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

FAQPage Schema
How do I build a reactive Shiny dashboard with tidyverse data pipelines in R?

Build reactive Shiny dashboards by constructing tidyverse data pipelines with dplyr and tidyr, then connecting them to Shiny reactive inputs and outputs. This Skill scaffolds the reactivity logic, caching, and async patterns for interactive data products.

What's the best way to create publication-ready ggplot2 visualizations with custom themes?

Create publication-ready ggplot2 visualizations by applying custom themes, scales, and patchwork layouts. This Skill provides conventions for layering geoms, adjusting aesthetics, and assembling multi-panel figures to meet reproducible reporting standards.

Do I need renv and testthat to package an R analysis for reproducible collaboration?

Yes, renv and testthat are required to package R analysis for reproducible collaboration. renv manages project-specific library dependencies, while testthat validates core analysis logic through automated testing workflows.

Can I use dbplyr for database queries within a Shiny app?

You can use dbplyr to translate dplyr pipelines into database queries within Shiny applications. This Skill covers integrating dbplyr patterns for remote data sources alongside local tidyverse data wrangling and reactive UI components.

How does Shiny reactivity work when summarizing data with dplyr and purrr?

Shiny reactivity works by binding dplyr and purrr data summarization pipelines to reactive inputs, automatically recomputing when values change. This Skill structures the reactive graph, caching, and async patterns to handle data workflows efficiently.

What are the limitations of using Shiny async patterns for interactive data products?

Shiny async patterns prevent blocking during long computations but require careful reactive graph management to avoid race conditions. This Skill provides structured approaches for async caching and module isolation to maintain reliable reactivity.