{
  "_id": "6a1feb88b401979e73440527",
  "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-03-05 15:44:25 UTC",
  "RemoteUrl": "https://github.com/rcorradin/bnpmix",
  "RemoteRef": "HEAD",
  "RemoteSha": "8602b765cb031acac4447fe34917c42b5888f9f2",
  "Packaged": {
    "Date": "2026-06-03 08:40:35 UTC",
    "User": "root"
  },
  "Author": "Riccardo Corradin [aut, cre],\nAntonio Canale [ctb],\nBernardo Nipoti [ctb]",
  "Maintainer": "Riccardo Corradin <riccardo.corradin@gmail.com>",
  "MD5sum": "4d6f372fc1d9523190a07444c91d7090",
  "_user": "rcorradin",
  "_type": "src",
  "_file": "BNPmix_1.2.1.tar.gz",
  "_fileid": "f21260292e086d32982c0d45a25697ef282af7aa25fd6f1372dabdd91cb1145e",
  "_filesize": 568289,
  "_sha256": "f21260292e086d32982c0d45a25697ef282af7aa25fd6f1372dabdd91cb1145e",
  "_created": "2026-06-03T08:40:35.000Z",
  "_published": "2026-06-03T08:53:28.421Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79255254164,
      "time": 248,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7379826674"
    },
    {
      "job": 79255253989,
      "time": 226,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7379817177"
    },
    {
      "job": 79255253987,
      "time": 245,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7379824925"
    },
    {
      "job": 79255254127,
      "time": 233,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7379819821"
    },
    {
      "job": 79255254051,
      "time": 224,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7379839142"
    },
    {
      "job": 79255254025,
      "time": 603,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7379955927"
    },
    {
      "job": 79255254017,
      "time": 172,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7379838849"
    },
    {
      "job": 79255254254,
      "time": 303,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7379863449"
    },
    {
      "job": 79254292911,
      "time": 339,
      "config": "source",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7379739117"
    },
    {
      "job": 79255253931,
      "time": 181,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379801722"
    },
    {
      "job": 79255253998,
      "time": 237,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7379820669"
    },
    {
      "job": 79255254031,
      "time": 258,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7379829853"
    },
    {
      "job": 79255254072,
      "time": 266,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7379833973"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rcorradin/actions/runs/26873398028",
  "_status": "failure",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/rcorradin/bnpmix",
  "_commit": {
    "id": "8602b765cb031acac4447fe34917c42b5888f9f2",
    "author": "rcorradin <riccardo.corradin@gmail.com>",
    "committer": "rcorradin <riccardo.corradin@gmail.com>",
    "message": "update\n",
    "time": 1772725465
  },
  "_maintainer": {
    "name": "Riccardo Corradin",
    "email": "riccardo.corradin@gmail.com",
    "login": "rcorradin",
    "description": "Assistant professor / code lover ",
    "uuid": 11736376
  },
  "_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
    }
  ],
  "_tags": [],
  "_stars": 9,
  "_contributors": [
    {
      "user": "rcorradin",
      "count": 78,
      "uuid": 11736376
    }
  ],
  "_userbio": {
    "uuid": 11736376,
    "type": "user",
    "name": "Riccardo Corradin",
    "description": "Assistant professor / code lover "
  },
  "_downloads": {
    "count": 649,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BNPmix"
  },
  "_devurl": "https://github.com/rcorradin/bnpmix",
  "_searchresults": 32,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/BNPmix.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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"
    }
  ],
  "_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",
    "microbenchmark",
    "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.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"
    }
  ],
  "_score": 4.635483746814912,
  "_indexed": true,
  "_nocasepkg": "bnpmix",
  "_universes": [
    "rcorradin"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-06-03T08:44:27.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "8602b765cb031acac4447fe34917c42b5888f9f2",
      "fileid": "55891dd2ed796650b2f06e3fbe607a9c80a9a9ae3cd081383e9cf65f5dde1b74",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/26873398028"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-06-03T08:44:14.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "8602b765cb031acac4447fe34917c42b5888f9f2",
      "fileid": "1dcfed8330b10eaa217904e0837cb6462e4437405ddc6ebaa3797980d67b556d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/26873398028"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-06-03T08:44:18.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "8602b765cb031acac4447fe34917c42b5888f9f2",
      "fileid": "d653313de07863f54eb8b3d6d498cfacb7051a42d5060dcf2a3a5b838d92f1a9",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/26873398028"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-06-03T08:44:13.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "8602b765cb031acac4447fe34917c42b5888f9f2",
      "fileid": "13fe015ae6c1a0daa51ab900ac66ff8a3099ab532508b02d6f8a2a50b48c5acd",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/26873398028"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-06-03T08:45:49.000Z",
      "arch": "aarch64",
      "commit": "8602b765cb031acac4447fe34917c42b5888f9f2",
      "fileid": "fc20c23e8203728cb90846808513fb2ae2ee1459953800cd1a5e82efed0f1921",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/26873398028"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-06-03T08:48:51.000Z",
      "arch": "x86_64",
      "commit": "8602b765cb031acac4447fe34917c42b5888f9f2",
      "fileid": "e252251ef52f845d1bdce600f3011e88686ac7e130038494a226729ef0dd77cc",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/26873398028"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-06-03T08:45:59.000Z",
      "arch": "aarch64",
      "commit": "8602b765cb031acac4447fe34917c42b5888f9f2",
      "fileid": "185a452eb4e5ce07d6210adcc91903d1dfa75597f02049f28548385dece76580",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/26873398028"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-06-03T08:45:51.000Z",
      "arch": "x86_64",
      "commit": "8602b765cb031acac4447fe34917c42b5888f9f2",
      "fileid": "e4f985ea21a0ea46e5d367cd51896e8f5497db13be61c746ff861160b98cb286",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/26873398028"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.1",
      "date": "2026-06-03T08:44:17.000Z",
      "arch": "emscripten",
      "commit": "8602b765cb031acac4447fe34917c42b5888f9f2",
      "fileid": "5ea756ff1c0db5fa2a6bbfc8defb80eb38d9947eaf58a87212a26bb8e14c12a6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/26873398028"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-06-03T08:43:10.000Z",
      "arch": "x86_64",
      "commit": "8602b765cb031acac4447fe34917c42b5888f9f2",
      "fileid": "6efa41134c95870108fc669e281830d3b0abaceb0ae8a1e15342593ac6e77f2e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/26873398028"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-06-03T08:43:25.000Z",
      "arch": "x86_64",
      "commit": "8602b765cb031acac4447fe34917c42b5888f9f2",
      "fileid": "0e9a24cfca157a1838df389e8f7af2cb6a4e4ca1788520e5369450bea20c3d2a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/26873398028"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-06-03T08:43:21.000Z",
      "arch": "x86_64",
      "commit": "8602b765cb031acac4447fe34917c42b5888f9f2",
      "fileid": "cdafd6782318e55502797d3d6ce420a613e51754cf5400438f23c4196e57de1d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rcorradin/actions/runs/26873398028"
    }
  ]
}