{
  "_id": "6ad08eb2cf31981cbb6eea24",
  "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-10-15 07:23:59 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/9d345d793ee3bc52dbc30bd7f270b6938c184447a4221f66772d4efed743ba22",
  "_filesize": 681870,
  "_sha256": "9d345d793ee3bc52dbc30bd7f270b6938c184447a4221f66772d4efed743ba22",
  "_expires": "2027-01-23T08:28:32.000Z",
  "_created": "2026-10-15T07:23:59.000Z",
  "_published": "2026-10-15T08:28:34.319Z",
  "_buildurl": "https://github.com/r-universe/hauselin/actions/runs/38697999972",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116301478624,
      "time": 133,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11954328898"
    },
    {
      "job": 116301478690,
      "time": 189,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11954979803"
    },
    {
      "job": 116301478559,
      "time": 212,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11958375500"
    },
    {
      "job": 116301479802,
      "time": 179,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11958780864"
    },
    {
      "job": 116299263124,
      "time": 359,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11954764689"
    },
    {
      "job": 116301478766,
      "time": 147,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11954633648"
    },
    {
      "job": 116301478569,
      "time": 244,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11954309364"
    },
    {
      "job": 116301478725,
      "time": 245,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11954703708"
    },
    {
      "job": 116301478527,
      "time": 202,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11955715021"
    }
  ],
  "_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\n",
    "uuid": 7620977,
    "orcid": "0000-0003-4590-7039"
  },
  "_distro": "resolute",
  "_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": 8,
  "_updates": [],
  "_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": 107,
    "description": "Researcher at MIT\r\n"
  },
  "_downloads": {
    "count": 1195,
    "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": 223,
  "_rbuild": "4.6.1",
  "_assets": [
    "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/ollamar.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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",
    "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.906254555161485,
  "_indexed": true,
  "_nocasepkg": "ollamar",
  "_universes": [
    "hauselin"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.2.9000",
      "date": "2026-10-15T07:28:12.000Z",
      "distro": "resolute",
      "commit": "e35d163584633b67e40b561c63225ce16b00a8bb",
      "fileid": "https://r2.ropensci.org/f7f60af41af5b231a283dabab3da3b5405270fb131112e56ebc33f9b8f63b212",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hauselin/actions/runs/38697999972"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.2.9000",
      "date": "2026-10-15T07:28:05.000Z",
      "distro": "resolute",
      "commit": "e35d163584633b67e40b561c63225ce16b00a8bb",
      "fileid": "https://r2.ropensci.org/c037ff1910771ff712a837d79448a580d04809f91b3a74852e5976d549d9aa0c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hauselin/actions/runs/38697999972"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.2.9000",
      "date": "2026-10-15T08:21:28.000Z",
      "commit": "e35d163584633b67e40b561c63225ce16b00a8bb",
      "fileid": "https://r2.ropensci.org/68b47aaee66b465774feecda3a572dfaf2d3e53ce5d6817445d70ef513b5f926",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hauselin/actions/runs/38697999972"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.2.9000",
      "date": "2026-10-15T08:27:19.000Z",
      "commit": "e35d163584633b67e40b561c63225ce16b00a8bb",
      "fileid": "https://r2.ropensci.org/de6464069c469edbc38f035c07bef70a96bc6cbebec9124176cb29c6d9043271",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hauselin/actions/runs/38697999972"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.2.9000",
      "date": "2026-10-15T07:28:44.000Z",
      "commit": "e35d163584633b67e40b561c63225ce16b00a8bb",
      "fileid": "https://r2.ropensci.org/8b02974e65a1bd34c76d8f0ccedc7d1429edd6e54f0f7ad7f28c15d016bbbe78",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hauselin/actions/runs/38697999972"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.2.9000",
      "date": "2026-10-15T07:28:30.000Z",
      "commit": "e35d163584633b67e40b561c63225ce16b00a8bb",
      "fileid": "https://r2.ropensci.org/8d5b7d7b29f5eb6d547c63b440f5cd3cd869fbe6ec1763c14fcf47ea253332a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hauselin/actions/runs/38697999972"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.2.9000",
      "date": "2026-10-15T07:28:25.000Z",
      "commit": "e35d163584633b67e40b561c63225ce16b00a8bb",
      "fileid": "https://r2.ropensci.org/36dec61cda72164870330ba776f28894cd81416ddf92ad7b1ae30f090c64b505",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hauselin/actions/runs/38697999972"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.2.9000",
      "date": "2026-10-15T07:27:41.000Z",
      "commit": "e35d163584633b67e40b561c63225ce16b00a8bb",
      "fileid": "https://r2.ropensci.org/707ceba91f47994d3b15d32667ae7af340597c19009e028e4c6d3cbe5a3be7de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hauselin/actions/runs/38697999972"
    }
  ]
}