{
  "_id": "6a1bf5301d7bb097a0a25dce",
  "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-05-31 08:37:28 UTC",
    "User": "root"
  },
  "Author": "Satoshi Kume [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7481-2843>)",
  "MD5sum": "fbdfe01a251f8b4423bd158e995f7f1d",
  "_user": "kumes",
  "_type": "src",
  "_file": "chatAI4R_1.3.2.tar.gz",
  "_fileid": "48cd1031d7982b287c3d90edf720ede2ad51bf9cc3127fc40944064617a67d0d",
  "_filesize": 2359716,
  "_sha256": "48cd1031d7982b287c3d90edf720ede2ad51bf9cc3127fc40944064617a67d0d",
  "_created": "2026-05-31T08:37:28.000Z",
  "_published": "2026-05-31T08:45:36.526Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78712553848,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7315297099"
    },
    {
      "job": 78712553847,
      "time": 135,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315297744"
    },
    {
      "job": 78712553843,
      "time": 150,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7315296982"
    },
    {
      "job": 78712553844,
      "time": 151,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315296228"
    },
    {
      "job": 78712399770,
      "time": 168,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315283586"
    },
    {
      "job": 78712553854,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315295094"
    },
    {
      "job": 78712553862,
      "time": 426,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7315327609"
    },
    {
      "job": 78712553855,
      "time": 448,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7315329796"
    },
    {
      "job": 78712553860,
      "time": 85,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315292619"
    }
  ],
  "_buildurl": "https://github.com/r-universe/kumes/actions/runs/26707836972",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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": 22,
  "_contributors": [
    {
      "user": "kumes",
      "count": 290,
      "uuid": 10130812
    }
  ],
  "_userbio": {
    "uuid": 10130812,
    "type": "user",
    "name": "skume",
    "description": "Satoshi Kume is a biochemist / bioinformatician. R/CRAN/BioConductor, Shell, JavaScript, AI, NLP and LLM."
  },
  "_downloads": {
    "count": 191,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/chatAI4R"
  },
  "_devurl": "https://github.com/kumes/chatai4r",
  "_searchresults": 15,
  "_rbuild": "4.6.0",
  "_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.393575203269588,
  "_indexed": true,
  "_nocasepkg": "chatai4r",
  "_universes": [
    "kumes"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.2",
      "date": "2026-05-31T08:39:33.000Z",
      "distro": "noble",
      "commit": "dc536c8b5ebab88143d97a0d2b1786475b767751",
      "fileid": "290f1ee044aed5d581d150a4bb811f161a23ba7108023eaea632e44be13e74ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kumes/actions/runs/26707836972"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3.2",
      "date": "2026-05-31T08:39:37.000Z",
      "distro": "noble",
      "commit": "dc536c8b5ebab88143d97a0d2b1786475b767751",
      "fileid": "40d2ef9d8b10800fc9c42bf9ee354dd4974f3807677f5c690829aa6b348670d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kumes/actions/runs/26707836972"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.2",
      "date": "2026-05-31T08:39:37.000Z",
      "commit": "dc536c8b5ebab88143d97a0d2b1786475b767751",
      "fileid": "486c67f6176379ba7752548f1ccaa42504903cd93127853f2b0020774bd68e89",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kumes/actions/runs/26707836972"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3.2",
      "date": "2026-05-31T08:39:29.000Z",
      "commit": "dc536c8b5ebab88143d97a0d2b1786475b767751",
      "fileid": "c02d134503b37c5654ea57d49e11058ca8f74be485af0daa1f660c55dc9cc022",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kumes/actions/runs/26707836972"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.2",
      "date": "2026-05-31T08:39:35.000Z",
      "commit": "dc536c8b5ebab88143d97a0d2b1786475b767751",
      "fileid": "dca7a2af3856103633edb90be9dabcf67892d8db7bac4b9f77a702d955bbc3b3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kumes/actions/runs/26707836972"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.2",
      "date": "2026-05-31T08:44:14.000Z",
      "commit": "dc536c8b5ebab88143d97a0d2b1786475b767751",
      "fileid": "90ee65e2997aa7ee2396655b12a6803a5a85756ed64736653383629748182a37",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kumes/actions/runs/26707836972"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3.2",
      "date": "2026-05-31T08:44:41.000Z",
      "commit": "dc536c8b5ebab88143d97a0d2b1786475b767751",
      "fileid": "7a01c66539f466f675615655ed7f5ecefe78de65437c99e82cc1a711df1534d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kumes/actions/runs/26707836972"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.3.2",
      "date": "2026-05-31T08:38:40.000Z",
      "commit": "dc536c8b5ebab88143d97a0d2b1786475b767751",
      "fileid": "4d0093b8254bf994ac8b003959cb29fda9d324bedef304b4c7a77b84fec8ede6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kumes/actions/runs/26707836972"
    }
  ]
}