{
  "_id": "6a47c989e06c18f0a651ea7c",
  "Package": "chatAI4R",
  "Type": "Package",
  "Title": "Chat-Based Interactive Artificial Intelligence for R",
  "Version": "1.3.2",
  "Date": "2026-1-8",
  "Authors@R": "c(\nperson (given = \"Satoshi\", family = \"Kume\",\nrole = c(\"aut\", \"cre\"),\nemail = \"satoshi.kume.1984@gmail.com\",\ncomment = c(ORCID = \"0000-0001-7481-2843\"))\n)",
  "Maintainer": "Satoshi Kume <satoshi.kume.1984@gmail.com>",
  "Description": "The Large Language Model (LLM) represents a groundbreaking\nadvancement in data science and programming, and also allows us\nto extend the world of R. A seamless interface for integrating\nthe 'OpenAI' Web APIs into R is provided in this package. This\npackage leverages LLM-based AI techniques, enabling efficient\nknowledge discovery and data analysis. The previous functions\nsuch as seamless translation and image generation have been\nmoved to other packages 'deepRstudio' and 'stableDiffusion4R'.",
  "License": "Artistic-2.0",
  "URL": "https://kumes.github.io/chatAI4R/,\nhttps://github.com/kumeS/chatAI4R",
  "BugReports": "https://github.com/kumeS/chatAI4R/issues",
  "RoxygenNote": "7.3.3",
  "Encoding": "UTF-8",
  "Config/pak/sysreqs": "libglpk-dev libxml2-dev libssl-dev libx11-dev",
  "Repository": "https://kumes.r-universe.dev",
  "Date/Publication": "2026-01-31 06:22:41 UTC",
  "RemoteUrl": "https://github.com/kumes/chatai4r",
  "RemoteRef": "HEAD",
  "RemoteSha": "dc536c8b5ebab88143d97a0d2b1786475b767751",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-03 14:36:00 UTC",
    "User": "root"
  },
  "Author": "Satoshi Kume [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7481-2843>)",
  "_user": "kumes",
  "_type": "src",
  "_file": "chatAI4R_1.3.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/56c860964fe7d1541330410120894d08b7c5505121697c8bcf4790b5accd5c3c",
  "_filesize": 2365774,
  "_sha256": "56c860964fe7d1541330410120894d08b7c5505121697c8bcf4790b5accd5c3c",
  "_expires": "2026-10-11T14:39:01.000Z",
  "_created": "2026-07-03T14:36:00.000Z",
  "_published": "2026-07-03T14:39:04.912Z",
  "_jobs": [
    {
      "job": 85021821748,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8069190863"
    },
    {
      "job": 85021821729,
      "time": 132,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8069187850"
    },
    {
      "job": 85021821739,
      "time": 98,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8069180970"
    },
    {
      "job": 85021821753,
      "time": 99,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8069180684"
    },
    {
      "job": 85021352781,
      "time": 165,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8069145001"
    },
    {
      "job": 85021821779,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8069186568"
    },
    {
      "job": 85021821766,
      "time": 88,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8069174146"
    },
    {
      "job": 85021821754,
      "time": 90,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8069175238"
    },
    {
      "job": 85021821784,
      "time": 73,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8069169205"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/kumes/actions/runs/28667071252",
  "_status": "success",
  "_upstream": "https://github.com/kumes/chatai4r",
  "_commit": {
    "id": "dc536c8b5ebab88143d97a0d2b1786475b767751",
    "author": "kumeS <satoshi.kume@a.riken.jp>",
    "committer": "kumeS <satoshi.kume@a.riken.jp>",
    "message": "v1.x: JOSS review\n",
    "time": 1769840561
  },
  "_maintainer": {
    "name": "Satoshi Kume",
    "email": "satoshi.kume.1984@gmail.com",
    "orcid": "0000-0001-7481-2843"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "assertthat",
      "role": "Imports"
    },
    {
      "package": "clipr",
      "role": "Imports"
    },
    {
      "package": "crayon",
      "role": "Imports"
    },
    {
      "package": "rstudioapi",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "deepRstudio",
      "role": "Imports"
    },
    {
      "package": "curl",
      "role": "Imports"
    },
    {
      "package": "base64enc",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    }
  ],
  "_owner": "kumes",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-27",
      "n": 11
    },
    {
      "week": "2025-28",
      "n": 3
    },
    {
      "week": "2025-29",
      "n": 2
    },
    {
      "week": "2025-31",
      "n": 4
    },
    {
      "week": "2025-34",
      "n": 4
    },
    {
      "week": "2025-44",
      "n": 11
    },
    {
      "week": "2025-45",
      "n": 3
    },
    {
      "week": "2025-46",
      "n": 18
    },
    {
      "week": "2025-47",
      "n": 2
    },
    {
      "week": "2025-48",
      "n": 5
    },
    {
      "week": "2025-51",
      "n": 2
    },
    {
      "week": "2025-52",
      "n": 5
    },
    {
      "week": "2026-02",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 5
    },
    {
      "week": "2026-05",
      "n": 6
    }
  ],
  "_tags": [
    {
      "name": "v1.3.2",
      "date": "2026-01-31"
    }
  ],
  "_topics": [
    "ai",
    "bioinformatics",
    "chatgpt",
    "gpt",
    "image",
    "image-generation"
  ],
  "_stars": 23,
  "_contributors": [
    {
      "user": "kumes",
      "count": 290,
      "uuid": 10130812
    }
  ],
  "_userbio": {
    "uuid": 10130812,
    "type": "user",
    "name": "skume",
    "followers": 83,
    "description": "Satoshi Kume is a biochemist / bioinformatician. R/CRAN/BioConductor, Shell, JavaScript, AI, NLP and LLM."
  },
  "_downloads": {
    "count": 312,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/chatAI4R"
  },
  "_devurl": "https://github.com/kumes/chatai4r",
  "_searchresults": 15,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/chatAI4R.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/kumes/chatai4r",
  "_realowner": "kumes",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.11",
      "date": "2023-08-11"
    },
    {
      "version": "0.2.10",
      "date": "2023-09-12"
    },
    {
      "version": "0.3.6",
      "date": "2025-02-12"
    },
    {
      "version": "1.3.1",
      "date": "2026-01-10"
    }
  ],
  "_exports": [
    "addCommentCode",
    "addRoxygenDescription",
    "autocreateFunction4R",
    "chat4R",
    "chat4R_history",
    "chat4R_streaming",
    "chat4Rv2",
    "checkErrorDet",
    "checkErrorDet_JP",
    "completions4R",
    "conversation4R",
    "convertBullet2Sentence",
    "convertRscript2Function",
    "convertScientificLiterature",
    "createEBAYdes",
    "createImagePrompt_v1",
    "createImagePrompt_v2",
    "createRcode",
    "createRfunction",
    "createSpecifications4R",
    "designPackage",
    "DifyChat4R",
    "discussion_flow_v1",
    "discussion_flow_v2",
    "enrichTextContent",
    "extractKeywords",
    "gemini4R",
    "geminiGrounding4R",
    "interpretResult",
    "ionet_models",
    "list_ionet_models",
    "multiLLMviaionet",
    "ngsub",
    "OptimizeRcode",
    "print_multiLLM_results",
    "proofreadEnglishText",
    "proofreadText",
    "RcodeImprovements",
    "refresh_ionet_models",
    "removeQuotations",
    "replicatellmAPI4R",
    "revisedText",
    "searchFunction",
    "slow_print_v2",
    "speakInEN",
    "speakInJA",
    "speakInJA_v2",
    "supportIdeaGeneration",
    "textEmbedding",
    "textFileInput4ai",
    "TextSummary",
    "TextSummaryAsBullet",
    "vision4R"
  ],
  "_help": [
    {
      "page": "addCommentCode",
      "title": "Add Comments to R Code",
      "topics": [
        "addCommentCode"
      ]
    },
    {
      "page": "addRoxygenDescription",
      "title": "Add Roxygen Description to R Function",
      "topics": [
        "addRoxygenDescription"
      ]
    },
    {
      "page": "autocreateFunction4R",
      "title": "autocreateFunction4R (development / experimental)",
      "topics": [
        "autocreateFunction4R"
      ]
    },
    {
      "page": "chat4R",
      "title": "Chat4R: Interact with gpt-4o-mini (default) using OpenAI API",
      "topics": [
        "chat4R"
      ]
    },
    {
      "page": "chat4R_history",
      "title": "chat4R_history: Use chat history for interacting with GPT.",
      "topics": [
        "chat4R_history"
      ]
    },
    {
      "page": "chat4R_streaming",
      "title": "chat4R_streaming: Interact with GPT-4o (default) with streaming using OpenAI API and set system context",
      "topics": [
        "chat4R_streaming"
      ]
    },
    {
      "page": "chat4Rv2",
      "title": "chat4Rv2: Interact with gpt-4o-mini (default) using OpenAI API",
      "topics": [
        "chat4Rv2"
      ]
    },
    {
      "page": "checkErrorDet",
      "title": "Check Error Details",
      "topics": [
        "checkErrorDet"
      ]
    },
    {
      "page": "checkErrorDet_JP",
      "title": "Check Error Details in Japanese",
      "topics": [
        "checkErrorDet_JP"
      ]
    },
    {
      "page": "completions4R",
      "title": "completions4R: Generate text using OpenAI completions API (Legacy - DEPRECATED)",
      "topics": [
        "completions4R"
      ]
    },
    {
      "page": "conversation4R",
      "title": "Conversation Interface for R",
      "topics": [
        "conversation4R"
      ]
    },
    {
      "page": "convertBullet2Sentence",
      "title": "convertBullet2Sentence",
      "topics": [
        "convertBullet2Sentence"
      ]
    },
    {
      "page": "convertRscript2Function",
      "title": "convertRscript2Function",
      "topics": [
        "convertRscript2Function"
      ]
    },
    {
      "page": "convertScientificLiterature",
      "title": "convertScientificLiterature",
      "topics": [
        "convertScientificLiterature"
      ]
    },
    {
      "page": "createEBAYdes",
      "title": "Create eBay Product Description",
      "topics": [
        "createEBAYdes"
      ]
    },
    {
      "page": "createImagePrompt_v1",
      "title": "Create Image Prompt version 1",
      "topics": [
        "createImagePrompt_v1"
      ]
    },
    {
      "page": "createImagePrompt_v2",
      "title": "Generate Image Prompts version 2",
      "topics": [
        "createImagePrompt_v2"
      ]
    },
    {
      "page": "createRcode",
      "title": "Create R Code from Clipboard Content and Output into the R Console",
      "topics": [
        "createRcode"
      ]
    },
    {
      "page": "createRfunction",
      "title": "Create R Function from Selected Text or Clipboard Content and Output into the R Console",
      "topics": [
        "createRfunction"
      ]
    },
    {
      "page": "createSpecifications4R",
      "title": "Create Specifications for R Function",
      "topics": [
        "createSpecifications4R"
      ]
    },
    {
      "page": "designPackage",
      "title": "designPackage",
      "topics": [
        "designPackage"
      ]
    },
    {
      "page": "DifyChat4R",
      "title": "DifyChat4R Function (Completion Messages Only)",
      "topics": [
        "DifyChat4R"
      ]
    },
    {
      "page": "discussion_flow_v1",
      "title": "discussion_flow_v1: Interactions and Flow Control Between LLM-based Bots (LLBs)",
      "topics": [
        "discussion_flow_v1"
      ]
    },
    {
      "page": "discussion_flow_v2",
      "title": "discussion_flow_v2: Interactions and Flow Control Between LLM-based Bots (LLBs)",
      "topics": [
        "discussion_flow_v2"
      ]
    },
    {
      "page": "enrichTextContent",
      "title": "Enrich Text Content v2",
      "topics": [
        "enrichTextContent"
      ]
    },
    {
      "page": "extractKeywords",
      "title": "extractKeywords",
      "topics": [
        "extractKeywords"
      ]
    },
    {
      "page": "gemini4R",
      "title": "Gemini API Request (v1beta, 2025-07)",
      "topics": [
        "gemini4R"
      ]
    },
    {
      "page": "geminiGrounding4R",
      "title": "Gemini API Google Search Grounding Request (v1/v1beta, 2025-07)",
      "topics": [
        "geminiGrounding4R"
      ]
    },
    {
      "page": "interpretResult",
      "title": "Interpret Analysis Results",
      "topics": [
        "interpretResult"
      ]
    },
    {
      "page": "ionet_models",
      "title": "ionet_models: Retrieve the available model list from io.net API",
      "topics": [
        "ionet_models"
      ]
    },
    {
      "page": "list_ionet_models",
      "title": "list_ionet_models: Display available LLM models on io.net API",
      "topics": [
        "list_ionet_models"
      ]
    },
    {
      "page": "multiLLMviaionet",
      "title": "multiLLMviaionet: Execute ALL available LLM models simultaneously via io.net API",
      "topics": [
        "multiLLMviaionet"
      ]
    },
    {
      "page": "ngsub",
      "title": "ngsub",
      "topics": [
        "ngsub"
      ]
    },
    {
      "page": "OptimizeRcode",
      "title": "Optimize and Complete R Code",
      "topics": [
        "OptimizeRcode"
      ]
    },
    {
      "page": "print_multiLLM_results",
      "title": "Pretty-print multiLLMviaionet results",
      "topics": [
        "print_multiLLM_results"
      ]
    },
    {
      "page": "print.multiLLM_result",
      "title": "Print method for multiLLM_result",
      "topics": [
        "print.multiLLM_result"
      ]
    },
    {
      "page": "proofreadEnglishText",
      "title": "Proofread English Text",
      "topics": [
        "proofreadEnglishText"
      ]
    },
    {
      "page": "proofreadText",
      "title": "proofreadText",
      "topics": [
        "proofreadText"
      ]
    },
    {
      "page": "RcodeImprovements",
      "title": "Suggest Improvements to the R Code on Your Clipboard",
      "topics": [
        "RcodeImprovements"
      ]
    },
    {
      "page": "refresh_ionet_models",
      "title": "refresh_ionet_models: Manually refresh the cached model list from io.net API",
      "topics": [
        "refresh_ionet_models"
      ]
    },
    {
      "page": "removeQuotations",
      "title": "Remove All Types of Quotations from Text",
      "topics": [
        "removeQuotations"
      ]
    },
    {
      "page": "replicatellmAPI4R",
      "title": "replicatellmAPI4R: Interact with Replicate API for LLM models in R",
      "topics": [
        "replicatellmAPI4R"
      ]
    },
    {
      "page": "revisedText",
      "title": "Revised Scientific Text",
      "topics": [
        "revisedText"
      ]
    },
    {
      "page": "searchFunction",
      "title": "Search R Functions based on Text",
      "topics": [
        "searchFunction"
      ]
    },
    {
      "page": "slow_print_v2",
      "title": "Slowly Print Text",
      "topics": [
        "slow_print_v2"
      ]
    },
    {
      "page": "speakInEN",
      "title": "Speak Selected Text in English",
      "topics": [
        "speakInEN"
      ]
    },
    {
      "page": "speakInJA",
      "title": "Speak Selected Text in Japanese",
      "topics": [
        "speakInJA"
      ]
    },
    {
      "page": "speakInJA_v2",
      "title": "Speak Clipboard in Japanese",
      "topics": [
        "speakInJA_v2"
      ]
    },
    {
      "page": "supportIdeaGeneration",
      "title": "supportIdeaGeneration: Support Idea Generation from Selected Text or Clipboard.",
      "topics": [
        "supportIdeaGeneration"
      ]
    },
    {
      "page": "textEmbedding",
      "title": "Text Embedding from OpenAI Embeddings API",
      "topics": [
        "textEmbedding"
      ]
    },
    {
      "page": "textFileInput4ai",
      "title": "Send Text File Content to OpenAI API and Retrieve Response",
      "topics": [
        "textFileInput4ai"
      ]
    },
    {
      "page": "TextSummary",
      "title": "Summarize Long Text",
      "topics": [
        "TextSummary"
      ]
    },
    {
      "page": "TextSummaryAsBullet",
      "title": "Summarize Text into Bullet Points",
      "topics": [
        "TextSummaryAsBullet"
      ]
    },
    {
      "page": "vision4R",
      "title": "Vision API Function using OpenAI's Vision API",
      "topics": [
        "vision4R"
      ]
    }
  ],
  "_readme": "https://github.com/kumes/chatai4r/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "assertthat",
    "base64enc",
    "cli",
    "clipr",
    "codetools",
    "cpp11",
    "crayon",
    "curl",
    "deepRstudio",
    "digest",
    "future",
    "globals",
    "glue",
    "httr",
    "igraph",
    "jsonlite",
    "lattice",
    "lifecycle",
    "listenv",
    "magrittr",
    "Matrix",
    "mime",
    "openssl",
    "parallelly",
    "pkgconfig",
    "R6",
    "rlang",
    "rstudioapi",
    "sys",
    "vctrs"
  ],
  "_score": 5.4128803584649745,
  "_indexed": true,
  "_nocasepkg": "chatai4r",
  "_universes": [
    "kumes"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.2",
      "date": "2026-07-03T14:38:17.000Z",
      "distro": "resolute",
      "commit": "dc536c8b5ebab88143d97a0d2b1786475b767751",
      "fileid": "https://r2.ropensci.org/17cab9311a40816d744887b7f1499896e086ba7b829b80a807fc681025ee45c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kumes/actions/runs/28667071252"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.3.2",
      "date": "2026-07-03T14:38:09.000Z",
      "distro": "resolute",
      "commit": "dc536c8b5ebab88143d97a0d2b1786475b767751",
      "fileid": "https://r2.ropensci.org/866bd62c92d462e51e524810be310c9f22ad6d451dfaf59acff5c9ca63a43924",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kumes/actions/runs/28667071252"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.2",
      "date": "2026-07-03T14:37:52.000Z",
      "commit": "dc536c8b5ebab88143d97a0d2b1786475b767751",
      "fileid": "https://r2.ropensci.org/056a87741f9685014603f4f0ee606b94fc9f66927b2bf55fea856c22aa94d31c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kumes/actions/runs/28667071252"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.3.2",
      "date": "2026-07-03T14:37:50.000Z",
      "commit": "dc536c8b5ebab88143d97a0d2b1786475b767751",
      "fileid": "https://r2.ropensci.org/c64a770592c64b93ac47ded76cd749a4d02b331911271277f6416719348d631e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kumes/actions/runs/28667071252"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.2",
      "date": "2026-07-03T14:38:26.000Z",
      "commit": "dc536c8b5ebab88143d97a0d2b1786475b767751",
      "fileid": "https://r2.ropensci.org/a7fd3419826e5d0d877c07b1c458886f0d07a391902d32f8da79371384e3d1bf",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kumes/actions/runs/28667071252"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.2",
      "date": "2026-07-03T14:37:15.000Z",
      "commit": "dc536c8b5ebab88143d97a0d2b1786475b767751",
      "fileid": "https://r2.ropensci.org/4b94fdd25a8dfd87e18546f7fbb8c1333d9dcfba1759458ef645d63438f7d347",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kumes/actions/runs/28667071252"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3.2",
      "date": "2026-07-03T14:37:15.000Z",
      "commit": "dc536c8b5ebab88143d97a0d2b1786475b767751",
      "fileid": "https://r2.ropensci.org/94f2199a1b4fefb7f76b9afdca685c72f095b803ee9d7fdb6dcb8a74e49025ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kumes/actions/runs/28667071252"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.3.2",
      "date": "2026-07-03T14:37:12.000Z",
      "commit": "dc536c8b5ebab88143d97a0d2b1786475b767751",
      "fileid": "https://r2.ropensci.org/d74fd5d7b266ee079468748e031d2f7078913f90a79659f49ae20ba8131577a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kumes/actions/runs/28667071252"
    }
  ]
}