{
  "_id": "6a49c4dafbe299ac63d6c7dc",
  "Package": "ollamar",
  "Title": "'Ollama' Language Models",
  "Version": "1.2.2.9000",
  "Authors@R": "c( \nperson(\"Hause\", \"Lin\", , \"hauselin@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-4590-7039\")),\nperson(\"Tawab\", \"Safi\", , \"asaficontact@gmail.com\", role = c(\"aut\", \"ctb\"),\ncomment = c(ORCID = \"0009-0000-5659-9890\"))\n)",
  "Description": "An interface to easily run local language models with\n'Ollama' <https://ollama.com> server and API endpoints (see\n<https://github.com/ollama/ollama/blob/main/docs/api.md> for\ndetails). It lets you run open-source large language models\nlocally on your machine.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "BugReports": "https://github.com/hauselin/ollama-r/issues",
  "URL": "https://hauselin.github.io/ollama-r/,\nhttps://github.com/hauselin/ollama-r",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://hauselin.r-universe.dev",
  "Date/Publication": "2025-07-21 13:46:58 UTC",
  "RemoteUrl": "https://github.com/hauselin/ollama-r",
  "RemoteRef": "HEAD",
  "RemoteSha": "e35d163584633b67e40b561c63225ce16b00a8bb",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-17 09:32:47 UTC",
    "User": "root"
  },
  "Author": "Hause Lin [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-4590-7039>),\nTawab Safi [aut, ctb] (ORCID: <https://orcid.org/0009-0000-5659-9890>)",
  "Maintainer": "Hause Lin <hauselin@gmail.com>",
  "_user": "hauselin",
  "_type": "src",
  "_file": "ollamar_1.2.2.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/10fdf117401587f2a26adb90cc03b787e3e37f69b472918ed1c7b621e5fde9a4",
  "_filesize": 685763,
  "_sha256": "10fdf117401587f2a26adb90cc03b787e3e37f69b472918ed1c7b621e5fde9a4",
  "_expires": "2026-10-13T02:43:37.000Z",
  "_created": "2026-06-17T09:32:47.000Z",
  "_published": "2026-07-05T02:43:38.951Z",
  "_jobs": [
    {
      "job": 85186695937,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7691459586"
    },
    {
      "job": 85186695981,
      "time": 117,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7691454913"
    },
    {
      "job": 85186695982,
      "time": 151,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7691459439"
    },
    {
      "job": 85186696044,
      "time": 132,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7691448067"
    },
    {
      "job": 85186695941,
      "time": 189,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7691407024"
    },
    {
      "job": 85186695939,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7691452403"
    },
    {
      "job": 85186695920,
      "time": 179,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7691481070"
    },
    {
      "job": 85186695992,
      "time": 169,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7691478477"
    },
    {
      "job": 85186695896,
      "time": 193,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7691487175"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/hauselin/actions/runs/27679366785",
  "_status": "success",
  "_upstream": "https://github.com/hauselin/ollama-r",
  "_commit": {
    "id": "e35d163584633b67e40b561c63225ce16b00a8bb",
    "author": "Hause Lin <hauselin@gmail.com>",
    "committer": "Hause Lin <hauselin@gmail.com>",
    "message": "Fix truncate #33\n",
    "time": 1753105618
  },
  "_maintainer": {
    "name": "Hause Lin",
    "email": "hauselin@gmail.com",
    "login": "hauselin",
    "linkedin": "in/hauselin",
    "twitter": "@hauselin",
    "description": "Researcher at MIT & World Bank\n",
    "uuid": 7620977,
    "orcid": "0000-0003-4590-7039"
  },
  "_distro": "noble",
  "_registered": true,
  "_dependencies": [
    {
      "package": "base64enc",
      "role": "Imports"
    },
    {
      "package": "crayon",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "hauselin",
  "_selfowned": true,
  "_usedby": 7,
  "_updates": [
    {
      "week": "2025-30",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "ai",
    "api",
    "llm",
    "llms",
    "ollama",
    "ollama-api"
  ],
  "_stars": 126,
  "_contributors": [
    {
      "user": "hauselin",
      "count": 170,
      "uuid": 7620977
    },
    {
      "user": "asaficontact",
      "count": 9,
      "uuid": 51862305
    },
    {
      "user": "kennethenevoldsen",
      "count": 2,
      "uuid": 23721977
    }
  ],
  "_userbio": {
    "uuid": 7620977,
    "type": "user",
    "name": "Hause Lin",
    "followers": 103,
    "description": "Researcher at MIT & World Bank\r\n"
  },
  "_downloads": {
    "count": 1479,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ollamar"
  },
  "_devurl": "https://github.com/hauselin/ollama-r",
  "_pkgdown": "https://hauselin.github.io/ollama-r/",
  "_searchresults": 218,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/ollamar.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/hauselin/ollama-r",
  "_realowner": "hauselin",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.1.1",
      "date": "2024-05-02"
    },
    {
      "version": "1.2.0",
      "date": "2024-08-17"
    },
    {
      "version": "1.2.1",
      "date": "2024-08-26"
    },
    {
      "version": "1.2.2",
      "date": "2025-01-08"
    }
  ],
  "_exports": [
    "append_message",
    "chat",
    "check_option_valid",
    "check_options",
    "copy",
    "create",
    "create_message",
    "create_messages",
    "create_request",
    "delete",
    "delete_message",
    "embed",
    "embeddings",
    "encode_images_in_messages",
    "generate",
    "image_encode_base64",
    "insert_message",
    "last_response",
    "list_models",
    "model_avail",
    "ohelp",
    "prepend_message",
    "ps",
    "pull",
    "push",
    "resp_process",
    "search_options",
    "show",
    "test_connection",
    "validate_message",
    "validate_messages",
    "validate_options",
    "ver"
  ],
  "_help": [
    {
      "page": "append_message",
      "title": "Append message to a list",
      "topics": [
        "append_message"
      ]
    },
    {
      "page": "chat",
      "title": "Generate a chat completion with message history",
      "topics": [
        "chat"
      ]
    },
    {
      "page": "check_option_valid",
      "title": "Check if an option is valid",
      "topics": [
        "check_option_valid"
      ]
    },
    {
      "page": "check_options",
      "title": "Check if a vector of options are valid",
      "topics": [
        "check_options"
      ]
    },
    {
      "page": "copy",
      "title": "Copy a model",
      "topics": [
        "copy"
      ]
    },
    {
      "page": "create",
      "title": "Create a model",
      "topics": [
        "create"
      ]
    },
    {
      "page": "create_message",
      "title": "Create a message",
      "topics": [
        "create_message"
      ]
    },
    {
      "page": "create_messages",
      "title": "Create a list of messages",
      "topics": [
        "create_messages"
      ]
    },
    {
      "page": "create_request",
      "title": "Create a httr2 request object",
      "topics": [
        "create_request"
      ]
    },
    {
      "page": "delete",
      "title": "Delete a model and its data",
      "topics": [
        "delete"
      ]
    },
    {
      "page": "delete_message",
      "title": "Delete a message in a specified position from a list",
      "topics": [
        "delete_message"
      ]
    },
    {
      "page": "embed",
      "title": "Generate embedding for inputs",
      "topics": [
        "embed"
      ]
    },
    {
      "page": "embeddings",
      "title": "Generate embeddings for a single prompt - deprecated in favor of 'embed()'",
      "topics": [
        "embeddings"
      ]
    },
    {
      "page": "encode_images_in_messages",
      "title": "Encode images in messages to base64 format",
      "topics": [
        "encode_images_in_messages"
      ]
    },
    {
      "page": "generate",
      "title": "Generate a response for a given prompt",
      "topics": [
        "generate"
      ]
    },
    {
      "page": "image_encode_base64",
      "title": "Read image file and encode it to base64",
      "topics": [
        "image_encode_base64"
      ]
    },
    {
      "page": "insert_message",
      "title": "Insert message into a list at a specified position",
      "topics": [
        "insert_message"
      ]
    },
    {
      "page": "last_response",
      "title": "Get last response",
      "topics": [
        "last_response"
      ]
    },
    {
      "page": "list_models",
      "title": "List models that are available locally",
      "topics": [
        "list_models"
      ]
    },
    {
      "page": "model_avail",
      "title": "Check if model is available locally",
      "topics": [
        "model_avail"
      ]
    },
    {
      "page": "model_options",
      "title": "Model options",
      "topics": [
        "model_options"
      ]
    },
    {
      "page": "ohelp",
      "title": "Chat with a model in real-time in R console",
      "topics": [
        "ohelp"
      ]
    },
    {
      "page": "package_config",
      "title": "Package configuration",
      "topics": [
        "package_config"
      ]
    },
    {
      "page": "prepend_message",
      "title": "Prepend message to a list",
      "topics": [
        "prepend_message"
      ]
    },
    {
      "page": "ps",
      "title": "List models that are currently loaded into memory",
      "topics": [
        "ps"
      ]
    },
    {
      "page": "pull",
      "title": "Pull/download a model from the Ollama library",
      "topics": [
        "pull"
      ]
    },
    {
      "page": "push",
      "title": "Push or upload a model to a model library",
      "topics": [
        "push"
      ]
    },
    {
      "page": "resp_process",
      "title": "Process httr2 response object",
      "topics": [
        "resp_process"
      ]
    },
    {
      "page": "search_options",
      "title": "Search for options based on a query",
      "topics": [
        "search_options"
      ]
    },
    {
      "page": "show",
      "title": "Show model information",
      "topics": [
        "show"
      ]
    },
    {
      "page": "test_connection",
      "title": "Test connection to Ollama server",
      "topics": [
        "test_connection"
      ]
    },
    {
      "page": "validate_message",
      "title": "Validate a message",
      "topics": [
        "validate_message"
      ]
    },
    {
      "page": "validate_messages",
      "title": "Validate a list of messages",
      "topics": [
        "validate_messages"
      ]
    },
    {
      "page": "validate_options",
      "title": "Validate additional options or parameters provided to the API call",
      "topics": [
        "validate_options"
      ]
    },
    {
      "page": "ver",
      "title": "Retrieve Ollama version",
      "topics": [
        "ver"
      ]
    }
  ],
  "_pkglogo": "https://github.com/hauselin/ollama-r/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/hauselin/ollama-r/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "base64enc",
    "cli",
    "crayon",
    "curl",
    "glue",
    "httr2",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "openssl",
    "pillar",
    "pkgconfig",
    "R6",
    "rappdirs",
    "rlang",
    "sys",
    "tibble",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "ollamar.Rmd",
      "filename": "ollamar.html",
      "title": "Using ollamar",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Installation",
        "Usage",
        "Pull/download model",
        "Delete model",
        "Generate completion",
        "Chat",
        "Stream responses",
        "Format messages for chat",
        "Embeddings",
        "Parse httr2_response objects with resp_process()",
        "Advanced usage",
        "Tool calling",
        "Structured outputs",
        "Parallel requests"
      ],
      "created": "2024-09-10 15:35:05",
      "modified": "2024-12-30 03:33:42",
      "commits": 9
    }
  ],
  "_score": 8.931014507452979,
  "_indexed": true,
  "_nocasepkg": "ollamar",
  "_universes": [
    "hauselin"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.2.9000",
      "date": "2026-06-17T09:34:59.000Z",
      "distro": "noble",
      "commit": "e35d163584633b67e40b561c63225ce16b00a8bb",
      "fileid": "https://r2.ropensci.org/a158b94d2f5e9198c09cfe87223a7173563e74a7028a0511e1b2972cf8b22c62",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hauselin/actions/runs/27679366785"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.2.9000",
      "date": "2026-06-17T09:34:46.000Z",
      "distro": "noble",
      "commit": "e35d163584633b67e40b561c63225ce16b00a8bb",
      "fileid": "https://r2.ropensci.org/fcfc53778e44b0432994697c945d79c9167403680d8ab81395578a1ece179653",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hauselin/actions/runs/27679366785"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.2.9000",
      "date": "2026-06-17T09:35:01.000Z",
      "commit": "e35d163584633b67e40b561c63225ce16b00a8bb",
      "fileid": "https://r2.ropensci.org/8ec30d9a731e0efe0bfbdd3f23b5d7b12404904d9ec91a23b8b0aa3b22d93119",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hauselin/actions/runs/27679366785"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.2.9000",
      "date": "2026-06-17T09:34:33.000Z",
      "commit": "e35d163584633b67e40b561c63225ce16b00a8bb",
      "fileid": "https://r2.ropensci.org/b12e2626c3249b0c1ff5c690ea35640f268d812c4e392d7fd582b04b666aa6bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hauselin/actions/runs/27679366785"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.2.9000",
      "date": "2026-06-17T09:34:55.000Z",
      "commit": "e35d163584633b67e40b561c63225ce16b00a8bb",
      "fileid": "https://r2.ropensci.org/6977aa2f5109d9768d09b6d3ed0f8e1610a77f67a22ff912cfcbe879a060066a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hauselin/actions/runs/27679366785"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.2.9000",
      "date": "2026-06-17T09:34:07.000Z",
      "commit": "e35d163584633b67e40b561c63225ce16b00a8bb",
      "fileid": "https://r2.ropensci.org/b562a8d11f1168a743de872d6d8c84d18147368c25a97139ad610281ee52827e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hauselin/actions/runs/27679366785"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.2.9000",
      "date": "2026-06-17T09:34:02.000Z",
      "commit": "e35d163584633b67e40b561c63225ce16b00a8bb",
      "fileid": "https://r2.ropensci.org/1946fc93dfdf86659c05fc59227cab8cf7a946db8d97ee263cb18a5c1667131c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hauselin/actions/runs/27679366785"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.2.9000",
      "date": "2026-06-17T09:34:21.000Z",
      "commit": "e35d163584633b67e40b561c63225ce16b00a8bb",
      "fileid": "https://r2.ropensci.org/95d090226e344a4e14993a7c42041f54092caca6315641fbd28c5dd2164b1697",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hauselin/actions/runs/27679366785"
    }
  ]
}