{
  "_id": "6a2512694b233be19838a468",
  "Package": "llmcoder",
  "Title": "LLM-Powered Code Generation, Error Fixing, and Chat for\n'RStudio'",
  "Version": "1.2.0",
  "Maintainer": "Shiyang Zheng <shiyang.zheng@nottingham.ac.uk>",
  "Author": "Shiyang Zheng [aut, cre]\n(<https://orcid.org/0000-0003-0511-4683>)",
  "Authors@R": "person(given  = \"Shiyang\",\nfamily = \"Zheng\",\nemail  = \"shiyang.zheng@nottingham.ac.uk\",\nrole   = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-0511-4683\"))",
  "Description": "An 'RStudio' addin that integrates large language model\n(LLM) assistance directly into the code-editing workflow.\nFeatures include: (1) generate R code from inline comments; (2)\nobtain LLM-assisted fixes for console errors; (3) insert\nplain-English explanations of selected code blocks; (4) a\nmulti-turn Chat Panel with session-context awareness (loaded\npackages, global objects, source editor contents, console\nhistory). Supports 'OpenAI', 'Anthropic' (Claude), 'DeepSeek',\n'Groq', 'Together AI', 'OpenRouter', 'Ollama' (fully local, no\nAPI key required), and any 'OpenAI'-compatible custom endpoint\n(e.g. 'LM Studio', 'vLLM', 'llama.cpp').",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "URL": "https://github.com/ShiyangZheng/llmcoder",
  "BugReports": "https://github.com/ShiyangZheng/llmcoder/issues",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libssl-dev\nzlib1g-dev",
  "Repository": "https://shiyangzheng.r-universe.dev",
  "Date/Publication": "2026-05-08 07:49:34 UTC",
  "RemoteUrl": "https://github.com/shiyangzheng/llmcoder",
  "RemoteRef": "HEAD",
  "RemoteSha": "b0866db88050add87463723dae31f146f3f40b7e",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-07 06:36:54 UTC",
    "User": "root"
  },
  "MD5sum": "3992e2636ae1b1baa1d277d87abe9f61",
  "_user": "shiyangzheng",
  "_type": "src",
  "_file": "llmcoder_1.2.0.tar.gz",
  "_fileid": "4e2c320d2b5cd86c54bf8cde8fa022aaeb11cb2362799321dbe6eab4ffeffdf9",
  "_filesize": 157580,
  "_sha256": "4e2c320d2b5cd86c54bf8cde8fa022aaeb11cb2362799321dbe6eab4ffeffdf9",
  "_created": "2026-06-07T06:36:54.000Z",
  "_published": "2026-06-07T06:40:41.549Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79937953979,
      "time": 123,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7461531062"
    },
    {
      "job": 79937953982,
      "time": 133,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461532289"
    },
    {
      "job": 79937953978,
      "time": 181,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7461533696"
    },
    {
      "job": 79937953988,
      "time": 194,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461534311"
    },
    {
      "job": 79937786217,
      "time": 172,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461514754"
    },
    {
      "job": 79937953950,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461529230"
    },
    {
      "job": 79937953985,
      "time": 82,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7461525855"
    },
    {
      "job": 79937953980,
      "time": 85,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7461526170"
    },
    {
      "job": 79937953989,
      "time": 72,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461524507"
    }
  ],
  "_buildurl": "https://github.com/r-universe/shiyangzheng/actions/runs/27085048138",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/shiyangzheng/llmcoder",
  "_commit": {
    "id": "b0866db88050add87463723dae31f146f3f40b7e",
    "author": "ZHÈNG Shī Yáng <zhengshiyang97@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update README.md",
    "time": 1778226574
  },
  "_maintainer": {
    "name": "Shiyang Zheng",
    "email": "shiyang.zheng@nottingham.ac.uk",
    "login": "shiyang-zheng-phd",
    "description": "",
    "uuid": 212778308,
    "orcid": "0000-0003-0511-4683"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "rstudioapi",
      "version": ">= 0.13",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "miniUI",
      "version": ">= 0.1.1",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "version": ">= 1.7.0",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "version": ">= 1.7.0",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "version": ">= 1.5.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "htmltools",
      "version": ">= 0.5.0",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "version": ">= 1.8.0",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "version": ">= 2.5.0",
      "role": "Suggests"
    }
  ],
  "_owner": "shiyangzheng",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-17",
      "n": 16
    },
    {
      "week": "2026-18",
      "n": 15
    },
    {
      "week": "2026-19",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.0.0",
      "date": "2026-04-25"
    },
    {
      "name": "v1.2.0",
      "date": "2026-05-02"
    }
  ],
  "_topics": [
    "chatgpt",
    "claude-ai",
    "llm",
    "ollama",
    "psycholinguistics",
    "rstudio-addin"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "shiyangzheng",
      "count": 6,
      "uuid": 177522678
    }
  ],
  "_userbio": {
    "uuid": 177522678,
    "type": "user",
    "name": "ZHÈNG Shī Yáng",
    "description": "PhD candidate at UoN"
  },
  "_downloads": {
    "count": 298,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/llmcoder"
  },
  "_devurl": "https://github.com/shiyangzheng/llmcoder",
  "_searchresults": 8,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/llmcoder.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/shiyangzheng/llmcoder",
  "_realowner": "shiyangzheng",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2026-04-29"
    },
    {
      "version": "1.2.0",
      "date": "2026-05-05"
    }
  ],
  "_exports": [
    "addin_chat_panel",
    "addin_explain_code",
    "addin_fix_console_error",
    "addin_fix_selected_error",
    "addin_generate_from_comment",
    "addin_generate_with_preview",
    "addin_settings",
    "llmcoder_config",
    "llmcoder_setup",
    "ollama_list_models",
    "session_context_prompt",
    "session_context_report"
  ],
  "_help": [
    {
      "page": "addin_explain_code",
      "title": "Explain selected R code as inline comments",
      "topics": [
        "addin_explain_code"
      ]
    },
    {
      "page": "addin_fix_console_error",
      "title": "Fix the last console error automatically",
      "topics": [
        "addin_fix_console_error"
      ]
    },
    {
      "page": "addin_fix_selected_error",
      "title": "Fix an error by selecting its text",
      "topics": [
        "addin_fix_selected_error"
      ]
    },
    {
      "page": "addin_generate_from_comment",
      "title": "Generate R code from a comment (silent insert)",
      "topics": [
        "addin_generate_from_comment"
      ]
    },
    {
      "page": "addin_generate_with_preview",
      "title": "Generate R code with an editable preview dialog",
      "topics": [
        "addin_generate_with_preview"
      ]
    },
    {
      "page": "addin_settings",
      "title": "Open the LLMcoder settings dialog",
      "topics": [
        "addin_settings"
      ]
    },
    {
      "page": "llmcoder_config",
      "title": "Show the current LLMcoder configuration",
      "topics": [
        "llmcoder_config"
      ]
    },
    {
      "page": "llmcoder_setup",
      "title": "Configure LLMcoder for the current session",
      "topics": [
        "llmcoder_setup"
      ]
    },
    {
      "page": "ollama_list_models",
      "title": "List models available on a running Ollama server",
      "topics": [
        "ollama_list_models"
      ]
    },
    {
      "page": "session_context_prompt",
      "title": "Build a session-context system-prompt block",
      "topics": [
        "session_context_prompt"
      ]
    },
    {
      "page": "session_context_report",
      "title": "Capture a human-readable report of the current R session state",
      "topics": [
        "session_context_report"
      ]
    }
  ],
  "_readme": "https://github.com/shiyangzheng/llmcoder/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "curl",
    "digest",
    "fastmap",
    "fontawesome",
    "fs",
    "glue",
    "htmltools",
    "httpuv",
    "httr2",
    "jquerylib",
    "jsonlite",
    "later",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "miniUI",
    "openssl",
    "otel",
    "promises",
    "R6",
    "rappdirs",
    "Rcpp",
    "rlang",
    "rstudioapi",
    "sass",
    "shiny",
    "sourcetools",
    "stringi",
    "stringr",
    "sys",
    "vctrs",
    "withr",
    "xtable"
  ],
  "_score": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "llmcoder",
  "_universes": [
    "shiyangzheng",
    "shiyang-zheng-phd"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-06-07T06:38:57.000Z",
      "distro": "noble",
      "commit": "b0866db88050add87463723dae31f146f3f40b7e",
      "fileid": "52fffc65126b59cf0847050114b562c816123d19526c1fa38465dc4cf617bfdd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shiyangzheng/actions/runs/27085048138"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-06-07T06:39:04.000Z",
      "distro": "noble",
      "commit": "b0866db88050add87463723dae31f146f3f40b7e",
      "fileid": "5ac8b7b45bade5dcc39d5ded259a70ac01e8284581f2fbd8358b6dc9924ac503",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shiyangzheng/actions/runs/27085048138"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-06-07T06:39:18.000Z",
      "commit": "b0866db88050add87463723dae31f146f3f40b7e",
      "fileid": "22aca6322a7df799482a50755daa8b7b8703835b22de6c76e15f5639567c27fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shiyangzheng/actions/runs/27085048138"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-06-07T06:39:20.000Z",
      "commit": "b0866db88050add87463723dae31f146f3f40b7e",
      "fileid": "c206f26e3bd615dd560fb1a699b3823d9962694c63493fbcbd1c4753ac0653c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shiyangzheng/actions/runs/27085048138"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.0",
      "date": "2026-06-07T06:38:57.000Z",
      "commit": "b0866db88050add87463723dae31f146f3f40b7e",
      "fileid": "e485390934958227bb9707a7aa475430aeabd5e343a250c94564b1b6016ee729",
      "status": "success",
      "buildurl": "https://github.com/r-universe/shiyangzheng/actions/runs/27085048138"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-06-07T06:38:11.000Z",
      "commit": "b0866db88050add87463723dae31f146f3f40b7e",
      "fileid": "9a1b10a9fd0dd4ebdaa1ad675312a6def0253b295c4ff7fad7cd37332f5fbe5a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shiyangzheng/actions/runs/27085048138"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-06-07T06:38:10.000Z",
      "commit": "b0866db88050add87463723dae31f146f3f40b7e",
      "fileid": "1b51b03dac8013e4ec12aa970c3914bf9fa70d5f5fb73fcc67fb9c197576bcdb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shiyangzheng/actions/runs/27085048138"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-06-07T06:37:58.000Z",
      "commit": "b0866db88050add87463723dae31f146f3f40b7e",
      "fileid": "697d2fb25a2af4259ebfb1a48ba6a2996c35602b3a929448733f9217f7f213e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shiyangzheng/actions/runs/27085048138"
    }
  ]
}