{
  "_id": "6abcd4da99f7aa8c6aa4c7c3",
  "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-09-30 09:01:16 UTC",
    "User": "root"
  },
  "_user": "bbuchsbaum",
  "_type": "src",
  "_file": "xnatR_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/ad7f223e9eed30f8599d526dc88b4af99a5f39f009d082b11cd28104b750bc0f",
  "_filesize": 250294,
  "_sha256": "ad7f223e9eed30f8599d526dc88b4af99a5f39f009d082b11cd28104b750bc0f",
  "_expires": "2027-01-08T09:22:32.000Z",
  "_created": "2026-09-30T09:01:16.000Z",
  "_published": "2026-09-30T09:22:34.307Z",
  "_jobs": [
    {
      "job": 109815711644,
      "time": 160,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11086359573"
    },
    {
      "job": 109815711467,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11086608485"
    },
    {
      "job": 109815711501,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11087252118"
    },
    {
      "job": 109815711582,
      "time": 111,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11087536987"
    },
    {
      "job": 109814319834,
      "time": 236,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11086772541"
    },
    {
      "job": 109815711666,
      "time": 143,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11086089455"
    },
    {
      "job": 109815711574,
      "time": 90,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11085994437"
    },
    {
      "job": 109815711687,
      "time": 78,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11086388899"
    },
    {
      "job": 109815711627,
      "time": 99,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11085804885"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/36692962509",
  "_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": 37
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/xnatR"
  },
  "_devurl": "https://github.com/bbuchsbaum/xnatr",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/xnatR.html",
    "LICENSE"
  ],
  "_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",
    "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-09-30T09:03:52.000Z",
      "distro": "resolute",
      "commit": "6e59d77b7af8503ebb9f33778ab07e124273233f",
      "fileid": "https://r2.ropensci.org/381c744bae86b5bf80258a09c908b0062bf2c1b539caf4ae6c90711c0499846e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/36692962509"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-09-30T09:03:41.000Z",
      "distro": "resolute",
      "commit": "6e59d77b7af8503ebb9f33778ab07e124273233f",
      "fileid": "https://r2.ropensci.org/9c16fbfa7df05da5578e92dcd4b2def9fa869d9f65b51c6e718d22e088b9a68b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/36692962509"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-09-30T09:20:40.000Z",
      "commit": "6e59d77b7af8503ebb9f33778ab07e124273233f",
      "fileid": "https://r2.ropensci.org/0fa82a56d263cba94b0a61ce74742902dc147b537a7bdfa8706a5dd7d902c6ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/36692962509"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-09-30T09:21:46.000Z",
      "commit": "6e59d77b7af8503ebb9f33778ab07e124273233f",
      "fileid": "https://r2.ropensci.org/ade08bc1efea9e387db54bdb22fbc389ba2621e859b79defdf13f14eb4624d76",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/36692962509"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-09-30T09:04:01.000Z",
      "commit": "6e59d77b7af8503ebb9f33778ab07e124273233f",
      "fileid": "https://r2.ropensci.org/02078cb308b93807b6e78650d1239c1dcc703016ccfe5efdbcdb4dc6a6a1e3c8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/36692962509"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-30T09:02:33.000Z",
      "commit": "6e59d77b7af8503ebb9f33778ab07e124273233f",
      "fileid": "https://r2.ropensci.org/57731a8f2331004b95e32b59edca39eeb3e2769ebbf094889c33e3439a283436",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/36692962509"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-30T09:02:24.000Z",
      "commit": "6e59d77b7af8503ebb9f33778ab07e124273233f",
      "fileid": "https://r2.ropensci.org/a5efa98c27a5942676f34579a1c8e93637e45264e8333cf46f2b7eec19b252be",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/36692962509"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-30T09:02:51.000Z",
      "commit": "6e59d77b7af8503ebb9f33778ab07e124273233f",
      "fileid": "https://r2.ropensci.org/df5c7eeae8350749df142cc982cc7a45b306131bd697dde586db3aa82c3e9bef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bbuchsbaum/actions/runs/36692962509"
    }
  ]
}