Token导航 LogoToken导航TokenDH.com
开发权限需确认clawhub未标认证来源可访问clear审计提醒

debugging-r-environment-and-dependencies调试 r 环境和依赖项

Agent Skill

debugging-r-environment-and-dependencies 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

14,928

周安装

622

GitHub Stars

公开资料未说明

下载量

4,976
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:debugging-r-environment-and-dependencies(调试 r 环境和依赖项)
来源仓库:https://github.com/jackkuo666/debugging-r-environment-and-dependencies
安装命令:
openclaw skills install debugging-r-environment-and-dependencies
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install debugging-r-environment-and-dependencies

简介

诊断 R 语言环境下的包安装失败与依赖冲突,提供修复方案与版本建议。

  • 适合遭遇 renv 错误、Bioconductor 安装异常或系统库缺失的开发者。
  • 自动检测当前环境与错误日志,返回兼容的包版本与配置调整步骤。
  • 部分操作需管理员权限,建议在隔离环境中测试后再应用于生产项目。
  • debugging-r-environment-and-dependencies 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
debugging-r-environment-and-dependencies
description
Diagnose and fix R environment issues, including package installation failures, dependency conflicts, system library problems, renv errors, and Bioconductor version mismatches.

Debugging R Environment and Dependencies

This skill focuses on resolving problems related to R environments rather than analysis logic. It helps restore a working setup so that R scripts and projects can run successfully.

Use this skill when the user encounters:

  • Package installation failures
  • Version conflicts between packages
  • renv or packrat environment issues
  • Bioconductor version mismatches
  • System dependency errors (e.g., missing compilers or libraries)
  • R failing to start or load packages

What This Skill Does

When activated, this skill will:

  1. Diagnose the environment

- Check R version - Check installed packages and versions - Inspect renv.lock or project library - Identify Bioconductor version compatibility

  1. Resolve package installation issues

- Suggest correct CRAN/Bioconductor repositories - Install missing system dependencies (e.g., libxml2, curl, openssl) - Handle compilation failures on Linux/macOS/Windows

  1. Fix dependency conflicts

- Align package versions - Reinstall broken packages - Clean corrupted package libraries

  1. Repair project environments

- Restore with renv::restore() - Rebuild renv.lock - Reinitialize project library if needed

  1. Bioconductor troubleshooting

- Match Bioconductor version to R version - Use BiocManager::install() correctly - Resolve common bioinformatics package errors

  1. System-level troubleshooting

- Install missing compilers (e.g., gcc, gfortran) - Install development libraries required for R packages - Fix PATH or permission issues


Example User Requests That Should Trigger This Skill

  • "I can't install tidyverse"
  • "This package fails with a compilation error"
  • "renv restore is broken"
  • "Bioconductor says my version is incompatible"
  • "library() fails even though the package is installed"
  • "R says shared object cannot be loaded"

Example Workflow

User: I get an error when installing sf.

Skill actions:

  • Detect missing system libraries (GEOS, GDAL, PROJ)
  • Provide OS-specific install commands
  • Retry R package installation
  • Confirm successful library loading

Common Problem Categories

CategoryExamples
Missing system libsxml2, curl, openssl, sf, rJava
Compiler issuesgfortran missing, Xcode tools missing
Version mismatchold R vs new package
Bioconductor mismatchwrong Bioc version for R
renv problemscorrupted cache, lockfile mismatch
Permission issuescannot write to library path

Notes

  • Do not modify analysis code unless necessary
  • Prefer fixing the environment over rewriting scripts
  • Always aim to make the project reproducible
  • Recommend renv for future environment stability

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

94.01%
按下载量换算4,678

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills