跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Create R Package

技能 已验证 活跃

Scaffold a new R package with complete structure including DESCRIPTION, NAMESPACE, testthat, roxygen2, renv, Git, GitHub Actions CI, and development configuration files (.Rprofile, .Renviron.example, CLAUDE.md). Follows usethis conventions and tidyverse style. Use when starting a new R package from scratch, converting loose R scripts into a structured package, or setting up a package skeleton for collaborative development.

目的

To streamline the creation of new R packages by providing a robust and opinionated starting structure, ensuring best practices from the outset.

功能

  • Scaffolds R package structure
  • Configures development files (.Rprofile, .Renviron.example)
  • Integrates renv for dependency management
  • Sets up Git repository and GitHub Actions CI
  • Follows usethis conventions and tidyverse style

使用场景

  • Starting a new R package from scratch
  • Converting loose R scripts into a structured package
  • Setting up a package skeleton for collaborative development

非目标

  • Writing package functions
  • Documenting package functions
  • Managing package dependencies beyond initial setup
  • Setting up continuous deployment

安装

/plugin install agent-almanac@pjt222-agent-almanac

质量评分

已验证
98 /100
about 22 hours ago 分析

信任信号

最近提交1 day ago
星标14
许可证MIT
状态
查看源代码

类似扩展

Run Puzzle Tests

100

Run the jigsawR test suite via WSL R execution. Supports full suite, filtered by pattern, or single file. Interprets pass/fail/skip counts and identifies failing tests. Never uses --vanilla flag (renv needs .Rprofile for activation). Use after modifying any R source code, after adding a new puzzle type or feature, before committing changes to verify nothing is broken, or when debugging a specific test failure.

技能
pjt222

Scaffold Shiny App

99

Scaffold a new Shiny application using golem (production R package), rhino (enterprise), or vanilla (quick prototype) structure. Covers framework selection, project initialization, and first module creation. Use when starting a new interactive web application in R, creating a dashboard or data explorer prototype, setting up a production Shiny app as an R package with golem, or bootstrapping an enterprise Shiny project with rhino.

技能
pjt222

Openclaw Debugging

100

Debug OpenClaw model, provider, tool-surface, code-mode, streaming, and live/Crabbox behavior by choosing the right logs, probes, and proof path before changing code.

技能
steipete

Add New Opc Skill

100

Checklist and automation guide for adding a new skill to the OPC Skills project. Ensures all required files, metadata, logos, and listings are created before release. Use when adding a new skill, publishing a skill, or preparing a skill for release.

技能
ReScienceLab

Using Git Worktrees

100

在开始需要与当前工作区隔离的功能性工作,或在执行实现计划之前使用 - 通过原生工具或 git worktree 回退确保存在隔离的工作区。

技能
obra

Baseline Ui

100

在 Tailwind CSS 项目中验证动画持续时间,强制执行排版比例,检查组件可访问性,并防止布局反模式。适用于构建 UI 组件、审查 CSS 工具类、 styling React 视图或强制执行设计一致性。

技能
ibelick