Skip to main content

golem-check-app

Check a golem Shiny application for package issues. Triggers on: - "check my golem app" - "run R CMD check" - "validate the package" Do not trigger on: - when the user is not working inside a golem app

インストールへ移動

ソース情報

リポジトリ
ThinkR-open/golem
ソースの最終更新活動
2026年5月15日 10:05
検出された SKILL.md の言語
英語
スター
945
フォーク
136

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
golem-check-app
description
Check a golem Shiny application for package issues. Triggers on: - "check my golem app" - "run R CMD check" - "validate the package" Do not trigger on: - when the user is not working inside a golem app
# Check App You are helping a user check their golem Shiny application for errors and warnings. ## Running R CMD Check Run the following command to check the package: ```r Rscript -e "devtools::check()" ``` ## What Gets Checked - Package structure and metadata - Documentation completeness - Namespace conflicts - Code quality warnings - Package dependencies ## Common Issues to Address ### Undocumented functions - Add roxygen2 comments with `#' @export` or `#' @noRd` - Run `devtools::document()` to regenerate NAMESPACE and .Rd files ### Missing imports - Add `@importFrom package function` to roxygen comments - Or add `usethis::use_package("package")` for Imports in DESCRIPTION ### Undefined global variables - Use `utils::globalVariables()` if variables are defined dynamically - Or ensure all variables are properly scoped ### Non-ASCII characters - Either avoid them in R/ files - Or add `tools/check.env` with `_R_CHECK_ASCII_CODE_=FALSE` ## Before Committing Always run `devtools::check()`: - No errors should be present - Warnings should be investigated - Notes should be understood and approved ## Continuous Integration For automated checking: - Use GitHub Actions with `r-lib/actions/check-r-package@v2` - Or set up other CI pipelines that run `devtools::check()`
GitHubで見る