{
  "_id": "6aeaf54d9ceaa78f2009e9b2",
  "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-11-04 09:00:36 UTC",
    "User": "root"
  },
  "_user": "shiyangzheng",
  "_type": "src",
  "_file": "llmcoder_1.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/235e23ae47805a836c527a98d2b9f2d3ddfcfd46fbf69e8bf0408ef8692a3893",
  "_filesize": 156804,
  "_sha256": "235e23ae47805a836c527a98d2b9f2d3ddfcfd46fbf69e8bf0408ef8692a3893",
  "_expires": "2027-02-12T09:05:15.000Z",
  "_created": "2026-11-04T09:00:36.000Z",
  "_published": "2026-11-04T09:05:17.375Z",
  "_upstream": "https://github.com/shiyangzheng/llmcoder",
  "_status": "success",
  "_maintainer": {
    "name": "Shiyang Zheng",
    "email": "shiyang.zheng@nottingham.ac.uk",
    "login": "shiyang-zheng-phd",
    "description": "",
    "uuid": 212778308,
    "orcid": "0000-0003-0511-4683"
  },
  "_jobs": [
    {
      "job": 126486281777,
      "time": 152,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13309390984"
    },
    {
      "job": 126486282144,
      "time": 125,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13308288906"
    },
    {
      "job": 126486282175,
      "time": 128,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13308403855"
    },
    {
      "job": 126486281888,
      "time": 212,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13308952012"
    },
    {
      "job": 126485046023,
      "time": 165,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13308353234"
    },
    {
      "job": 126486281958,
      "time": 89,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13309516073"
    },
    {
      "job": 126486282014,
      "time": 57,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13309845047"
    },
    {
      "job": 126486282154,
      "time": 76,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13309306707"
    },
    {
      "job": 126486282059,
      "time": 58,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13308742784"
    }
  ],
  "_buildurl": "https://github.com/r-universe/shiyangzheng/actions/runs/41803551209",
  "_commit": {
    "id": "b0866db88050add87463723dae31f146f3f40b7e",
    "author": "ZHÈNG Shī Yáng <zhengshiyang97@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update README.md",
    "time": 1778226574
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 12,
  "_contributors": [
    {
      "user": "shiyangzheng",
      "count": 6,
      "uuid": 177522678
    }
  ],
  "_userbio": {
    "uuid": 177522678,
    "type": "user",
    "name": "ZHÈNG Shī Yáng",
    "followers": 0,
    "description": "PhD candidate at UoN"
  },
  "_downloads": {
    "count": 331,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/llmcoder"
  },
  "_devurl": "https://github.com/shiyangzheng/llmcoder",
  "_searchresults": 11,
  "_gitlfs": true,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/llmcoder.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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": 4.296665190261532,
  "_indexed": true,
  "_nocasepkg": "llmcoder",
  "_universes": [
    "shiyangzheng",
    "shiyang-zheng-phd"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-11-04T09:03:09.000Z",
      "distro": "resolute",
      "commit": "b0866db88050add87463723dae31f146f3f40b7e",
      "fileid": "https://r2.ropensci.org/c4bbaa70e68948c82f0621d60bedbf2c82ebd043d12b7624c44d054a1bd3fd65",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shiyangzheng/actions/runs/41803551209"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-11-04T09:02:43.000Z",
      "distro": "resolute",
      "commit": "b0866db88050add87463723dae31f146f3f40b7e",
      "fileid": "https://r2.ropensci.org/7d65e03eb459a7f02abdab148bbced3e336d595d6b1c60ca2b6062fc64e7fcab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shiyangzheng/actions/runs/41803551209"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-11-04T09:04:24.000Z",
      "commit": "b0866db88050add87463723dae31f146f3f40b7e",
      "fileid": "https://r2.ropensci.org/835b0e49e96e4d0f42121a3f33ed4aa89eaea7a58a7a95e16a37f66247066681",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shiyangzheng/actions/runs/41803551209"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-11-04T09:03:21.000Z",
      "commit": "b0866db88050add87463723dae31f146f3f40b7e",
      "fileid": "https://r2.ropensci.org/8a285801f8c54aeee202954cf57e793edeb46da5062251a0793e01ac747dbbbc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shiyangzheng/actions/runs/41803551209"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.0",
      "date": "2026-11-04T09:02:23.000Z",
      "commit": "b0866db88050add87463723dae31f146f3f40b7e",
      "fileid": "https://r2.ropensci.org/04c48d326be892f592c4add40779656749fad81dfe007fd11c4e145a2f0bf800",
      "status": "success",
      "buildurl": "https://github.com/r-universe/shiyangzheng/actions/runs/41803551209"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-11-04T09:01:35.000Z",
      "commit": "b0866db88050add87463723dae31f146f3f40b7e",
      "fileid": "https://r2.ropensci.org/e100b775ec4aec5a656b38c9c976def4372178b3fd6decbb752a05e06afa4c7b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shiyangzheng/actions/runs/41803551209"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-11-04T09:01:48.000Z",
      "commit": "b0866db88050add87463723dae31f146f3f40b7e",
      "fileid": "https://r2.ropensci.org/0d55592c5e919ad5a1743026d42820dce59c030913377e3f997a66a69d101ad5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shiyangzheng/actions/runs/41803551209"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-11-04T09:01:38.000Z",
      "commit": "b0866db88050add87463723dae31f146f3f40b7e",
      "fileid": "https://r2.ropensci.org/1c77911f18bf97c440bda85cb2b254b9d78e5ecb04ee0c7182709182fb4da476",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shiyangzheng/actions/runs/41803551209"
    }
  ]
}