{
  "_id": "6a1091e6acfb0bcc41cb4b00",
  "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-05-13 05:48:31 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",
  "MD5sum": "196fb2a1b98b4b9dbae21543ed08afb5",
  "_user": "cran",
  "_type": "src",
  "_file": "XDNUTS_1.6.5.tar.gz",
  "_fileid": "7109fa4ffd9c2c60fb6af0e4ba1f82945da516d81b317986baeb9ff3600779fa",
  "_filesize": 12266362,
  "_sha256": "7109fa4ffd9c2c60fb6af0e4ba1f82945da516d81b317986baeb9ff3600779fa",
  "_created": "2026-05-13T05:48:31.000Z",
  "_published": "2026-05-22T17:27:02.800Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77430257332,
      "time": 217,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6962612254"
    },
    {
      "job": 77430257256,
      "time": 231,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6962614829"
    },
    {
      "job": 77430257751,
      "time": 228,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6962614377"
    },
    {
      "job": 77430257345,
      "time": 194,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6962606805"
    },
    {
      "job": 77430256779,
      "time": 395,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6962562038"
    },
    {
      "job": 77430257141,
      "time": 175,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158172443"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/25780784872",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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": [
    {
      "week": "2025-34",
      "n": 1
    },
    {
      "week": "2025-37",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "1.6.1",
      "date": "2025-08-24"
    },
    {
      "name": "1.6.3",
      "date": "2025-09-08"
    },
    {
      "name": "1.6.4",
      "date": "2025-09-12"
    },
    {
      "name": "1.6.5",
      "date": "2025-09-14"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 517,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/XDNUTS"
  },
  "_searchresults": 2,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/XDNUTS.html",
    "manual.pdf"
  ],
  "_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.26+ds-1ubuntu0.1",
      "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.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "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.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "xdnuts",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.6.5",
      "date": "2026-05-13T05:52:05.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "89bcea976a65787b67b5453ca67cd751c228269d",
      "fileid": "784ae87de1e7c4b62beb58c5f3e4a909aa9dcbda479d592046af047a5968a187",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25780784872"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.6.5",
      "date": "2026-05-13T05:52:20.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "89bcea976a65787b67b5453ca67cd751c228269d",
      "fileid": "536ac6eeb60afaaaaf2a25cc4d6eb75db329b89aa6fd0e07d8e2f646a6f2de98",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25780784872"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.6.5",
      "date": "2026-05-13T05:52:16.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "89bcea976a65787b67b5453ca67cd751c228269d",
      "fileid": "786da6955ea5e26de94c558b96964fa653b1c26212b042d2f5165116eea19d74",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25780784872"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.6.5",
      "date": "2026-05-13T05:51:52.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "89bcea976a65787b67b5453ca67cd751c228269d",
      "fileid": "1b4d7c5014f300efd00e59b2df7c46a1fd3725ce6a4b11dc19e343c8c0be9caa",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25780784872"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.6.5",
      "date": "2026-05-22T10:17:06.000Z",
      "arch": "emscripten",
      "commit": "89bcea976a65787b67b5453ca67cd751c228269d",
      "fileid": "99ce7435619080d595fee5370ec352207b5b24729368c9534a1cdd0a0cbd1d0e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25780784872"
    }
  ]
}