{
  "_id": "6a1ef207b401979e73413dab",
  "Package": "xnatR",
  "Type": "Package",
  "Title": "Interface with XNAT Systems",
  "Version": "0.2.0",
  "Author": "Bradley Buchsbaum [aut, cre]",
  "Maintainer": "Bradley Buchsbaum <brad.buchsbaum@gmail.com>",
  "Authors@R": "person(\"Bradley\", \"Buchsbaum\",\nemail = \"brad.buchsbaum@gmail.com\",\nrole = c(\"aut\", \"cre\"))",
  "Description": "An R package for interacting with XNAT systems via the\nREST API. Provides functions to authenticate, list\nprojects/subjects/experiments/scans, search, and download data\nfrom XNAT neuroimaging archives.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/bbuchsbaum/xnatR",
  "BugReports": "https://github.com/bbuchsbaum/xnatR/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "SystemRequirements": "fzf (optional, for the xnat_explore() terminal\nbrowser)",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://bbuchsbaum.r-universe.dev",
  "Date/Publication": "2026-06-02 13:09:45 UTC",
  "RemoteUrl": "https://github.com/bbuchsbaum/xnatR",
  "RemoteRef": "HEAD",
  "RemoteSha": "6e59d77b7af8503ebb9f33778ab07e124273233f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 15:00:11 UTC",
    "User": "root"
  },
  "MD5sum": "8a59ad1308c1dae66343bf96a27e3a2f",
  "_user": "bbuchsbaum",
  "_type": "src",
  "_file": "xnatR_0.2.0.tar.gz",
  "_fileid": "64014fdae3fbb7c595eb53c4739d8ecd9f2c74a2f49f302b514de26bd96eb229",
  "_filesize": 248773,
  "_sha256": "64014fdae3fbb7c595eb53c4739d8ecd9f2c74a2f49f302b514de26bd96eb229",
  "_created": "2026-06-02T15:00:11.000Z",
  "_published": "2026-06-02T15:08:55.370Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79102408971,
      "time": 171,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7361568113"
    },
    {
      "job": 79102408590,
      "time": 133,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7361551402"
    },
    {
      "job": 79102408837,
      "time": 111,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7361707944"
    },
    {
      "job": 79102408696,
      "time": 108,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7361708678"
    },
    {
      "job": 79101605433,
      "time": 207,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7361489164"
    },
    {
      "job": 79102408694,
      "time": 182,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7361573624"
    },
    {
      "job": 79102408646,
      "time": 98,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7361534165"
    },
    {
      "job": 79102408714,
      "time": 103,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7361536767"
    },
    {
      "job": 79102408927,
      "time": 85,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7361529045"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/26828159840",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/bbuchsbaum/xnatR",
  "_commit": {
    "id": "6e59d77b7af8503ebb9f33778ab07e124273233f",
    "author": "bbuchsbaum <brad.buchsbaum@gmail.com>",
    "committer": "bbuchsbaum <brad.buchsbaum@gmail.com>",
    "message": "feat: add xnat_explore() fzf terminal browser\n\nAdd an interactive, fuzzy-searchable explorer that drills down the\nproject -> subject -> experiment -> scan hierarchy via fzf, with a preview\npane (row detail, and per-scan DICOM headers via dicom_dump() at the scan\nlevel). Keys: Enter open, Tab mark, Ctrl-S return marked rows, Ctrl-D\ndownload to dest_dir, Ctrl-E jump to all sessions in the project, Ctrl-O\nopen in the web UI, Esc back. Entry can be seeded with project/subject/\nexperiment ids to skip levels.\n\nModal, R-orchestrated design: R holds navigation state and invokes fzf once\nper level, so data is fetched in-process (no cold R per keystroke) and all\nlogic is unit-testable. The single fzf I/O seam (.fzf_run) is injectable, so\nrendering, arg building, result parsing, previews, and the navigation state\nmachine are covered by offline tests with a scripted fake runner; one\nintegration test exercises the real fzf binary when present.\n\n.fzf_run quotes args because system2() does not, which is required for the\nspace-containing --preview command to survive the shell. fzf declared as an\noptional SystemRequirements.\n\nCo-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>\n",
    "time": 1780405785
  },
  "_maintainer": {
    "name": "Bradley Buchsbaum",
    "email": "brad.buchsbaum@gmail.com",
    "login": "bbuchsbaum",
    "description": "",
    "uuid": 53819
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "httr2",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "yaml",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "httptest2",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "pkgload",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "bbuchsbaum",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-05",
      "n": 8
    },
    {
      "week": "2026-06",
      "n": 6
    },
    {
      "week": "2026-07",
      "n": 1
    },
    {
      "week": "2026-14",
      "n": 2
    },
    {
      "week": "2026-19",
      "n": 1
    },
    {
      "week": "2026-23",
      "n": 3
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "bbuchsbaum",
      "count": 25,
      "uuid": 53819
    }
  ],
  "_userbio": {
    "uuid": 53819,
    "type": "user",
    "name": "bbuchsbaum"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/xnatR"
  },
  "_devurl": "https://github.com/bbuchsbaum/xnatr",
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/xnatR.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "authenticate_xnat",
    "dicom_dump",
    "download_experiment",
    "download_files",
    "download_subject",
    "download_xnat_file",
    "initialize_config",
    "install_cli",
    "is_authenticated",
    "list_assessors",
    "list_data_types",
    "list_experiment_files",
    "list_experiment_files_all",
    "list_experiment_resources",
    "list_experiments",
    "list_files",
    "list_projects",
    "list_queryable_fields",
    "list_recent_sessions",
    "list_reconstructions",
    "list_resources",
    "list_scans",
    "list_subjects",
    "search_criterion",
    "search_execute",
    "search_projects",
    "search_scans",
    "search_select",
    "search_where",
    "with_xnat_client",
    "xnat_browse_projects",
    "xnat_browse_subjects",
    "xnat_client",
    "xnat_connect",
    "xnat_current_client",
    "xnat_explore",
    "xnat_logout",
    "xnat_search",
    "xnat_search_builder",
    "xnat_server",
    "xnat_token_invalidate",
    "xnat_token_issue",
    "xnat_token_list",
    "xnat_token_validate",
    "xnat_username",
    "xnatR_cli"
  ],
  "_help": [
    {
      "page": "authenticate_xnat",
      "title": "Authenticate with an XNAT Server",
      "topics": [
        "authenticate_xnat"
      ]
    },
    {
      "page": "dicom_dump",
      "title": "Dump DICOM header fields for a session or scan",
      "topics": [
        "dicom_dump"
      ]
    },
    {
      "page": "download_experiment",
      "title": "Download an Experiment Archive",
      "topics": [
        "download_experiment"
      ]
    },
    {
      "page": "download_files",
      "title": "Download Files from XNAT",
      "topics": [
        "download_files"
      ]
    },
    {
      "page": "download_subject",
      "title": "Download All Data for a Subject",
      "topics": [
        "download_subject"
      ]
    },
    {
      "page": "download_xnat_file",
      "title": "Download a Single File from XNAT",
      "topics": [
        "download_xnat_file"
      ]
    },
    {
      "page": "initialize_config",
      "title": "Initialize Configuration File",
      "topics": [
        "initialize_config"
      ]
    },
    {
      "page": "install_cli",
      "title": "Install the xnatR command-line wrapper",
      "topics": [
        "install_cli"
      ]
    },
    {
      "page": "is_authenticated",
      "title": "Check if authenticated",
      "topics": [
        "is_authenticated"
      ]
    },
    {
      "page": "list_assessors",
      "title": "List Assessors for an Experiment",
      "topics": [
        "list_assessors"
      ]
    },
    {
      "page": "list_data_types",
      "title": "List Available Data Types",
      "topics": [
        "list_data_types"
      ]
    },
    {
      "page": "list_experiment_files",
      "title": "List Files in an Experiment Resource",
      "topics": [
        "list_experiment_files"
      ]
    },
    {
      "page": "list_experiment_files_all",
      "title": "List All Files for an Experiment",
      "topics": [
        "list_experiment_files_all"
      ]
    },
    {
      "page": "list_experiment_resources",
      "title": "List Resources for an Experiment",
      "topics": [
        "list_experiment_resources"
      ]
    },
    {
      "page": "list_experiments",
      "title": "List Experiments (Sessions) for a Project or Subject",
      "topics": [
        "list_experiments"
      ]
    },
    {
      "page": "list_files",
      "title": "List Files in a Resource",
      "topics": [
        "list_files"
      ]
    },
    {
      "page": "list_projects",
      "title": "List XNAT Projects",
      "topics": [
        "list_projects"
      ]
    },
    {
      "page": "list_queryable_fields",
      "title": "List Queryable Fields for a Data Type",
      "topics": [
        "list_queryable_fields"
      ]
    },
    {
      "page": "list_recent_sessions",
      "title": "List Recent Sessions for a Project",
      "topics": [
        "list_recent_sessions"
      ]
    },
    {
      "page": "list_reconstructions",
      "title": "List Reconstructions for an Experiment",
      "topics": [
        "list_reconstructions"
      ]
    },
    {
      "page": "list_resources",
      "title": "List Resources for a Scan",
      "topics": [
        "list_resources"
      ]
    },
    {
      "page": "list_scans",
      "title": "List Scans for an Experiment",
      "topics": [
        "list_scans"
      ]
    },
    {
      "page": "list_subjects",
      "title": "List Subjects in a Project",
      "topics": [
        "list_subjects"
      ]
    },
    {
      "page": "search_criterion",
      "title": "Create a Search Criterion",
      "topics": [
        "search_criterion"
      ]
    },
    {
      "page": "search_execute",
      "title": "Execute Search Builder Query",
      "topics": [
        "search_execute"
      ]
    },
    {
      "page": "search_projects",
      "title": "Search XNAT Projects",
      "topics": [
        "search_projects"
      ]
    },
    {
      "page": "search_scans",
      "title": "Search Scans Across XNAT",
      "topics": [
        "search_scans"
      ]
    },
    {
      "page": "search_select",
      "title": "Add Fields to Search Builder",
      "topics": [
        "search_select"
      ]
    },
    {
      "page": "search_where",
      "title": "Add Criterion to Search Builder",
      "topics": [
        "search_where"
      ]
    },
    {
      "page": "with_xnat_client",
      "title": "Temporarily use a client as the global session",
      "topics": [
        "with_xnat_client"
      ]
    },
    {
      "page": "xnat_browse",
      "title": "Interactive browsing helpers",
      "topics": [
        "xnat_browse"
      ]
    },
    {
      "page": "xnat_browse_projects",
      "title": "Browse projects interactively",
      "topics": [
        "xnat_browse_projects"
      ]
    },
    {
      "page": "xnat_browse_subjects",
      "title": "Browse subjects interactively",
      "topics": [
        "xnat_browse_subjects"
      ]
    },
    {
      "page": "xnat_client",
      "title": "Create an 'xnat_client'",
      "topics": [
        "xnat_client"
      ]
    },
    {
      "page": "xnat_connect",
      "title": "XNAT client objects",
      "topics": [
        "xnat_connect"
      ]
    },
    {
      "page": "xnat_current_client",
      "title": "Get the current global-session client",
      "topics": [
        "xnat_current_client"
      ]
    },
    {
      "page": "xnat_explore",
      "title": "Explore XNAT interactively with fzf",
      "topics": [
        "xnat_explore"
      ]
    },
    {
      "page": "xnat_logout",
      "title": "Log out from XNAT",
      "topics": [
        "xnat_logout"
      ]
    },
    {
      "page": "xnat_search",
      "title": "Search XNAT Data",
      "topics": [
        "xnat_search"
      ]
    },
    {
      "page": "xnat_search_builder",
      "title": "Search Builder - Fluent Interface",
      "topics": [
        "xnat_search_builder"
      ]
    },
    {
      "page": "xnat_server",
      "title": "Get current XNAT server URL",
      "topics": [
        "xnat_server"
      ]
    },
    {
      "page": "xnat_token_invalidate",
      "title": "Invalidate an Alias Token",
      "topics": [
        "xnat_token_invalidate"
      ]
    },
    {
      "page": "xnat_token_issue",
      "title": "Issue an Alias Token",
      "topics": [
        "xnat_token_issue"
      ]
    },
    {
      "page": "xnat_token_list",
      "title": "List User's Alias Tokens",
      "topics": [
        "xnat_token_list"
      ]
    },
    {
      "page": "xnat_token_validate",
      "title": "Validate an Alias Token",
      "topics": [
        "xnat_token_validate"
      ]
    },
    {
      "page": "xnat_username",
      "title": "Get current username",
      "topics": [
        "xnat_username"
      ]
    },
    {
      "page": "xnatR_cli",
      "title": "Command-line interface for xnatR",
      "topics": [
        "xnatR_cli"
      ]
    }
  ],
  "_readme": "https://github.com/bbuchsbaum/xnatR/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "glue",
    "httr2",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "openssl",
    "pillar",
    "pkgconfig",
    "R6",
    "rappdirs",
    "rlang",
    "sys",
    "tibble",
    "utf8",
    "vctrs",
    "withr",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "workflows.Rmd",
      "filename": "workflows.html",
      "title": "Common Workflows",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Find recent sessions and download three subjects",
        "Search for sessions by date range",
        "Find scans by acquisition parameters",
        "Browse files before downloading",
        "Build a local inventory of a project",
        "Use alias tokens for shared scripts",
        "Clean up"
      ],
      "created": "2026-03-30 20:45:32",
      "modified": "2026-03-30 20:45:32",
      "commits": 1
    },
    {
      "source": "xnatR.Rmd",
      "filename": "xnatR.html",
      "title": "Getting Started with xnatR",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Connect and explore in 30 seconds",
        "The XNAT data hierarchy",
        "How do I find my project?",
        "Who is in the project?",
        "What sessions exist?",
        "What scans are in a session?",
        "How do I download data?",
        "Download all scans from a session",
        "Download specific scans or resource types",
        "Download an entire subject",
        "Download a session by experiment ID alone",
        "Credential management",
        "Clean up",
        "Next steps"
      ],
      "created": "2026-02-02 21:15:06",
      "modified": "2026-03-30 20:45:32",
      "commits": 3
    }
  ],
  "_score": 3.778151250383644,
  "_indexed": true,
  "_nocasepkg": "xnatr",
  "_universes": [
    "bbuchsbaum"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-02T15:02:57.000Z",
      "distro": "noble",
      "commit": "6e59d77b7af8503ebb9f33778ab07e124273233f",
      "fileid": "a4af754d7b0deadf7059cf62fbafefa0554eddc6c80d60b4d2f940f9eeb307c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/26828159840"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-02T15:02:22.000Z",
      "distro": "noble",
      "commit": "6e59d77b7af8503ebb9f33778ab07e124273233f",
      "fileid": "04a6f6a471031ca3ff08f4a74df2d9fd93668ab2ac8a288ef5a4938ef84311d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/26828159840"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-02T15:08:01.000Z",
      "commit": "6e59d77b7af8503ebb9f33778ab07e124273233f",
      "fileid": "7d54904e7c4c6aee8b8e14f807ae135ed9a926a81c5ea76ae58178a2e833e767",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/26828159840"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-02T15:08:03.000Z",
      "commit": "6e59d77b7af8503ebb9f33778ab07e124273233f",
      "fileid": "7b76e10a06d831a322954a17aaa42d29cffbe438afdfaf6ce49f8cce57b9a1a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/26828159840"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-06-02T15:03:33.000Z",
      "commit": "6e59d77b7af8503ebb9f33778ab07e124273233f",
      "fileid": "b8f18736b81f3b81cb018bbee79a1c62bd0168f6c0af52f7c955cf35fc1e5cda",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/26828159840"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-02T15:01:33.000Z",
      "commit": "6e59d77b7af8503ebb9f33778ab07e124273233f",
      "fileid": "ab1969bef7b2fbad57e5162ee5e8f4e05587784ae5ff7dc2442b0a601556d998",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/26828159840"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-02T15:01:34.000Z",
      "commit": "6e59d77b7af8503ebb9f33778ab07e124273233f",
      "fileid": "b368f3126b5a5a16f7e60aa90d39e6c57ebfecd09f1698bf0450627e09547e4a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/26828159840"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-02T15:01:23.000Z",
      "commit": "6e59d77b7af8503ebb9f33778ab07e124273233f",
      "fileid": "b5c8f2f62417cf37bfebba635ee19c85c9e74b186ff4a5ec9f9fe00b9b628dc6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/26828159840"
    }
  ]
}