{
  "_id": "6a9973457b325a6d97b95735",
  "Package": "TruncatedNormal",
  "Type": "Package",
  "Title": "Truncated Multivariate Normal and Student Distributions",
  "Version": "2.3.0001",
  "Authors@R": "c(person(given=\"Zdravko\", family=\"Botev\", role = \"aut\", email = \"botev@unsw.edu.au\", comment = c(ORCID = \"0000-0001-9054-3452\")), person(given=\"Leo\", family=\"Belzile\", role = c(\"aut\", \"cre\"), email = \"belzilel@gmail.com\", comment = c(ORCID = \"0000-0002-9135-014X\")))",
  "Description": "A collection of functions to deal with the truncated\nunivariate and multivariate normal and Student distributions,\ndescribed in Botev (2017) <doi:10.1111/rssb.12162> and Botev\nand L'Ecuyer (2015) <doi:10.1109/WSC.2015.7408180>.",
  "License": "GPL-3",
  "BugReports": "https://github.com/lbelzile/TruncatedNormal/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://lbelzile.r-universe.dev",
  "Date/Publication": "2026-06-18 12:48:31 UTC",
  "RemoteUrl": "https://github.com/lbelzile/truncatednormal",
  "RemoteRef": "HEAD",
  "RemoteSha": "d949b3d20f7c3c7c2deeba68918baee49b23addf",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-09-03 12:06:19 UTC",
    "User": "root"
  },
  "Author": "Zdravko Botev [aut] (ORCID: <https://orcid.org/0000-0001-9054-3452>),\nLeo Belzile [aut, cre] (ORCID: <https://orcid.org/0000-0002-9135-014X>)",
  "Maintainer": "Leo Belzile <belzilel@gmail.com>",
  "_user": "lbelzile",
  "_type": "src",
  "_file": "TruncatedNormal_2.3.0001.tar.gz",
  "_fileid": "https://r2.ropensci.org/8dbb2c6987cbce330d84083b36b63efafc6976af77b7ab4f56a87c55f5d8b1b2",
  "_filesize": 863726,
  "_sha256": "8dbb2c6987cbce330d84083b36b63efafc6976af77b7ab4f56a87c55f5d8b1b2",
  "_expires": "2026-12-12T13:16:51.000Z",
  "_created": "2026-09-03T12:06:19.000Z",
  "_published": "2026-10-14T06:32:01.359Z",
  "_jobs": [
    {
      "job": 100641912957,
      "time": 127,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "9892501940"
    },
    {
      "job": 100641912976,
      "time": 163,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "9892943289"
    },
    {
      "job": 100641912910,
      "time": 181,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "9892533716"
    },
    {
      "job": 100641912934,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "9892932433"
    },
    {
      "job": 100641913099,
      "time": 117,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "9893774216"
    },
    {
      "job": 100641912959,
      "time": 323,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "9894020444"
    },
    {
      "job": 100641912885,
      "time": 144,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "9893791610"
    },
    {
      "job": 100641912995,
      "time": 254,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "9894122557"
    },
    {
      "job": 100636230464,
      "time": 239,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "9892423341"
    },
    {
      "job": 100641912785,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "9892911177"
    },
    {
      "job": 100641913037,
      "time": 240,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "9892570129"
    },
    {
      "job": 100641912927,
      "time": 240,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "9893017584"
    },
    {
      "job": 100641912897,
      "time": 132,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "9892963878"
    },
    {
      "job": 100641912989,
      "time": 224,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "9892560477"
    },
    {
      "job": 100641912914,
      "time": 148,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "9892961179"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/lbelzile/actions/runs/33748866695",
  "_status": "success",
  "_upstream": "https://github.com/lbelzile/truncatednormal",
  "_commit": {
    "id": "d949b3d20f7c3c7c2deeba68918baee49b23addf",
    "author": "Léo Belzile <belzilel@gmail.com>",
    "committer": "Léo Belzile <belzilel@gmail.com>",
    "message": "Fix #17\n",
    "time": 1781786911
  },
  "_maintainer": {
    "name": "Leo Belzile",
    "email": "belzilel@gmail.com",
    "login": "lbelzile",
    "orcid": "0000-0002-9135-014X",
    "description": "Associate professor of statistics in the Department of Decision Sciences at HEC Montréal.",
    "uuid": 20725206
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "nleqslv",
      "role": "Imports"
    },
    {
      "package": "qrng",
      "role": "Imports"
    },
    {
      "package": "spacefillr",
      "role": "Imports"
    },
    {
      "package": "alabama",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.16",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "mvtnorm",
      "role": "Suggests"
    },
    {
      "package": "carData",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    }
  ],
  "_owner": "lbelzile",
  "_selfowned": true,
  "_usedby": 20,
  "_updates": [
    {
      "week": "2025-36",
      "n": 1
    },
    {
      "week": "2026-25",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "gaussian",
    "student-distributions",
    "truncated",
    "openblas",
    "cpp",
    "openmp"
  ],
  "_stars": 11,
  "_contributors": [
    {
      "user": "lbelzile",
      "count": 82,
      "uuid": 20725206
    },
    {
      "user": "anthonyvankus",
      "count": 1,
      "uuid": 26214703
    }
  ],
  "_userbio": {
    "uuid": 20725206,
    "type": "user",
    "name": "Léo Belzile",
    "followers": 64,
    "description": "Associate professor of statistics in the Department of Decision Sciences at HEC Montréal."
  },
  "_downloads": {
    "count": 7389,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/TruncatedNormal"
  },
  "_devurl": "https://github.com/lbelzile/truncatednormal",
  "_searchresults": 191,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/TruncatedNormal.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/lbelzile/truncatednormal",
  "_realowner": "lbelzile",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2015-11-10"
    },
    {
      "version": "2.0",
      "date": "2019-06-10"
    },
    {
      "version": "2.1",
      "date": "2019-08-31"
    },
    {
      "version": "2.1.2",
      "date": "2020-05-02"
    },
    {
      "version": "2.2",
      "date": "2020-05-17"
    },
    {
      "version": "2.2.2",
      "date": "2021-09-08"
    },
    {
      "version": "2.3",
      "date": "2024-07-08"
    }
  ],
  "_exports": [
    ".cholpermGB",
    ".cholpermGGE",
    ".dmvnorm_arma",
    ".dmvt_arma",
    "cholperm",
    "dtmvnorm",
    "dtmvt",
    "lnNpr",
    "mvNcdf",
    "mvNqmc",
    "mvrandn",
    "mvrandt",
    "mvTcdf",
    "mvTqmc",
    "norminvp",
    "Phinv",
    "pmvnorm",
    "pmvt",
    "ptmvnorm",
    "ptmvt",
    "qtnorm",
    "rtmvnorm",
    "rtmvt",
    "rtnorm",
    "trandn",
    "tregress"
  ],
  "_datasets": [
    {
      "name": "lupus",
      "title": "Latent membranous Lupus Nephritis dataset",
      "object": "lupus",
      "file": "lupus.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "response",
        "const",
        "x1",
        "x2"
      ],
      "rows": 55,
      "table": true,
      "tojson": true
    },
    {
      "name": "mroz",
      "title": "Women wage dataset from Mroz (1987)",
      "object": "mroz",
      "file": "mroz.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "whrs",
        "kidslt6",
        "kidsge6",
        "age",
        "educ",
        "hearn",
        "exp"
      ],
      "rows": 753,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "TruncatedNormal-package",
      "title": "Truncated Normal Distribution Toolbox",
      "topics": [
        "TruncatedNormal-package",
        "TruncatedNormal"
      ]
    },
    {
      "page": "cholperm",
      "title": "Cholesky decomposition for Gaussian distribution function with permutation",
      "topics": [
        "cholperm"
      ]
    },
    {
      "page": "lupus",
      "title": "Latent membranous Lupus Nephritis dataset",
      "topics": [
        "lupus"
      ]
    },
    {
      "page": "mroz",
      "title": "Women wage dataset from Mroz (1987)",
      "topics": [
        "mroz"
      ]
    },
    {
      "page": "pmvnorm",
      "title": "Distribution function of the multivariate normal distribution for arbitrary limits",
      "topics": [
        "pmvnorm"
      ]
    },
    {
      "page": "pmvt",
      "title": "Distribution function of the multivariate Student distribution for arbitrary limits",
      "topics": [
        "pmvt"
      ]
    },
    {
      "page": "tmvnorm",
      "title": "Multivariate truncated normal distribution",
      "topics": [
        "tmvnorm"
      ]
    },
    {
      "page": "tmvt",
      "title": "Multivariate truncated Student distribution",
      "topics": [
        "tmvt"
      ]
    },
    {
      "page": "tnorm",
      "title": "Truncated univariate normal distribution",
      "topics": [
        "tnorm"
      ]
    },
    {
      "page": "tregress",
      "title": "Truncated student generator for Bayesian regression simulation",
      "topics": [
        "tregress"
      ]
    }
  ],
  "_readme": "https://github.com/lbelzile/truncatednormal/raw/HEAD/README.md",
  "_rundeps": [
    "alabama",
    "nleqslv",
    "numDeriv",
    "qrng",
    "Rcpp",
    "RcppArmadillo",
    "spacefillr"
  ],
  "_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": "TruncatedNormal_vignette.Rmd",
      "filename": "TruncatedNormal_vignette.html",
      "title": "TruncatedNormal package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example 1: Simulation of Gaussian variables subject to linear restrictions",
        "Example 2: Estimating the probability of rare events",
        "Example 3: High-dimensional truncated Student with positive correlation",
        "Example 4: Normal quantile function with tail-precision",
        "Example 5: Probit regression",
        "Example 6: Tobit regression"
      ],
      "created": "2019-06-06 18:52:11",
      "modified": "2025-09-01 12:50:14",
      "commits": 7
    }
  ],
  "_score": 8.96916296934836,
  "_indexed": true,
  "_nocasepkg": "truncatednormal",
  "_universes": [
    "lbelzile"
  ],
  "_failure": {
    "version": "2.3.0002",
    "commit": {
      "id": "cfac2c32a093658d980ca0736ac26edd05c48121",
      "author": "Léo Belzile <belzilel@gmail.com>",
      "committer": "Léo Belzile <belzilel@gmail.com>",
      "message": "Fix #18 by breaking the for loop\n",
      "time": 1788807642
    },
    "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/38153029233",
    "date": "2026-10-14T06:32:01.338Z",
    "job": {
      "job": 115715039119,
      "time": 172,
      "config": "source",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11874366105"
    }
  },
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.3.0001",
      "date": "2026-09-03T12:08:26.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d949b3d20f7c3c7c2deeba68918baee49b23addf",
      "fileid": "https://r2.ropensci.org/baade24884dc9708f4cab987c8e15a65b317050862686a31cd63c265a6bcc0b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/33748866695"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.3.0001",
      "date": "2026-09-03T12:20:10.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d949b3d20f7c3c7c2deeba68918baee49b23addf",
      "fileid": "https://r2.ropensci.org/90fde3ff433dac62ad3ce0809964e6ad21d2a1ce00ae1c1b91120dfc58be68ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/33748866695"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.3.0001",
      "date": "2026-09-03T12:09:19.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d949b3d20f7c3c7c2deeba68918baee49b23addf",
      "fileid": "https://r2.ropensci.org/0ec905a842c4145f8662a3835aa30212d7e85d24dcc8e6b6d49ac4e971d34c37",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/33748866695"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.3.0001",
      "date": "2026-09-03T12:19:59.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d949b3d20f7c3c7c2deeba68918baee49b23addf",
      "fileid": "https://r2.ropensci.org/7f8302f8403fcb77bb3fefba17d1f06a6ac74e4388a2a8a40a0baf35c10c9bc3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/33748866695"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.3.0001",
      "date": "2026-09-03T12:42:42.000Z",
      "arch": "aarch64",
      "commit": "d949b3d20f7c3c7c2deeba68918baee49b23addf",
      "fileid": "https://r2.ropensci.org/474c9e587c58a4a479f2c823ce63301b18f1c18359352da7f1f39f3a8b42b105",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/33748866695"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.3.0001",
      "date": "2026-09-03T12:47:45.000Z",
      "arch": "x86_64",
      "commit": "d949b3d20f7c3c7c2deeba68918baee49b23addf",
      "fileid": "https://r2.ropensci.org/2b36683bdbe3e573888f6386873540eba3f27ec00a377f10c72b8cc3cdf2f09e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/33748866695"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.3.0001",
      "date": "2026-09-03T12:43:04.000Z",
      "arch": "aarch64",
      "commit": "d949b3d20f7c3c7c2deeba68918baee49b23addf",
      "fileid": "https://r2.ropensci.org/d4551a9d0c5432eaf4149422e6e8e2876f981e91b05afbcf2488fe29463ec20c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/33748866695"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.3.0001",
      "date": "2026-09-03T12:50:46.000Z",
      "arch": "x86_64",
      "commit": "d949b3d20f7c3c7c2deeba68918baee49b23addf",
      "fileid": "https://r2.ropensci.org/657fbe7323d66b25c8a14e56b0602848a0b2aaa8772dc1a9cda14d390f56a4be",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/33748866695"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.3.0001",
      "date": "2026-09-03T12:19:54.000Z",
      "arch": "emscripten",
      "commit": "d949b3d20f7c3c7c2deeba68918baee49b23addf",
      "fileid": "https://r2.ropensci.org/8c93b8b410ecefacfb2f1e7ae9ed889f3323f416717b786f749e8420170b166d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/33748866695"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.3.0001",
      "date": "2026-09-03T12:09:57.000Z",
      "arch": "aarch64",
      "commit": "d949b3d20f7c3c7c2deeba68918baee49b23addf",
      "fileid": "https://r2.ropensci.org/27bb67d6206f7f8abcb9243255b75987b78e8b54eaf48bb5f4a783c9fa4120ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/33748866695"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.3.0001",
      "date": "2026-09-03T12:20:53.000Z",
      "arch": "x86_64",
      "commit": "d949b3d20f7c3c7c2deeba68918baee49b23addf",
      "fileid": "https://r2.ropensci.org/ca9d058c5c3e68e1deea03059b6ff8fd7a2cbfe53b11af99332e048eac0ca077",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/33748866695"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.3.0001",
      "date": "2026-09-03T12:20:12.000Z",
      "arch": "x86_64",
      "commit": "d949b3d20f7c3c7c2deeba68918baee49b23addf",
      "fileid": "https://r2.ropensci.org/5472167a8cb57c72cff2a5ac026eae3c87966301327d5fa6a26bdb8f3b3bd7f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/33748866695"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.3.0001",
      "date": "2026-09-03T12:09:41.000Z",
      "arch": "aarch64",
      "commit": "d949b3d20f7c3c7c2deeba68918baee49b23addf",
      "fileid": "https://r2.ropensci.org/167bf267f3a8b188e5dd25eabe4240961da6aad0e1c8053cf92b957c469036ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/33748866695"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.3.0001",
      "date": "2026-09-03T12:20:00.000Z",
      "arch": "x86_64",
      "commit": "d949b3d20f7c3c7c2deeba68918baee49b23addf",
      "fileid": "https://r2.ropensci.org/5ae07db369caaae38d72a2473057163c1db3985252786c5c5c8f059acb93ec33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lbelzile/actions/runs/33748866695"
    }
  ]
}