{
  "_id": "6ab7a35e99f7aa8c6aa33304",
  "Package": "XDNUTS",
  "Type": "Package",
  "Title": "Discontinuous Hamiltonian Monte Carlo with Varying Trajectory\nLength",
  "Version": "1.6.5",
  "Date": "2025-09-13",
  "Authors@R": "person(given = \"Paolo\", family = \"Manildo\", email = \"paolo.manildo@phd.unipd.it\",\nrole = c(\"aut\", \"cre\"), comment = c(ORCID = \"0009-0006-7056-7012\"))",
  "Description": "Hamiltonian Monte Carlo for both continuous and\ndiscontinuous posterior distributions with a customizable\ntrajectory length termination criterion. See Nishimura et al.\n(2020) <doi:10.1093/biomet/asz083> for the original\nDiscontinuous Hamiltonian Monte Carlo; Hoffman et al. (2014)\n<doi:10.48550/arXiv.1111.4246> and Betancourt (2016)\n<doi:10.48550/arXiv.1601.00225> for the definition of possible\nHamiltonian Monte Carlo termination criteria.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RdMacros": "Rdpack",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.1",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-09-26 10:42:30 UTC",
    "User": "root"
  },
  "Author": "Paolo Manildo [aut, cre] (ORCID:\n<https://orcid.org/0009-0006-7056-7012>)",
  "Maintainer": "Paolo Manildo <paolo.manildo@phd.unipd.it>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-09-14 23:00:08 UTC",
  "RemoteUrl": "https://github.com/cran/XDNUTS",
  "RemoteRef": "HEAD",
  "RemoteSha": "89bcea976a65787b67b5453ca67cd751c228269d",
  "_user": "cran",
  "_type": "src",
  "_file": "XDNUTS_1.6.5.tar.gz",
  "_fileid": "https://r2.ropensci.org/c885a3322e6395773d1985ef1fdbf28f95c6a4748503256092b6a39b14ef8bce",
  "_filesize": 12180491,
  "_sha256": "c885a3322e6395773d1985ef1fdbf28f95c6a4748503256092b6a39b14ef8bce",
  "_expires": "2027-01-04T10:50:03.000Z",
  "_created": "2026-09-26T10:42:30.000Z",
  "_published": "2026-09-26T10:50:06.612Z",
  "_jobs": [
    {
      "job": 108389601222,
      "time": 226,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10903674734"
    },
    {
      "job": 108389601219,
      "time": 204,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10904555446"
    },
    {
      "job": 108389601230,
      "time": 175,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10904352878"
    },
    {
      "job": 108389601286,
      "time": 160,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10903734704"
    },
    {
      "job": 108388672273,
      "time": 411,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10903934478"
    },
    {
      "job": 108389601205,
      "time": 147,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10904173416"
    },
    {
      "job": 108389601202,
      "time": 284,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10904138702"
    },
    {
      "job": 108389601187,
      "time": 231,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10903959671"
    },
    {
      "job": 108389601248,
      "time": 337,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10904635297"
    },
    {
      "job": 108389601245,
      "time": 208,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10903674720"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/36236310311",
  "_status": "success",
  "_upstream": "https://github.com/cran/XDNUTS",
  "_commit": {
    "id": "89bcea976a65787b67b5453ca67cd751c228269d",
    "author": "Paolo Manildo <paolo.manildo@phd.unipd.it>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.6.5\n",
    "time": 1757890808
  },
  "_maintainer": {
    "name": "Paolo Manildo",
    "email": "paolo.manildo@phd.unipd.it",
    "orcid": "0009-0006-7056-7012"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "base",
      "role": "Imports"
    },
    {
      "package": "coda",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.12",
      "role": "Imports"
    },
    {
      "package": "Rdpack",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "KernSmooth",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 630,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 397,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/XDNUTS"
  },
  "_searchresults": 3,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/XDNUTS.html",
    "LICENSE"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.2",
      "date": "2024-09-03"
    },
    {
      "version": "1.5",
      "date": "2024-10-28"
    },
    {
      "version": "1.5.3",
      "date": "2024-11-29"
    },
    {
      "version": "1.5.4",
      "date": "2024-12-05"
    },
    {
      "version": "1.5.5",
      "date": "2024-12-22"
    },
    {
      "version": "1.5.6",
      "date": "2025-01-28"
    },
    {
      "version": "1.6",
      "date": "2025-04-25"
    },
    {
      "version": "1.6.1",
      "date": "2025-08-24"
    },
    {
      "version": "1.6.3",
      "date": "2025-09-07"
    },
    {
      "version": "1.6.4",
      "date": "2025-09-12"
    },
    {
      "version": "1.6.5",
      "date": "2025-09-14"
    }
  ],
  "_exports": [
    "main_function",
    "plot.XDNUTS",
    "print.summary.XDNUTS",
    "print.XDNUTS",
    "set_parameters",
    "summary.XDNUTS",
    "trajectories",
    "xdextract",
    "xdnuts",
    "xdtransform"
  ],
  "_datasets": [
    {
      "name": "viscosity",
      "title": "Blood viscosity data",
      "object": "viscosity",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "Time.1",
        "Time.2",
        "Time.3",
        "Time.4",
        "Time.5",
        "Time.6",
        "Time.7"
      ],
      "rows": 6,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "XDNUTS-package",
      "title": "Discontinuous Hamiltonian Monte Carlo with Varying Trajectory Length",
      "topics": [
        "XDNUTS-package",
        "XDNUTS"
      ]
    },
    {
      "page": "main_function",
      "title": "Function to generate a Markov chain for both continuous and discontinuous posterior distributions.",
      "topics": [
        "main_function"
      ]
    },
    {
      "page": "plot.XDNUTS",
      "title": "Function to view the draws from the posterior distribution.",
      "topics": [
        "plot.XDNUTS"
      ]
    },
    {
      "page": "print.summary.XDNUTS",
      "title": "Function for printing an object of class summary.XDNUTS",
      "topics": [
        "print.summary.XDNUTS"
      ]
    },
    {
      "page": "print.XDNUTS",
      "title": "Function for printing an object of class XDNUTS",
      "topics": [
        "print.XDNUTS"
      ]
    },
    {
      "page": "set_parameters",
      "title": "Function that regulates the specifications of the xdnuts function.",
      "topics": [
        "set_parameters"
      ]
    },
    {
      "page": "summary.XDNUTS",
      "title": "Function to print the summary of an XDNUTS model.",
      "topics": [
        "summary.XDNUTS"
      ]
    },
    {
      "page": "trajectories",
      "title": "Function that approximate the Hamiltonian Flow for given starting values of the position and momentum of a particle in the phase space defined by the kinetic and potential energy provided in input.",
      "topics": [
        "trajectories"
      ]
    },
    {
      "page": "viscosity",
      "title": "Blood viscosity data",
      "topics": [
        "viscosity"
      ]
    },
    {
      "page": "xdextract",
      "title": "Function to extract samples from the output of an XDNUTS model.",
      "topics": [
        "xdextract"
      ]
    },
    {
      "page": "xdnuts",
      "title": "Discontinuous Hamiltonian Monte Carlo using both manual and automatic termination criteria.",
      "topics": [
        "xdnuts"
      ]
    },
    {
      "page": "xdtransform",
      "title": "Function to apply a transformation to the samples from the output of an XDNUTS model.",
      "topics": [
        "xdtransform"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "coda",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "purrr",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "Rdpack",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "Tutorial_for_main_functions.Rmd",
      "filename": "Tutorial_for_main_functions.html",
      "title": "Tutorial for main functions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "MCMC through the function xdnuts",
        "Set algorithm's features using the set_parameters function",
        "Model diagnostic through the print, summary and plot functions",
        "print",
        "summary",
        "plot",
        "Posterior sampling post-processing through the xdtransform, xdextract functions",
        "xdtransform",
        "xdextract",
        "Practical examples",
        "Example with both continuous and discontinuous components",
        "Example with only discontinuous components",
        "Example with only continuous components",
        "Bibliography"
      ],
      "created": "2024-10-28 18:30:02",
      "modified": "2025-09-12 23:28:00",
      "commits": 4
    }
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "xdnuts",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.6.5",
      "date": "2026-09-26T10:46:23.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "89bcea976a65787b67b5453ca67cd751c228269d",
      "fileid": "https://r2.ropensci.org/5832672771cc79d3f30f62cce3e9afd524915b80d631767d5e977119f08f0e8e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36236310311"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.6.5",
      "date": "2026-09-26T10:45:54.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "89bcea976a65787b67b5453ca67cd751c228269d",
      "fileid": "https://r2.ropensci.org/305fe65491c9ec7f0af557fbf6bad931c56858f99c50ee3c3a2d552220d2fd28",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36236310311"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.6.5",
      "date": "2026-09-26T10:45:41.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "89bcea976a65787b67b5453ca67cd751c228269d",
      "fileid": "https://r2.ropensci.org/400542c45da3def03f0a0b8e20cd78d88cbfd338c1c511440be6f2963ba09585",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36236310311"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.6.5",
      "date": "2026-09-26T10:45:45.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "89bcea976a65787b67b5453ca67cd751c228269d",
      "fileid": "https://r2.ropensci.org/e4137ada688fbc51a6a085760ada820a38f9003c5b880150d06303a59a0fe856",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36236310311"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.6.5",
      "date": "2026-09-26T10:45:58.000Z",
      "arch": "emscripten",
      "commit": "89bcea976a65787b67b5453ca67cd751c228269d",
      "fileid": "https://r2.ropensci.org/87a1301b9511854c27601e3911dfcb1cef5fc41f29c17a83cc6f09b04b4a7267",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36236310311"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.6.5",
      "date": "2026-09-26T10:46:48.000Z",
      "arch": "aarch64",
      "commit": "89bcea976a65787b67b5453ca67cd751c228269d",
      "fileid": "https://r2.ropensci.org/bca3cd814f300be16fa7852d4b7d810d497376b8336f706be1ad25500fd2274d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36236310311"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.6.5",
      "date": "2026-09-26T10:45:05.000Z",
      "arch": "x86_64",
      "commit": "89bcea976a65787b67b5453ca67cd751c228269d",
      "fileid": "https://r2.ropensci.org/fd32dc104f080e64893d96dbcff353c995b8d48311a41723be437d2d58d6e757",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36236310311"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.6.5",
      "date": "2026-09-26T10:47:38.000Z",
      "arch": "aarch64",
      "commit": "89bcea976a65787b67b5453ca67cd751c228269d",
      "fileid": "https://r2.ropensci.org/e8d532401bb75ff0727746083d1b544c99456172c32280608fbdf02827f52b14",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36236310311"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.6.5",
      "date": "2026-09-26T10:44:50.000Z",
      "arch": "x86_64",
      "commit": "89bcea976a65787b67b5453ca67cd751c228269d",
      "fileid": "https://r2.ropensci.org/35ce93b932213caab1980d0aa001cffd558bdc4859bc63909c8223f0690b9ab2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36236310311"
    }
  ]
}