{
  "_id": "6abe585d99f7aa8c6aa559cb",
  "Package": "BNPmix",
  "Type": "Package",
  "Title": "Bayesian Nonparametric Mixture Models",
  "Version": "1.2.1",
  "Date": "2026-03-05",
  "Authors@R": "c(person(given = \"Riccardo\",\nfamily = \"Corradin\",\nrole = c(\"aut\", \"cre\"),\nemail = \"riccardo.corradin@gmail.com\"),\nperson(given = \"Antonio\",\nfamily = \"Canale\",\nrole = \"ctb\"),\nperson(given = \"Bernardo\",\nfamily = \"Nipoti\",\nrole = \"ctb\"))",
  "Description": "Functions to perform Bayesian nonparametric univariate and\nmultivariate density estimation and clustering, by means of\nPitman-Yor mixtures, and dependent Dirichlet process mixtures\nfor partially exchangeable data. See Corradin et al. (2021)\n<doi:10.18637/jss.v100.i15> for more details.",
  "License": "LGPL-3 | file LICENSE",
  "NeedsCompilation": "yes",
  "VignetteBuilder": "R.rsp",
  "RoxygenNote": "7.3.3",
  "Encoding": "UTF-8",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://rcorradin.r-universe.dev",
  "Date/Publication": "2026-08-02 17:45:49 UTC",
  "RemoteUrl": "https://github.com/rcorradin/bnpmix",
  "RemoteRef": "HEAD",
  "RemoteSha": "e99bf774f9681f404fa5894b0b878f362030f426",
  "Packaged": {
    "Date": "2026-10-01 12:33:30 UTC",
    "User": "root"
  },
  "Author": "Riccardo Corradin [aut, cre],\nAntonio Canale [ctb],\nBernardo Nipoti [ctb]",
  "Maintainer": "Riccardo Corradin <riccardo.corradin@gmail.com>",
  "_user": "rcorradin",
  "_type": "src",
  "_file": "BNPmix_1.2.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/27553cb32e0685c1a5d069607c1e75245f0264088b8857bb5fdef789303309c0",
  "_filesize": 568942,
  "_sha256": "27553cb32e0685c1a5d069607c1e75245f0264088b8857bb5fdef789303309c0",
  "_expires": "2027-01-09T12:55:55.000Z",
  "_created": "2026-10-01T12:33:30.000Z",
  "_published": "2026-10-01T12:55:57.560Z",
  "_jobs": [
    {
      "job": 110370727720,
      "time": 242,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11163146384"
    },
    {
      "job": 110370727774,
      "time": 261,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11162276913"
    },
    {
      "job": 110370727867,
      "time": 226,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11162042106"
    },
    {
      "job": 110370727790,
      "time": 232,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11162406912"
    },
    {
      "job": 110370727847,
      "time": 165,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11163209331"
    },
    {
      "job": 110370727798,
      "time": 321,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11162488286"
    },
    {
      "job": 110370727745,
      "time": 181,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11163410411"
    },
    {
      "job": 110370727866,
      "time": 529,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11162393673"
    },
    {
      "job": 110368312779,
      "time": 381,
      "config": "source",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11161976566"
    },
    {
      "job": 110370727848,
      "time": 203,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11162691805"
    },
    {
      "job": 110370727816,
      "time": 445,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11162397395"
    },
    {
      "job": 110370728019,
      "time": 320,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11162147212"
    },
    {
      "job": 110370727935,
      "time": 183,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11163206182"
    },
    {
      "job": 110370727907,
      "time": 439,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11162182437"
    },
    {
      "job": 110370727933,
      "time": 245,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11162946725"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/rcorradin/actions/runs/36861993312",
  "_status": "failure",
  "_upstream": "https://github.com/rcorradin/bnpmix",
  "_commit": {
    "id": "e99bf774f9681f404fa5894b0b878f362030f426",
    "author": "rcorradin <riccardo.corradin@gmail.com>",
    "committer": "rcorradin <riccardo.corradin@gmail.com>",
    "message": "upd\n",
    "time": 1785692749
  },
  "_maintainer": {
    "name": "Riccardo Corradin",
    "email": "riccardo.corradin@gmail.com",
    "login": "rcorradin",
    "description": "Assistant professor / code lover ",
    "uuid": 11736376
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "Depends"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.13",
      "role": "LinkingTo"
    },
    {
      "package": "RcppDist",
      "role": "LinkingTo"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "coda",
      "role": "Imports"
    },
    {
      "package": "ggpubr",
      "role": "Imports"
    },
    {
      "package": "R.rsp",
      "role": "Suggests"
    }
  ],
  "_owner": "rcorradin",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-45",
      "n": 1
    },
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-31",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 8,
  "_contributors": [
    {
      "user": "rcorradin",
      "count": 79,
      "uuid": 11736376
    }
  ],
  "_userbio": {
    "uuid": 11736376,
    "type": "user",
    "name": "Riccardo Corradin",
    "followers": 20,
    "description": "Assistant professor / code lover "
  },
  "_downloads": {
    "count": 461,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BNPmix"
  },
  "_devurl": "https://github.com/rcorradin/bnpmix",
  "_searchresults": 35,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/BNPmix.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/rcorradin/bnpmix",
  "_realowner": "rcorradin",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2019-03-29"
    },
    {
      "version": "0.1.2",
      "date": "2019-05-18"
    },
    {
      "version": "0.2.2",
      "date": "2019-07-23"
    },
    {
      "version": "0.2.3",
      "date": "2019-09-25"
    },
    {
      "version": "0.2.4",
      "date": "2019-12-04"
    },
    {
      "version": "0.2.5",
      "date": "2019-12-06"
    },
    {
      "version": "0.2.6",
      "date": "2020-06-16"
    },
    {
      "version": "0.2.8",
      "date": "2021-03-21"
    },
    {
      "version": "0.2.9",
      "date": "2021-07-25"
    },
    {
      "version": "1.0.0",
      "date": "2021-11-23"
    },
    {
      "version": "1.0.1",
      "date": "2022-07-09"
    },
    {
      "version": "1.0.2",
      "date": "2022-07-16"
    },
    {
      "version": "1.1.0",
      "date": "2025-10-21"
    },
    {
      "version": "1.2.1",
      "date": "2026-03-06"
    },
    {
      "version": "1.2.3",
      "date": "2026-08-04"
    }
  ],
  "_exports": [
    "BNPdens2coda",
    "BNPdens2coda.BNPdens",
    "BNPmix_BIN",
    "BNPmix_psm",
    "BNPmix_VI_LB",
    "BNPpart",
    "clean_partition",
    "dBNPdens",
    "dBNPdens.BNPdens",
    "DDPdensity",
    "partition",
    "partition.BNPdens",
    "plot.BNPdens",
    "print.BNPdens",
    "PYcalibrate",
    "PYdensity",
    "PYregression",
    "summary.BNPdens"
  ],
  "_datasets": [
    {
      "name": "CPP",
      "title": "Collaborative Perinatal Project data",
      "object": "CPP",
      "file": "CPP.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "hosp",
        "smoke",
        "gest",
        "dde",
        "weight"
      ],
      "rows": 2313,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "BNPdens",
      "title": "BNPdens class constructor",
      "topics": [
        "BNPdens"
      ]
    },
    {
      "page": "BNPdens2coda.BNPdens",
      "title": "Export to coda interface",
      "topics": [
        "BNPdens2coda.BNPdens"
      ]
    },
    {
      "page": "BNPpart",
      "title": "BNPpart class constructor",
      "topics": [
        "BNPpart"
      ]
    },
    {
      "page": "dBNPdens.BNPdens",
      "title": "Evaluate estimated univariate densities at a given point",
      "topics": [
        "dBNPdens.BNPdens"
      ]
    },
    {
      "page": "DDPdensity",
      "title": "MCMC for GM-dependent Dirichlet process mixtures of Gaussians",
      "topics": [
        "DDPdensity"
      ]
    },
    {
      "page": "partition.BNPdens",
      "title": "Estimate the partition of the data",
      "topics": [
        "partition.BNPdens"
      ]
    },
    {
      "page": "plot.BNPdens",
      "title": "Density plot for BNPdens class",
      "topics": [
        "plot.BNPdens"
      ]
    },
    {
      "page": "print.BNPdens",
      "title": "BNPdens print method",
      "topics": [
        "print.BNPdens"
      ]
    },
    {
      "page": "PYcalibrate",
      "title": "Pitman-Yor prior elicitation",
      "topics": [
        "PYcalibrate"
      ]
    },
    {
      "page": "PYdensity",
      "title": "MCMC for Pitman-Yor mixtures of Gaussians",
      "topics": [
        "PYdensity"
      ]
    },
    {
      "page": "PYregression",
      "title": "MCMC for Pitman-Yor mixture of Gaussian regressions",
      "topics": [
        "PYregression"
      ]
    },
    {
      "page": "summary.BNPdens",
      "title": "BNPdens summary method",
      "topics": [
        "summary.BNPdens"
      ]
    }
  ],
  "_readme": "https://github.com/rcorradin/bnpmix/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "broom",
    "car",
    "carData",
    "cli",
    "coda",
    "colorspace",
    "corrplot",
    "cowplot",
    "cpp11",
    "Deriv",
    "doBy",
    "dplyr",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "ggpubr",
    "ggrepel",
    "ggsci",
    "ggsignif",
    "glue",
    "gridExtra",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mgcv",
    "minqa",
    "modelr",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "polynom",
    "purrr",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppDist",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "rstatix",
    "S7",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_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"
    }
  ],
  "_score": 4.748188027006201,
  "_indexed": true,
  "_nocasepkg": "bnpmix",
  "_universes": [
    "rcorradin"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-10-01T12:37:37.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e99bf774f9681f404fa5894b0b878f362030f426",
      "fileid": "https://r2.ropensci.org/82f1d1ad4537354f7b66fb1aaa101eb4d672298ef85cc002c82af8cca02e6889",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/36861993312"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-10-01T12:37:48.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e99bf774f9681f404fa5894b0b878f362030f426",
      "fileid": "https://r2.ropensci.org/e5310b88d1891d1ec520fa8a46f169a5e8c761ed4966fdf825de1c5532046f03",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/36861993312"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-10-01T12:37:22.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e99bf774f9681f404fa5894b0b878f362030f426",
      "fileid": "https://r2.ropensci.org/03824ab45c7c48a33c026d91e9111a408101efcdbb4d8609816253e9c927d399",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/36861993312"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-10-01T12:37:40.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e99bf774f9681f404fa5894b0b878f362030f426",
      "fileid": "https://r2.ropensci.org/d5edad9ce00f0afb97b5d3e70e3cc2e0f1e00d49c5bcd1e17266ebd7bb338300",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/36861993312"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-10-01T12:54:10.000Z",
      "arch": "aarch64",
      "commit": "e99bf774f9681f404fa5894b0b878f362030f426",
      "fileid": "https://r2.ropensci.org/f319a8ffe553beb61e4af8426eea88c698aeefa606917fba3677f0e70aae9622",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/36861993312"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-10-01T12:44:31.000Z",
      "arch": "x86_64",
      "commit": "e99bf774f9681f404fa5894b0b878f362030f426",
      "fileid": "https://r2.ropensci.org/732b3f14715956c221041521e3338ff5f10297da680c85dc55a03fc59c245db1",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/36861993312"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-10-01T12:53:57.000Z",
      "arch": "aarch64",
      "commit": "e99bf774f9681f404fa5894b0b878f362030f426",
      "fileid": "https://r2.ropensci.org/ab6ce176f6d37655d2f08807c2611e089ad00694f0fd6b7af39ceb8c61ca4cbb",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/36861993312"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-10-01T12:46:39.000Z",
      "arch": "x86_64",
      "commit": "e99bf774f9681f404fa5894b0b878f362030f426",
      "fileid": "https://r2.ropensci.org/8eab515c822a2f6e29ec483d0d32a7ff98fc78fad36cc2203cc6e00b74f27f81",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/36861993312"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.1",
      "date": "2026-10-01T12:37:33.000Z",
      "arch": "emscripten",
      "commit": "e99bf774f9681f404fa5894b0b878f362030f426",
      "fileid": "https://r2.ropensci.org/b7b8ef41a907798f31d63c4330f36c0c141d5d02ad1d4a22667feff5ceda64e7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/36861993312"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-10-01T12:39:57.000Z",
      "arch": "aarch64",
      "commit": "e99bf774f9681f404fa5894b0b878f362030f426",
      "fileid": "https://r2.ropensci.org/d5593d157ce53d9682b6a8ab70b4f65a7a79b3233fcfabcdc507d5a6ed61fde6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/36861993312"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-10-01T12:36:20.000Z",
      "arch": "x86_64",
      "commit": "e99bf774f9681f404fa5894b0b878f362030f426",
      "fileid": "https://r2.ropensci.org/f8888e8096a7a206369264d8c212eea3b9b848a081f38f04464f40c25f302396",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/36861993312"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-10-01T12:36:05.000Z",
      "arch": "x86_64",
      "commit": "e99bf774f9681f404fa5894b0b878f362030f426",
      "fileid": "https://r2.ropensci.org/dfcd456aa6e433bf912aed92e31b4992b55035b5ae8e87e4c431909b57976c8f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/36861993312"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-10-01T12:39:47.000Z",
      "arch": "aarch64",
      "commit": "e99bf774f9681f404fa5894b0b878f362030f426",
      "fileid": "https://r2.ropensci.org/91840ea99c45aaa8696871974328c26d06e658849d197e8da2e85a2d76b4bc40",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/36861993312"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-10-01T12:36:41.000Z",
      "arch": "x86_64",
      "commit": "e99bf774f9681f404fa5894b0b878f362030f426",
      "fileid": "https://r2.ropensci.org/381e837cb72b9e145eae466b36138321436dac9c6d33b63fbb5c5b5da64ef49d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/36861993312"
    }
  ]
}