R Cran Status 标志

R Cran Status

组织
posit-dev
r-cran-status

查询 R 软件包在 cran.r-project.org 上的实时状态,包括提交/审核状态(队列、人工审核、等待中、已归档、旧版本的后续情况)或 R CMD check 结果(各平台上的 OK/NOTE/WARN/ERROR)。适用于查询“X 在 CRAN 上的状态如何”“X 是否已获接受/被拒绝”“X 是否通过 CRAN 检查”或“Y 版本何时归档”。

Add to TypingMind

概览

发布者posit-dev
代码仓库skills
技能名称r-cran-status
星标数
516
复刻数
53
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 posit-dev 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 R Cran Status AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/posit-dev/skills/tree/main/r-lib/r-cran-status
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/posit-dev/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/r-lib/r-cran-status .claude/skills/r-cran-status
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 R Cran Status,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 R Cran Status。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 R Cran Status 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

CRAN Package Status

Check a package's submission/review state, a specific historical version's fate (e.g. {package} {version}, as in btw v1.4.0), or its current R CMD check results across CRAN's test platforms.

"CRAN status" is ambiguous between two questions:

  • Submission status: is/was this package (or version) in review, published, archived, or rejected? See "Submission Status".
  • Check results: is the published version passing R CMD check on all platforms, or does it have WARN/ERROR/NOTE flags risking removal? See "Check Results".

CRAN's servers are a shared, unpaid resource. Never issue requests in parallel or in a tight loop — pause briefly (e.g. sleep 1) between requests, stop looping as soon as a match is found, and avoid re-fetching a page you've already checked in this session.

Workflow

  1. Ask for the package name if not provided. A version may also be given (e.g. btw v1.4.0 or btw 1.4.0); strip any leading v.
  2. Decide which question is being asked:
    • Version given, or request mentions submission, review, the queue, or rejection/archival → Submission Status.
    • Request mentions checks, R CMD check, WARN/ERROR/NOTE, or platforms/flavors → Check Results.
    • If genuinely ambiguous (e.g. just "check the CRAN status of x"), ask which is meant, or check both and report both.
  3. Follow the relevant section below and report the result.

Submission Status

  1. Check the currently published version first (see below).
  2. If no version was requested, or it matches the current version: report it as the current, published release. Skip to step 5 unless it's absent from PACKAGES, in which case continue to step 3.
  3. If a prior check this conversation already located the package in a stage or reviewer folder, check that folder first, then forward from it in the pipeline order (see "CRAN Review Stages") — don't re-sweep from the start. Otherwise, sweep all stage and reviewer folders.
  4. Search the incoming/ stage folders (see below).
  5. Search the reviewer-assigned folders (see below).
  6. If a specific version was requested and doesn't match the current published version (or the package isn't published at all), check the CRAN Archive for that version (see below).
  7. Report the result (see "Reporting Submission Status Results").

CRAN Review Stages

Listed in typical pipeline order — a package usually moves top to bottom, though not every package passes through every stage:

  • inspect / newbies: awaiting initial manual inspection (newbies is for first-time submitters)
  • pending: awaiting closer review
  • human/<initials>: assigned to a CRAN reviewer
  • pretest: automated checks (re)running
  • waiting: CRAN is waiting for a maintainer response (loops back to pretest once the maintainer responds)
  • recheck: reverse-dependency checks
  • publish: approved and awaiting publication
  • archive: rejected

Checking Incoming Stage Folders

Replace {package} with the actual package name. Start at the last-known stage if one exists (see Submission Status step 3), else at inspect:

sh
for stage in inspect newbies pending pretest waiting recheck publish archive; do
  curl -Ls "https://cran.r-project.org/incoming/$stage/" |
    grep -Eio '[^"]*{package}[^"]*' &&
    echo "Stage: $stage" && break
  sleep 1
done

Checking Reviewer-Assigned Folders

Reviewer-initials folders (e.g. human/KH) change as CRAN's team changes, so discover them from the incoming/ listing instead of a fixed set: any folder there that isn't one of the stage names above is a reviewer folder.

sh
reviewer_folders=$(
  curl -Ls "https://cran.r-project.org/incoming/" |
    grep -Eio '<a href="[^"]+/">' |
    sed -E 's/<a href="([^"]+)\/">/\1/' |
    grep -Ev '^(inspect|newbies|pending|pretest|publish|recheck|archive|waiting|special)$'
)

for stage in $reviewer_folders; do
  curl -Ls "https://cran.r-project.org/incoming/$stage/" |
    grep -Eio '[^"]*{package}[^"]*' &&
    echo "Stage: human/$stage" && break
  sleep 1
done

Checking Whether the Package Is Already Published

sh
curl -Ls https://cran.r-project.org/src/contrib/PACKAGES |
  awk -v pkg="{package}" '
    $0 == "Package: " pkg { found=1 }
    found && /^Version:/ { print; exit }
  '

A printed Version: line is the current CRAN version. Remember it — needed later to say whether a requested older version was "superseded by" it.

Checking a Specific Version in the CRAN Archive

Superseded versions move out of src/contrib/ into a per-package archive folder. This Archive is unrelated to the archive incoming/ stage above (that means "rejected"; this means "an older version, since superseded").

sh
curl -Ls "https://cran.r-project.org/src/contrib/Archive/{package}/" |
  grep -Eio '[^"]*{package}_{version}\.tar\.gz[^"]*'

A matching .tar.gz filename means that exact version was published and has since been superseded.

Reporting Submission Status Results

  • No version requested:
    • Present in PACKAGES: report as published, with current version.
    • Else found in an incoming/ or reviewer folder: report the folder name and meaning from the stage list above.
    • Else: report it wasn't found in CRAN's submission queue or index.
  • Specific version requested:
    • Matches current version in PACKAGES: report as the current release.
    • Else found in the CRAN Archive: report it was published and has been superseded by the current version (from PACKAGES), e.g. "available in the archive, superseded by v1.5.0".
    • Else the package (any version) is found in an incoming/ or reviewer folder: report that stage, noting the requested version wasn't a past release.
    • Else: report the requested version wasn't found (current, archived, or in-review).

Check Results

CRAN publishes per-platform R CMD check results for every published package at https://cran.r-project.org/web/checks/check_results_{package}.html. WARN or ERROR results persisting more than ~2-4 weeks risk archival by CRAN.

Fetch and simplify the results table:

sh
curl -Ls "https://cran.r-project.org/web/checks/check_results_{package}.html" |
  grep '<tr> <td>' |
  sed -E 's/<[^>]+>/ /g' |
  awk '{print $1": "$NF}'

Prints one flavor: STATUS line per row, e.g.:

r-devel-linux-x86_64-debian-clang: OK
r-oldrel-windows-x86_64: ERROR

Status is OK, NOTE, WARN, or ERROR. For any non-OK flavor, full failure output is further down the same page under "Check Details" — fetch again without stripping tags and read the <pre>-formatted section after the failing flavor's Version: / Check: / Result: lines.

A 404 means no CRAN check history — likely not currently published. Check submission status instead.

Reporting Check Results

  • Every flavor OK: report the package passes checks on all platforms.
  • Any flavor NOTE/WARN/ERROR: list affected flavors and status, summarize failure reason(s) from "Check Details", and note that persistent WARN/ERROR can lead to archival.
  • Page 404s: report no check results exist; check/report submission status instead.

常见问题

R Cran Status AI 技能有什么作用?

查询 R 软件包在 cran.r-project.org 上的实时状态,包括提交/审核状态(队列、人工审核、等待中、已归档、旧版本的后续情况)或 R CMD check 结果(各平台上的 OK/NOTE/WARN/ERROR)。适用于查询“X 在 CRAN 上的状态如何”“X 是否已获接受/被拒绝”“X 是否通过 CRAN 检查”或“Y 版本何时归档”。

为什么在 TypingMind 中使用 R Cran Status?

因为您只需安装一次,就能搭配任何模型使用。R Cran Status 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 R Cran Status?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/posit-dev/skills/tree/main/r-lib/r-cran-status。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 R Cran Status?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

R Cran Status 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 R Cran Status 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

R Cran Status AI 技能免费吗?

是的。posit-dev 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇