# Send Debugging R Environment And Dependencies to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "debugging-r-environment-and-dependencies",
    "name": "Debugging R Environment And Dependencies",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/JackKuo666/debugging-r-environment-and-dependencies",
    "canonicalUrl": "https://clawhub.ai/JackKuo666/debugging-r-environment-and-dependencies",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/debugging-r-environment-and-dependencies",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=debugging-r-environment-and-dependencies",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "examples/README.md",
      "examples/bioc-version-mismatch/README.md",
      "examples/broken-renv-project/README.md",
      "examples/missing-system-deps/README.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "debugging-r-environment-and-dependencies",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-02T09:39:36.256Z",
      "expiresAt": "2026-05-09T09:39:36.256Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=debugging-r-environment-and-dependencies",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=debugging-r-environment-and-dependencies",
        "contentDisposition": "attachment; filename=\"debugging-r-environment-and-dependencies-0.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "debugging-r-environment-and-dependencies"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/debugging-r-environment-and-dependencies"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/debugging-r-environment-and-dependencies",
    "downloadUrl": "https://openagent3.xyz/downloads/debugging-r-environment-and-dependencies",
    "agentUrl": "https://openagent3.xyz/skills/debugging-r-environment-and-dependencies/agent",
    "manifestUrl": "https://openagent3.xyz/skills/debugging-r-environment-and-dependencies/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/debugging-r-environment-and-dependencies/agent.md"
  }
}
```
## Documentation

### 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:

Diagnose the environment

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



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



Fix dependency conflicts

Align package versions
Reinstall broken packages
Clean corrupted package libraries



Repair project environments

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



Bioconductor troubleshooting

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



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

CategoryExamplesMissing system libsxml2, curl, openssl, sf, rJavaCompiler issuesgfortran missing, Xcode tools missingVersion mismatchold R vs new packageBioconductor mismatchwrong Bioc version for Rrenv problemscorrupted cache, lockfile mismatchPermission 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
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: JackKuo666
- Version: 0.1.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-02T09:39:36.256Z
- Expires at: 2026-05-09T09:39:36.256Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/debugging-r-environment-and-dependencies)
- [Send to Agent page](https://openagent3.xyz/skills/debugging-r-environment-and-dependencies/agent)
- [JSON manifest](https://openagent3.xyz/skills/debugging-r-environment-and-dependencies/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/debugging-r-environment-and-dependencies/agent.md)
- [Download page](https://openagent3.xyz/downloads/debugging-r-environment-and-dependencies)