{
  "_id": "6a4df3b7e691af43f13de993",
  "Package": "rgemini",
  "Type": "Package",
  "Title": "R interface to Google Gemini API",
  "Version": "0.1.0",
  "Author": "Sebastian Kranz",
  "Maintainer": "Sebastian Kranz <sebastian.kranz@uni-ulm.de>",
  "Description": "In development",
  "License": "GPL>=2.0",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.1",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://skranz.r-universe.dev",
  "Date/Publication": "2025-07-13 16:43:31 UTC",
  "RemoteUrl": "https://github.com/skranz/rgemini",
  "RemoteRef": "main",
  "RemoteSha": "26d3006eba64ec3063c8a66a289db8d5bbab2717",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-08 06:49:53 UTC",
    "User": "root"
  },
  "_user": "skranz",
  "_type": "src",
  "_file": "rgemini_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/399be776d5989b2063879205286b8b1b6e75285a2159c3aafcd76ab7912d1028",
  "_filesize": 393947,
  "_sha256": "399be776d5989b2063879205286b8b1b6e75285a2159c3aafcd76ab7912d1028",
  "_expires": "2026-10-16T06:52:37.000Z",
  "_created": "2026-07-08T06:49:53.000Z",
  "_published": "2026-07-08T06:52:38.965Z",
  "_jobs": [
    {
      "job": 85805556517,
      "time": 127,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8160402066"
    },
    {
      "job": 85805556538,
      "time": 123,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8160401080"
    },
    {
      "job": 85805556523,
      "time": 81,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8160387598"
    },
    {
      "job": 85805556572,
      "time": 88,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8160389655"
    },
    {
      "job": 85805110317,
      "time": 171,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8160360642"
    },
    {
      "job": 85805556533,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8160398041"
    },
    {
      "job": 85805556558,
      "time": 72,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8160384854"
    },
    {
      "job": 85805556556,
      "time": 75,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8160385988"
    },
    {
      "job": 85805556564,
      "time": 71,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8160384798"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/skranz/actions/runs/28923282790",
  "_status": "success",
  "_upstream": "https://github.com/skranz/rgemini",
  "_commit": {
    "id": "26d3006eba64ec3063c8a66a289db8d5bbab2717",
    "author": "skranz-auto <xsx50@uni-ulm.de>",
    "committer": "skranz-auto <xsx50@uni-ulm.de>",
    "message": "Update from server\n",
    "time": 1752425011
  },
  "_maintainer": {
    "name": "Sebastian Kranz",
    "email": "sebastian.kranz@uni-ulm.de",
    "login": "skranz",
    "bluesky": "@sebkranz.bsky.social",
    "description": "",
    "uuid": 1413022
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "jsonlite",
      "role": "Depends"
    },
    {
      "package": "httr",
      "role": "Depends"
    },
    {
      "package": "restorepoint",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Depends"
    }
  ],
  "_owner": "skranz",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2025-28",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "skranz-auto",
      "count": 21,
      "uuid": 124874982
    },
    {
      "user": "skranz",
      "count": 1,
      "uuid": 1413022
    }
  ],
  "_userbio": {
    "uuid": 1413022,
    "type": "user",
    "name": "Sebastian Kranz",
    "followers": 216
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rgemini"
  },
  "_devurl": "https://github.com/skranz/rgemini",
  "_searchresults": 12,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rgemini.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "arr_resp",
    "escape_quotes",
    "example",
    "first.non.null",
    "gemini_cache_context",
    "gemini_content",
    "gemini_context",
    "gemini_context_cache_expire_sec",
    "gemini_curl_make_contents",
    "gemini_delete_all_context_caches",
    "gemini_delete_context_cache",
    "gemini_list_context_caches",
    "gemini_list_models",
    "gemini_media_upload",
    "gemini_resp_to_df",
    "gemini_update_context_cache",
    "guess_mime_type",
    "infer_response_type",
    "internal_gemini_parse_httr_resp",
    "na.val",
    "obj_resp",
    "response_schema",
    "run_gemini",
    "set_gemini_api_key"
  ],
  "_help": [
    {
      "page": "arr_resp",
      "title": "Create an Array Response Template",
      "topics": [
        "arr_resp"
      ]
    },
    {
      "page": "gemini_cache_context",
      "title": "Cache a Gemini context",
      "topics": [
        "gemini_cache_context"
      ]
    },
    {
      "page": "gemini_content",
      "title": "Extract content from a more detailed run_gemini response",
      "topics": [
        "gemini_content"
      ]
    },
    {
      "page": "gemini_context",
      "title": "Create a Gemini context",
      "topics": [
        "gemini_context"
      ]
    },
    {
      "page": "gemini_context_cache_expire_sec",
      "title": "Get remaining context cache expiration time",
      "topics": [
        "gemini_context_cache_expire_sec"
      ]
    },
    {
      "page": "gemini_delete_all_context_caches",
      "title": "Delete all cached contexts",
      "topics": [
        "gemini_delete_all_context_caches"
      ]
    },
    {
      "page": "gemini_delete_context_cache",
      "title": "Delete a cached context",
      "topics": [
        "gemini_delete_context_cache"
      ]
    },
    {
      "page": "gemini_list_context_caches",
      "title": "List all cached contexts",
      "topics": [
        "gemini_list_context_caches"
      ]
    },
    {
      "page": "gemini_media_upload",
      "title": "Upload a document or image to Gemini API.",
      "topics": [
        "gemini_media_upload"
      ]
    },
    {
      "page": "gemini_update_context_cache",
      "title": "Update cached context expiration",
      "topics": [
        "gemini_update_context_cache"
      ]
    },
    {
      "page": "infer_response_type",
      "title": "Infer the JSON Response Type",
      "topics": [
        "infer_response_type"
      ]
    },
    {
      "page": "obj_resp",
      "title": "Create an Object Response Template",
      "topics": [
        "obj_resp"
      ]
    },
    {
      "page": "response_schema",
      "title": "Generate a JSON Schema from a Response Template",
      "topics": [
        "response_schema"
      ]
    },
    {
      "page": "run_gemini",
      "title": "Generate Content with Gemini API",
      "topics": [
        "run_gemini"
      ]
    },
    {
      "page": "set_gemini_api_key",
      "title": "Set your Gemini API",
      "topics": [
        "set_gemini_api_key"
      ]
    }
  ],
  "_readme": "https://github.com/skranz/rgemini/raw/main/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "dplyr",
    "generics",
    "glue",
    "httr",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "R6",
    "restorepoint",
    "rlang",
    "sys",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 2.8573324964312685,
  "_indexed": true,
  "_nocasepkg": "rgemini",
  "_universes": [
    "skranz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-08T06:52:05.000Z",
      "distro": "resolute",
      "commit": "26d3006eba64ec3063c8a66a289db8d5bbab2717",
      "fileid": "https://r2.ropensci.org/961eba7639eba4a5f8e21c3dfe920eb9b8b7b738577c8da61718f192618a805e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/28923282790"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-08T06:52:02.000Z",
      "distro": "resolute",
      "commit": "26d3006eba64ec3063c8a66a289db8d5bbab2717",
      "fileid": "https://r2.ropensci.org/aedf565d93ec19180fba2706db2391cc23d48f1e6a2cf2dde575822b8bf4c2ef",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/28923282790"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-08T06:51:22.000Z",
      "commit": "26d3006eba64ec3063c8a66a289db8d5bbab2717",
      "fileid": "https://r2.ropensci.org/745172ff3d70efd8ec32fd385667af02cd8ebdedd79d18f125dac55cdd752362",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/28923282790"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-08T06:51:27.000Z",
      "commit": "26d3006eba64ec3063c8a66a289db8d5bbab2717",
      "fileid": "https://r2.ropensci.org/f8ec9633f24442179d72cfcb65ff0ef7d93c50af3a6d9ec477151745d3946847",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/28923282790"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-08T06:52:04.000Z",
      "commit": "26d3006eba64ec3063c8a66a289db8d5bbab2717",
      "fileid": "https://r2.ropensci.org/999cb27cb31b22e3197545c9515c0f66f4120f116f9f7d52b4d5da118cd6d032",
      "status": "success",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/28923282790"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-08T06:51:01.000Z",
      "commit": "26d3006eba64ec3063c8a66a289db8d5bbab2717",
      "fileid": "https://r2.ropensci.org/4e584ecaf913006f6198462ccc9311d485570f893aa30c14c09292e24dd24bd6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/28923282790"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-08T06:51:09.000Z",
      "commit": "26d3006eba64ec3063c8a66a289db8d5bbab2717",
      "fileid": "https://r2.ropensci.org/68ab6f3bcc709ee708aaf3980e242d912057ccec3081b7875b6d3fab96d32657",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/28923282790"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-08T06:51:04.000Z",
      "commit": "26d3006eba64ec3063c8a66a289db8d5bbab2717",
      "fileid": "https://r2.ropensci.org/bc76b1109f7d8a7d8a6a55175c725805b819dec7c749ee8fa66121007ba8160d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/28923282790"
    }
  ]
}