{
  "_id": "6ab11a5c3d719c1f84087168",
  "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-09-21 11:42:38 UTC",
    "User": "root"
  },
  "Author": "Johannes Gruber [aut, cre]",
  "Maintainer": "Johannes Gruber <johannesb.gruber@gmail.com>",
  "_user": "jbgruber",
  "_type": "src",
  "_file": "askgpt_0.1.3.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/e4400b0da5ee22d3222f7dd1e7883e446408e1d90f0d9441f1248f70b067e26f",
  "_filesize": 2589649,
  "_sha256": "e4400b0da5ee22d3222f7dd1e7883e446408e1d90f0d9441f1248f70b067e26f",
  "_expires": "2026-12-30T11:51:54.000Z",
  "_created": "2026-09-21T11:42:38.000Z",
  "_published": "2026-09-21T11:51:56.197Z",
  "_jobs": [
    {
      "job": 106319333812,
      "time": 142,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "10637050381"
    },
    {
      "job": 106319333913,
      "time": 141,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "10636616220"
    },
    {
      "job": 106319333797,
      "time": 89,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "10635764960"
    },
    {
      "job": 106319333858,
      "time": 101,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "10637400163"
    },
    {
      "job": 106318483951,
      "time": 179,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10635454320"
    },
    {
      "job": 106319333724,
      "time": 124,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10636118805"
    },
    {
      "job": 106319333853,
      "time": 75,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "10635524375"
    },
    {
      "job": 106319333869,
      "time": 68,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "10636675987"
    },
    {
      "job": 106319333767,
      "time": 66,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "10635479551"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/jbgruber/actions/runs/35595220757",
  "_status": "success",
  "_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",
    "description": "Senior Researcher/Team Lead @ GESIS",
    "uuid": 23524101
  },
  "_distro": "resolute",
  "_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",
    "followers": 194,
    "description": "Senior Researcher/Team Lead @ GESIS"
  },
  "_downloads": {
    "count": 465,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/askgpt"
  },
  "_devurl": "https://github.com/jbgruber/askgpt",
  "_searchresults": 20,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/askgpt.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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",
    "otel",
    "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-09-21T11:44:56.000Z",
      "distro": "resolute",
      "commit": "30dc1e0b4a92d79e9cc96800b3f32ad6549acd0b",
      "fileid": "https://r2.ropensci.org/8062833d410b1303b929669230f918b4af15e78828db6a7f8744adefc0f1efbd",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/35595220757"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.3.9000",
      "date": "2026-09-21T11:44:56.000Z",
      "distro": "resolute",
      "commit": "30dc1e0b4a92d79e9cc96800b3f32ad6549acd0b",
      "fileid": "https://r2.ropensci.org/5e100fe901ac76217033a7024eeeb6c931261cb98f0e6353591b064aca8c407e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/35595220757"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3.9000",
      "date": "2026-09-21T11:50:30.000Z",
      "commit": "30dc1e0b4a92d79e9cc96800b3f32ad6549acd0b",
      "fileid": "https://r2.ropensci.org/3c172b418b4c3e7bb25d944f83a0c1b47cab111cbe6644d2aa8fdd3cf4c78785",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/35595220757"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.3.9000",
      "date": "2026-09-21T11:51:11.000Z",
      "commit": "30dc1e0b4a92d79e9cc96800b3f32ad6549acd0b",
      "fileid": "https://r2.ropensci.org/d631010c693e33397ecd16fef3e1eeb9243793eef92403e103b9a5a31a5b3a85",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/35595220757"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3.9000",
      "date": "2026-09-21T11:44:55.000Z",
      "commit": "30dc1e0b4a92d79e9cc96800b3f32ad6549acd0b",
      "fileid": "https://r2.ropensci.org/52afff4df2f4f908b7c384952951c9a9b064eb9c36fbb0c469167b4f3da58155",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/35595220757"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3.9000",
      "date": "2026-09-21T11:43:43.000Z",
      "commit": "30dc1e0b4a92d79e9cc96800b3f32ad6549acd0b",
      "fileid": "https://r2.ropensci.org/b331616c2122be5e141eeb31a49485957c790aabf02f98c73bdbdfe9379a9c98",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/35595220757"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3.9000",
      "date": "2026-09-21T11:43:40.000Z",
      "commit": "30dc1e0b4a92d79e9cc96800b3f32ad6549acd0b",
      "fileid": "https://r2.ropensci.org/60f60ab31f82561d51d7954df9da38c737ab2052f20094009625c7e2b397e13f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/35595220757"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.3.9000",
      "date": "2026-09-21T11:43:40.000Z",
      "commit": "30dc1e0b4a92d79e9cc96800b3f32ad6549acd0b",
      "fileid": "https://r2.ropensci.org/c3050f8cf4550b751f77d0939b9b18889158a8812b64513c867d760370417298",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/35595220757"
    }
  ]
}