{
  "_id": "6a104d9eacfb0bcc41ca06e6",
  "Package": "askgpt",
  "Type": "Package",
  "Title": "Asking GPT About R Stuff",
  "Version": "0.1.3.9000",
  "Authors@R": "person(\"Johannes\", \"Gruber\", email = \"johannesb.gruber@gmail.com\",\nrole = c(\"aut\", \"cre\"))",
  "Description": "A chat package connecting to API endpoints by 'OpenAI'\n(<https://platform.openai.com/>) to answer questions (about R).",
  "URL": "https://github.com/JBGruber/askgpt",
  "BugReports": "https://github.com/JBGruber/askgpt/issues",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.1",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Language": "en-GB",
  "LazyData": "true",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://jbgruber.r-universe.dev",
  "Date/Publication": "2024-06-04 16:43:39 UTC",
  "RemoteUrl": "https://github.com/jbgruber/askgpt",
  "RemoteRef": "HEAD",
  "RemoteSha": "30dc1e0b4a92d79e9cc96800b3f32ad6549acd0b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-10 06:56:17 UTC",
    "User": "root"
  },
  "Author": "Johannes Gruber [aut, cre]",
  "Maintainer": "Johannes Gruber <johannesb.gruber@gmail.com>",
  "MD5sum": "a8ec1beadd4011cf5794c44a9d3815f5",
  "_user": "jbgruber",
  "_type": "src",
  "_file": "askgpt_0.1.3.9000.tar.gz",
  "_fileid": "027d02bca10b4d2c9317e75727200caf87f94bb29e9c70106238050ca2d9de32",
  "_filesize": 2589391,
  "_sha256": "027d02bca10b4d2c9317e75727200caf87f94bb29e9c70106238050ca2d9de32",
  "_created": "2026-05-10T06:56:17.000Z",
  "_published": "2026-05-22T12:35:42.556Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77380430688,
      "time": 131,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6901763189"
    },
    {
      "job": 77380430957,
      "time": 129,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6901762879"
    },
    {
      "job": 77380431127,
      "time": 97,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6901759160"
    },
    {
      "job": 77380430598,
      "time": 84,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6901757578"
    },
    {
      "job": 77380430374,
      "time": 185,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6901747877"
    },
    {
      "job": 77380430264,
      "time": 116,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7160599195"
    },
    {
      "job": 77380431097,
      "time": 82,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6901757477"
    },
    {
      "job": 77380431188,
      "time": 85,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6901757784"
    },
    {
      "job": 77380430878,
      "time": 87,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6901758138"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jbgruber/actions/runs/25622274228",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jbgruber/askgpt",
  "_commit": {
    "id": "30dc1e0b4a92d79e9cc96800b3f32ad6549acd0b",
    "author": "JBGruber <johannesb.gruber@gmail.com>",
    "committer": "JBGruber <johannesb.gruber@gmail.com>",
    "message": "update default completions model\n",
    "time": 1717519419
  },
  "_maintainer": {
    "name": "Johannes Gruber",
    "email": "johannesb.gruber@gmail.com",
    "login": "jbgruber",
    "bluesky": "@jbgruber.bsky.social",
    "uuid": 23524101
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "callr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "rappdirs",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "miniUI",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rstudioapi",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "shinycssloaders",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "jbgruber",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 56,
  "_contributors": [
    {
      "user": "jbgruber",
      "count": 10,
      "uuid": 23524101
    }
  ],
  "_userbio": {
    "uuid": 23524101,
    "type": "user",
    "name": "Johannes Gruber",
    "description": "Senior Researcher/Team Lead @ GESIS"
  },
  "_downloads": {
    "count": 345,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/askgpt"
  },
  "_devurl": "https://github.com/jbgruber/askgpt",
  "_searchresults": 20,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/askgpt.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jbgruber/askgpt",
  "_realowner": "jbgruber",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.2",
      "date": "2023-03-31"
    },
    {
      "version": "0.1.1",
      "date": "2023-05-05"
    },
    {
      "version": "0.1.2",
      "date": "2023-06-26"
    },
    {
      "version": "0.1.3",
      "date": "2023-09-08"
    }
  ],
  "_exports": [
    "annotate_code",
    "askgpt",
    "chat_api",
    "completions_api",
    "document_code",
    "estimate_token",
    "explain_code",
    "list_models",
    "log_init",
    "login",
    "new_conversation",
    "parse_response",
    "prompt_history",
    "response_history",
    "test_function"
  ],
  "_datasets": [
    {
      "name": "token_limits",
      "title": "Max tokens limits of the different models",
      "object": "token_limits",
      "class": [
        "data.frame"
      ],
      "fields": [
        "model",
        "limit"
      ],
      "rows": 6,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "annotate_code",
      "title": "Annotate R code with inline comments",
      "topics": [
        "annotate_code"
      ]
    },
    {
      "page": "askgpt",
      "title": "Ask openai's GPT models a question",
      "topics": [
        "askgpt"
      ]
    },
    {
      "page": "chat_api",
      "title": "Request answer from openai's chat API",
      "topics": [
        "chat_api"
      ]
    },
    {
      "page": "completions_api",
      "title": "Request answer from openai's completions API",
      "topics": [
        "completions_api"
      ]
    },
    {
      "page": "document_code",
      "title": "Document R Code",
      "topics": [
        "document_code"
      ]
    },
    {
      "page": "estimate_token",
      "title": "Estimate token count",
      "topics": [
        "estimate_token"
      ]
    },
    {
      "page": "explain_code",
      "title": "Explain R code",
      "topics": [
        "explain_code"
      ]
    },
    {
      "page": "improve_addin",
      "title": "Improve code/documentation/writing using a prompt",
      "topics": [
        "improve_addin"
      ]
    },
    {
      "page": "list_models",
      "title": "List Models",
      "topics": [
        "list_models"
      ]
    },
    {
      "page": "log_init",
      "title": "Initiate error logging",
      "topics": [
        "log_init"
      ]
    },
    {
      "page": "login",
      "title": "Log in to OpenAI",
      "topics": [
        "login"
      ]
    },
    {
      "page": "new_conversation",
      "title": "Start a new conversation",
      "topics": [
        "new_conversation"
      ]
    },
    {
      "page": "parse_response",
      "title": "Parse response from API functions",
      "topics": [
        "parse_response"
      ]
    },
    {
      "page": "prompt_history",
      "title": "Return the prompt/response history",
      "topics": [
        "prompt_history"
      ]
    },
    {
      "page": "response_history",
      "title": "Return the prompt/response history",
      "topics": [
        "response_history"
      ]
    },
    {
      "page": "test_function",
      "title": "Test R code",
      "topics": [
        "test_function"
      ]
    },
    {
      "page": "token_limits",
      "title": "Max tokens limits of the different models",
      "topics": [
        "token_limits"
      ]
    },
    {
      "page": "tutorialise_addin",
      "title": "Turn R code into a tutorial",
      "topics": [
        "tutorialise_addin"
      ]
    }
  ],
  "_pkglogo": "https://github.com/jbgruber/askgpt/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/jbgruber/askgpt/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "callr",
    "cli",
    "curl",
    "dplyr",
    "generics",
    "glue",
    "httr2",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "openssl",
    "pillar",
    "pkgconfig",
    "processx",
    "ps",
    "R6",
    "rappdirs",
    "rlang",
    "sys",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "Usage.Rmd",
      "filename": "Usage.html",
      "title": "Usage",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Log In",
        "Usage",
        "Configure"
      ],
      "created": "2023-02-22 13:52:09",
      "modified": "2023-06-26 08:25:18",
      "commits": 7
    }
  ],
  "_score": 5.748188027006201,
  "_indexed": true,
  "_nocasepkg": "askgpt",
  "_universes": [
    "jbgruber"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3.9000",
      "date": "2026-05-10T06:58:30.000Z",
      "distro": "noble",
      "commit": "30dc1e0b4a92d79e9cc96800b3f32ad6549acd0b",
      "fileid": "7519342139443bfd7a6dfb9376525ec125e6f6df637fa9dffdffa0bfe758ef8f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/25622274228"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.3.9000",
      "date": "2026-05-10T06:58:28.000Z",
      "distro": "noble",
      "commit": "30dc1e0b4a92d79e9cc96800b3f32ad6549acd0b",
      "fileid": "2e6998a2ab5d36262852ba2dd93bbc15e9a2522269531cf218c951870e4f3a37",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/25622274228"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3.9000",
      "date": "2026-05-10T06:57:59.000Z",
      "commit": "30dc1e0b4a92d79e9cc96800b3f32ad6549acd0b",
      "fileid": "181b8d75d391b1a5be84093ba82418bec627db14e0e166685759a7befb0cb5c6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/25622274228"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.3.9000",
      "date": "2026-05-10T06:57:46.000Z",
      "commit": "30dc1e0b4a92d79e9cc96800b3f32ad6549acd0b",
      "fileid": "ff9a5d6f683ed24633dd5cb49b7fc0970860d0767c1db1f839a9af6e2fbefa3f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/25622274228"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3.9000",
      "date": "2026-05-10T06:57:37.000Z",
      "commit": "30dc1e0b4a92d79e9cc96800b3f32ad6549acd0b",
      "fileid": "3cf4e6d01985cdcf6406e86b10e294e128659832af8a2a216df642a8b61a42cf",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/25622274228"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3.9000",
      "date": "2026-05-10T06:57:38.000Z",
      "commit": "30dc1e0b4a92d79e9cc96800b3f32ad6549acd0b",
      "fileid": "f099f45131b6f98e82b5d97c7910538e473d5e897ea66c7d12f822353806ac83",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/25622274228"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.3.9000",
      "date": "2026-05-10T06:57:40.000Z",
      "commit": "30dc1e0b4a92d79e9cc96800b3f32ad6549acd0b",
      "fileid": "1e8d8264d15af4f0a163bbb5ec5607f78b9dfd0631dbf40b866fb5f5430960b6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/25622274228"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3.9000",
      "date": "2026-05-22T12:35:27.000Z",
      "commit": "30dc1e0b4a92d79e9cc96800b3f32ad6549acd0b",
      "fileid": "7fdf69d7943278511711be613d3dd19cad8e456eab81d1fb9c1ad55ca12f7f62",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/25622274228"
    }
  ]
}