{
  "_id": "6a1f0371b401979e7341b51d",
  "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-05-18 08:02:18 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>",
  "MD5sum": "0a8ffe0d74ca4f4af6fd1af9bc6e2abd",
  "_user": "hauselin",
  "_type": "src",
  "_file": "ollamar_1.2.2.9000.tar.gz",
  "_fileid": "df69fb1d2157e1abe89885ba31e727c6dfd8156632a908eae8a9f640fc0b8d02",
  "_filesize": 681769,
  "_sha256": "df69fb1d2157e1abe89885ba31e727c6dfd8156632a908eae8a9f640fc0b8d02",
  "_created": "2026-05-18T08:02:18.000Z",
  "_published": "2026-06-02T16:23:13.588Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79119528268,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7052477218"
    },
    {
      "job": 79119528108,
      "time": 131,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7052477765"
    },
    {
      "job": 79119528178,
      "time": 155,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7052474032"
    },
    {
      "job": 79119527873,
      "time": 138,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7052473710"
    },
    {
      "job": 79119527324,
      "time": 170,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7052438891"
    },
    {
      "job": 79119527368,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7363627806"
    },
    {
      "job": 79119528201,
      "time": 184,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7052493463"
    },
    {
      "job": 79119528522,
      "time": 166,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7052488128"
    },
    {
      "job": 79119528234,
      "time": 225,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7052506080"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hauselin/actions/runs/26020957672",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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": [
    {
      "week": "2025-30",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "ai",
    "api",
    "llm",
    "llms",
    "ollama",
    "ollama-api"
  ],
  "_stars": 125,
  "_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",
    "description": "Researcher at MIT & World Bank\r\n"
  },
  "_downloads": {
    "count": 1532,
    "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": 193,
  "_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",
    "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.947937329024022,
  "_indexed": true,
  "_nocasepkg": "ollamar",
  "_universes": [
    "hauselin"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.2.9000",
      "date": "2026-05-18T08:04:25.000Z",
      "distro": "noble",
      "commit": "e35d163584633b67e40b561c63225ce16b00a8bb",
      "fileid": "7d0d9c1e9153385b2eb4581ac3559ab53d98135776f01c69ceb2bfa5a2d316a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hauselin/actions/runs/26020957672"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.2.9000",
      "date": "2026-05-18T08:04:27.000Z",
      "distro": "noble",
      "commit": "e35d163584633b67e40b561c63225ce16b00a8bb",
      "fileid": "02a33292881ac21ef6c5f13eaa95703b74a42f2863076b04c8e3617f45abe09f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hauselin/actions/runs/26020957672"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.2.9000",
      "date": "2026-05-18T08:04:19.000Z",
      "commit": "e35d163584633b67e40b561c63225ce16b00a8bb",
      "fileid": "73d891ad48a1d4ccbaad3c93aa72cc158aed7505bc1e16fcfc9e4abae966babc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hauselin/actions/runs/26020957672"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.2.9000",
      "date": "2026-05-18T08:04:17.000Z",
      "commit": "e35d163584633b67e40b561c63225ce16b00a8bb",
      "fileid": "9bf3289293ff8c3b0ac4b0c0a51a3c9d61ab1dfbc492312cb52a1eedc30f1409",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hauselin/actions/runs/26020957672"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.2.9000",
      "date": "2026-05-18T08:03:38.000Z",
      "commit": "e35d163584633b67e40b561c63225ce16b00a8bb",
      "fileid": "9b9a3e18bd58a75b9dc2d7d25c6ea82f4affa17fd63d69671f05f323a63b74b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hauselin/actions/runs/26020957672"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.2.9000",
      "date": "2026-05-18T08:03:22.000Z",
      "commit": "e35d163584633b67e40b561c63225ce16b00a8bb",
      "fileid": "546c05a2a2ac6160891f54f3077212769e47a5edeffb4187bf0233faf9ed8574",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hauselin/actions/runs/26020957672"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.2.9000",
      "date": "2026-05-18T08:04:18.000Z",
      "commit": "e35d163584633b67e40b561c63225ce16b00a8bb",
      "fileid": "cd61b03dffca2f7a1d2983bb46d00571681c3f9c198f40c1ae3aa70b6113363d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hauselin/actions/runs/26020957672"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.2.9000",
      "date": "2026-06-02T16:22:58.000Z",
      "commit": "e35d163584633b67e40b561c63225ce16b00a8bb",
      "fileid": "1bb2039beaa4b0ff25d4a4436c2244636a4df7e6569905d0d703c2499a9bf09d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hauselin/actions/runs/26020957672"
    }
  ]
}