r-docs-guide
/r-docs-guide
Query R package documentation across all ecosystems at once (CRAN, tidyverse, Bioconductor). Use this skill when: - Looking up R package usage, functions, or vignettes - Comparing packages for the same task (e.g., data.table vs dplyr) - User says "R docs", "how to use this R package", or asks about R functions - Need to find the right R package for a task
- Author
- PsychQuant ↗
- Repository
- psychquant-claude-plugins ↗
- Licence
- MIT
- Last repository change
- 27.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 27
No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Query R package documentation across all ecosystems at once (CRAN, tidyverse, Bioconductor). Use this skill when: - Looking up R package usage, functions, or vignettes - Comparing packages for the same task (e.g., data.table vs dplyr) - User says "R docs", "how to use this R package", or asks about R functions - Need to find the right R package for a task
Triggers from the description
Arguments
/r-docs-guide [package name or topic to look up]
Original author description
Query R package documentation across all ecosystems at once (CRAN, tidyverse, Bioconductor). Use this skill when: - Looking up R package usage, functions, or vignettes - Comparing packages for the same task (e.g., data.table vs dplyr) - User says "R docs", "how to use this R package", or asks about R functions - Need to find the right R package for a task
How it works
- When to Use
- Execution Steps (IMPORTANT!)
- Common CRAN Task Views
- Important Reminders
SKILL.md preview
---
name: r-docs-guide
description: |
Query R package documentation across all ecosystems at once (CRAN, tidyverse, Bioconductor).
Use this skill when:
- Looking up R package usage, functions, or vignettes
- Comparing packages for the same task (e.g., data.table vs dplyr)
- User says "R docs", "how to use this R package", or asks about R functions
- Need to find the right R package for a task
argument-hint: "[package name or topic to look up]"
allowed-tools: WebFetch
---
# R Docs Guide
Query R package documentation directly via WebFetch across multiple sources.
## When to Use
When the user asks about R packages, functions, or needs help with R programming tasks.
## Execution Steps (IMPORTANT!)
**You MUST WebFetch official documentation - never answer from memory!**
### Step 1: Identify the package or topic
The user's query: $ARGUMENTS
### Step 2: Determine the best documentation source
| Source | URL Pattern | Best For |
|--------|------------|----------|
| CRAN Reference | `https://cran.r-project.org/web/packages/{pkg}/index.html` | Package overview, links |
| CRAN Manual (PDF) | `https://cran.r-project.org/web/packages/{pkg}/{pkg}.pdf` | Full function reference |
| Vignettes | `https://cran.r-project.org/web/packages/{pkg}/vignettes/` | Tutorials, guides |
| RDocumentation | `https://www.rdocumentation.org/packages/{pkg}` | Searchable docs |
| tidyverse pkgdown | `https://{pkg}.tidyverse.org/` | tidyverse packages |
| Shiny | `https://shiny.posit.co/r/reference/` | Shiny framework |
| Bioconductor | `https://bioconductor.org/packages/release/bioc/html/{pkg}.html` | Bioinformatics |
| R Documentation | `https://stat.ethz.ch/R-manual/R-devel/library/{pkg}/html/00Index.html` | Base R packages |
| CRAN Task Views | `https://cran.r-project.org/web/views/{topic}.html` | Find packages by domain |
| rdrr.io | `https://rdrr.io/cran/{pkg}/` | Quick function lookup |
### Step 3: WebFetch the documentation
For a **specific package**, fetch in parallel:
1. CRAN page: `https://cran.r-project.org/web/packages/{pkg}/index.html`
2. RDocumentation: `https://www.rdocumentation.org/packages/{pkg}`
3. If tidyverse: `https://{pkg}.tidyverse.org/reference/index.html`
For a **topic/task** (e.g., "how to do time series in R"):
1. CRAN Task View: `https://cran.r-project.org/web/views/{relevant-view}.html`
2. RDocumentation search: `https://www.rdocumentation.org/search?q={query}`
For a **specific function**:
1. `https://www.rdocumentation.org/packages/{pkg}/topics/{function}`
2. Or `https://rdrr.io/cran/{pkg}/man/{function}.html`
### Step 4: Present findings
```
## {Package Name}
**Version:** x.y.z | **CRAN:** [link] | **Docs:** [link]
### Description
[What the package does]
### Key Functions
| Function | Description |
|----------|-------------|
| `func()` | ... |
### Installation
```r
install.packages("{pkg}")
```
### Quick Example
```r
library({pkg})
# example code
```
### Related Packages
- [alternatives or companions]
```
## Common CRAN Task Views
| Domain | Task View URL |
|--------|--------------|
| Time Series | `https://cran.r-project.org/web/views/TimeSeries.html` |
| Machine Learning | `https://cran.r-project.org/web/views/MachineLearning.html` |
| Bayesian | `https://cran.r-project.org/web/views/Bayesian.html` |
| Spatial | `https://cran.r-project.org/web/views/Spatial.html` |
| Finance | `https://cran.r-project.org/web/views/Finance.html` |
| Clinical Trials | `https://cran.r-project.org/web/views/ClinicalTrials.html` |
| Psychometrics | `https://cran.r-project.org/web/views/Psychometrics.html` |
| Survival | `https://cran.r-project.org/web/views/Survival.html` |
| Web Technologies | `https://cran.r-project.org/web/views/WebTechnologies.html` |
| Reproducible Research | `https://cran.r-project.org/web/views/ReproducibleResearch.html` |
## Important Reminders
- **Always WebFetch** - never answer R package questions from memory
- **Check version** - R packages update frequently, always get current docs
- **Vignettes first** - vignettes are often more useful than function reference
- If a package is not on CRAN, check Bioconductor or GitHub
Versions
The database has no other skills named r-docs-guide.
Database snapshot: 13.11.2026 · package version d6194e982bfd (SHA-256 digest of the entire package)
Downloads in the last 30 days: 2 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100cran-guide
Search and discover R packages on CRAN by topic or task. Use this skill when: - User needs to find R packages for a specific task - Looking up CRAN Task Views for a domain - Checking package dependencies or reverse dependencies - Comparing packages for the same purpose - User… - 100r-package-check
运行完整的 R 包发布检查:重新生成文档、运行测试套件和 R CMD check --as-cran,并在发布或投稿前依据 CRAN 政策逐条处理 ERROR / WARNING / NOTE。用户说 "check my R package"、"R CMD check"、"is this package CRAN-ready"、"run devtools::check"、"prepare for CRAN submission"、"检查 R 包"、"准备提交 CRAN" 时,或指向含 DESCRIPTION 文件的目录时使用。检查报告和 CRAN… - 100r-cran-extrachecks
Prepare R packages for CRAN submission by checking for common ad-hoc requirements not caught by devtools::check(). Use when: (1) Preparing a package for first CRAN release, (2) Preparing a package update for CRAN resubmission, (3) Reviewing a package to ensure CRAN compliance,… - 100r-package-check
Run the full R package release gate — regenerate docs, run the test suite, run R CMD check --as-cran, and triage every ERROR / WARNING / NOTE against CRAN policy before a release or submission. Use when the user says "check my R package", "R CMD check", "is this package… - 100tidyverse-guide
Query tidyverse package documentation (dplyr, ggplot2, tidyr, purrr, readr, stringr, forcats, tibble, lubridate). Use this skill proactively when the conversation involves: - tidyverse packages or pipe workflows (%>%, |>) - dplyr verbs (filter, mutate, summarise, group_by, join)… - 100cran-safe-release
Defensive engineering checklist for building and releasing R packages that stay on CRAN — especially packages that access internet resources (databases, APIs, hosted datasets), which historically get archived when flaky network fails R CMD check. Use when preparing a CRAN…