{
  "_id": "6a4791a48b9f0d9747cf1d60",
  "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-07-02 09:34:56 UTC",
    "User": "root"
  },
  "_user": "bbuchsbaum",
  "_type": "src",
  "_file": "xnatR_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/84cd68e3e026044f1056f11568525988e52f1620caffba7537786ec0b1d4240c",
  "_filesize": 252637,
  "_sha256": "84cd68e3e026044f1056f11568525988e52f1620caffba7537786ec0b1d4240c",
  "_expires": "2026-10-11T10:40:36.000Z",
  "_created": "2026-07-02T09:34:56.000Z",
  "_published": "2026-07-03T10:40:36.582Z",
  "_jobs": [
    {
      "job": 84982646497,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8034707437"
    },
    {
      "job": 84982646527,
      "time": 164,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8034713868"
    },
    {
      "job": 84982646238,
      "time": 114,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8034706312"
    },
    {
      "job": 84982646107,
      "time": 98,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8034701649"
    },
    {
      "job": 84982645837,
      "time": 184,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8034647945"
    },
    {
      "job": 84982646296,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8034689751"
    },
    {
      "job": 84982646265,
      "time": 97,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8034687390"
    },
    {
      "job": 84982646731,
      "time": 85,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8034682366"
    },
    {
      "job": 84982646441,
      "time": 79,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8034680197"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/28580007115",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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",
    "followers": 34
  },
  "_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.1",
  "_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",
    "LICENSE",
    "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-07-02T09:37:16.000Z",
      "distro": "resolute",
      "commit": "6e59d77b7af8503ebb9f33778ab07e124273233f",
      "fileid": "https://r2.ropensci.org/66c404a32670b72a4a89c8ae436956ba85c82c33830e31b6ed4026173829a6f5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/28580007115"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-07-02T09:37:32.000Z",
      "distro": "resolute",
      "commit": "6e59d77b7af8503ebb9f33778ab07e124273233f",
      "fileid": "https://r2.ropensci.org/cdc01a4d19e707e6c422004dabc0a3309ec07b955120faed2fb483825a8131e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/28580007115"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-07-02T09:37:18.000Z",
      "commit": "6e59d77b7af8503ebb9f33778ab07e124273233f",
      "fileid": "https://r2.ropensci.org/b06cc054f63b63477c94d84772e8736ce3b0b665764846e8a91c8504aa1d0768",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/28580007115"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-07-02T09:37:10.000Z",
      "commit": "6e59d77b7af8503ebb9f33778ab07e124273233f",
      "fileid": "https://r2.ropensci.org/bf7e41d809816dee52a355b0b63ca8a157c9bd076956cfec85fd1f33ec8f7f47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/28580007115"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-07-02T09:36:57.000Z",
      "commit": "6e59d77b7af8503ebb9f33778ab07e124273233f",
      "fileid": "https://r2.ropensci.org/3999872d7aba7981550816210056fc5a59fd4694e9511e50dda6a12dc618a5b8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/28580007115"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-07-02T09:36:16.000Z",
      "commit": "6e59d77b7af8503ebb9f33778ab07e124273233f",
      "fileid": "https://r2.ropensci.org/ee64441d3a6934b8161f3063b8944b082a0f614102d349a96b51b1a46463744a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/28580007115"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-07-02T09:36:06.000Z",
      "commit": "6e59d77b7af8503ebb9f33778ab07e124273233f",
      "fileid": "https://r2.ropensci.org/e2a8140141f0d2957e602e6e05f404be2ef25d2690a70a3b26224f2bba39922e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/28580007115"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-07-02T09:36:00.000Z",
      "commit": "6e59d77b7af8503ebb9f33778ab07e124273233f",
      "fileid": "https://r2.ropensci.org/19993f4f6af8f374c1a1977f566596af3600e30bc439bb1f3f4fe365821eab0e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/28580007115"
    }
  ]
}