{
  "_id": "6a1f39a2b401979e73428f39",
  "Package": "finitization",
  "Type": "Package",
  "Title": "Moment-Preserving Finitization for Power-Series Distributions",
  "Description": "Implements the finitization of discrete probability\ndistributions, a technique that approximates a distribution by\npreserving a finite number of moments. These finitized\ndistributions enable faster random variate generation than\ninverse transform sampling and are useful in simulation and\nstatistical modeling.",
  "Version": "0.1.0",
  "Authors@R": "person(\"Bogdan\", \"Oancea\", email = \"bogdan.oancea@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-6987-5137\"))",
  "Maintainer": "Bogdan Oancea <bogdan.oancea@gmail.com>",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "NeedsCompilation": "yes",
  "SystemRequirements": "GMP, CLN, GiNaC, pkg-config, make",
  "OS_type": "unix",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "URL": "https://github.com/bogdanoancea/finitization",
  "BugReports": "https://github.com/bogdanoancea/finitization/issues",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Collate": "'RcppExports.R' 'utils.R' 'binom.R' 'finitization.R' 'get_n.R'\n'log.R' 'negbinom.R' 'pois.R' 'zzz.R'",
  "Config/pak/sysreqs": "libcln-dev libginac-dev libgmp3-dev pkg-config",
  "Repository": "https://bogdanoancea.r-universe.dev",
  "Date/Publication": "2026-03-05 09:44:47 UTC",
  "RemoteUrl": "https://github.com/bogdanoancea/finitization",
  "RemoteRef": "master",
  "RemoteSha": "7ab9719f6f5e4c4534ac0e5d0e54d03dc55321d5",
  "Packaged": {
    "Date": "2026-05-10 05:18:04 UTC",
    "User": "root"
  },
  "Author": "Bogdan Oancea [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-6987-5137>)",
  "MD5sum": "0f3add7d01c6d7fd1aa630e66857fe91",
  "_user": "bogdanoancea",
  "_type": "src",
  "_file": "finitization_0.1.0.tar.gz",
  "_fileid": "637956380aba2924b5771885eaf620114bff031a3b7adc548006b35770bf2ab6",
  "_filesize": 230212,
  "_sha256": "637956380aba2924b5771885eaf620114bff031a3b7adc548006b35770bf2ab6",
  "_created": "2026-05-10T05:18:04.000Z",
  "_published": "2026-06-05T10:52:57.203Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79162672424,
      "time": 257,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79162671881,
      "time": 278,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79162672817,
      "time": 194,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79162672282,
      "time": 215,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79162672530,
      "time": 110,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79162672350,
      "time": 187,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79162672667,
      "time": 136,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79162671994,
      "time": 283,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79162671539,
      "time": 761,
      "config": "source",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6901162048"
    },
    {
      "job": 79162671171,
      "time": 216,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79162672088,
      "time": 238,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": ""
    },
    {
      "job": 79162672971,
      "time": 229,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": ""
    },
    {
      "job": 79162672638,
      "time": 213,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": ""
    }
  ],
  "_buildurl": "https://github.com/r-universe/bogdanoancea/actions/runs/25487875280",
  "_status": "failure",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/bogdanoancea/finitization",
  "_commit": {
    "id": "7ab9719f6f5e4c4534ac0e5d0e54d03dc55321d5",
    "author": "bogdanoancea <bogdan.oancea@gmail.com>",
    "committer": "bogdanoancea <bogdan.oancea@gmail.com>",
    "message": "for cran compatibility\n",
    "time": 1772703887
  },
  "_maintainer": {
    "name": "Bogdan Oancea",
    "email": "bogdan.oancea@gmail.com",
    "login": "bogdanoancea",
    "uuid": 9313914,
    "orcid": "0000-0001-6987-5137"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "rootSolve",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "extraDistr",
      "role": "Suggests"
    },
    {
      "package": "truncdist",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    }
  ],
  "_owner": "bogdanoancea",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-38",
      "n": 4
    },
    {
      "week": "2025-39",
      "n": 21
    },
    {
      "week": "2025-40",
      "n": 4
    },
    {
      "week": "2025-43",
      "n": 16
    },
    {
      "week": "2025-44",
      "n": 44
    },
    {
      "week": "2025-45",
      "n": 5
    },
    {
      "week": "2025-46",
      "n": 2
    },
    {
      "week": "2025-47",
      "n": 8
    },
    {
      "week": "2025-51",
      "n": 7
    },
    {
      "week": "2025-52",
      "n": 4
    },
    {
      "week": "2026-01",
      "n": 1
    },
    {
      "week": "2026-09",
      "n": 3
    },
    {
      "week": "2026-10",
      "n": 3
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "bogdanoancea",
      "count": 283,
      "uuid": 9313914
    }
  ],
  "_userbio": {
    "uuid": 9313914,
    "type": "user",
    "name": "Bogdan Oancea",
    "description": "I am full Professor at the University of Bucharest.\r\nI have more than 25 years of programming experience using C, C++, Java, R, Python"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/finitization"
  },
  "_devurl": "https://github.com/bogdanoancea/finitization",
  "_searchresults": 0,
  "_topics": [
    "ginac",
    "cln",
    "cpp"
  ],
  "_metadata": {
    "maintainer": "Bogdan Oancea <bogdan.oancea@gmail.com>",
    "description": "R package implementing finitization of discrete distributions with exact moment preservation using GMP, CLN, and GiNaC backends.",
    "topic": [
      "statistics",
      "probability",
      "distributions",
      "C++",
      "GMP",
      "GiNaC",
      "CLN"
    ],
    "license": "GPL-3",
    "language": [
      "R",
      "C++"
    ]
  },
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/finitization.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "dbinom",
    "dlog",
    "dnegbinom",
    "dpois",
    "getBinomialMFPS",
    "getLogarithmicMFPS",
    "getNegativeBinomialMFPS",
    "getPoissonMFPS",
    "pbinom",
    "plog",
    "pnegbinom",
    "ppois",
    "printFinitizedBinomialDensity",
    "printFinitizedLogarithmicDensity",
    "printFinitizedNegativeBinomialDensity",
    "printFinitizedPoissonDensity",
    "qbinom",
    "qlog",
    "qnegbinom",
    "qpois",
    "rbinom",
    "rlog",
    "rnegbinom",
    "rpois"
  ],
  "_help": [
    {
      "page": "dbinom",
      "title": "The density for the finitized Binomial distribution.",
      "topics": [
        "dbinom"
      ]
    },
    {
      "page": "dlog",
      "title": "The density for the Logarithmic distribution.",
      "topics": [
        "dlog"
      ]
    },
    {
      "page": "dnegbinom",
      "title": "The density for the finitized Negative Binomial distribution.",
      "topics": [
        "dnegbinom"
      ]
    },
    {
      "page": "dpois",
      "title": "The density for the finitized Poisson distribution.",
      "topics": [
        "dpois"
      ]
    },
    {
      "page": "getBinomialMFPS",
      "title": "Maximum feasible parameter space for the finitized Binomial distribution.",
      "topics": [
        "getBinomialMFPS"
      ]
    },
    {
      "page": "getLogarithmicMFPS",
      "title": "Maximum feasible parameter space for the finitized Logarithmic distribution.",
      "topics": [
        "getLogarithmicMFPS"
      ]
    },
    {
      "page": "getNegativeBinomialMFPS",
      "title": "Maximum feasible parameter space for the finitized Negative Binomial distribution.",
      "topics": [
        "getNegativeBinomialMFPS"
      ]
    },
    {
      "page": "getPoissonMFPS",
      "title": "Maximum feasible parameter space for the finitized Poisson distribution.",
      "topics": [
        "getPoissonMFPS"
      ]
    },
    {
      "page": "pbinom",
      "title": "The cumulative distribution function (CDF) for the finitized Binomial distribution.",
      "topics": [
        "pbinom"
      ]
    },
    {
      "page": "plog",
      "title": "The cumulative distribution function (CDF) for the finitized Logarithmic distribution.",
      "topics": [
        "plog"
      ]
    },
    {
      "page": "pnegbinom",
      "title": "The cumulative distribution function (CDF) for the finitized Negative Binomial distribution.",
      "topics": [
        "pnegbinom"
      ]
    },
    {
      "page": "ppois",
      "title": "The cumulative distribution function (CDF) for the finitized Poisson distribution.",
      "topics": [
        "ppois"
      ]
    },
    {
      "page": "printFinitizedBinomialDensity",
      "title": "The string representation of the probability density function for the finitized Binomial distribution.",
      "topics": [
        "printFinitizedBinomialDensity"
      ]
    },
    {
      "page": "printFinitizedLogarithmicDensity",
      "title": "The string representation of the probability density function for the finitized Logarithmic distribution.",
      "topics": [
        "printFinitizedLogarithmicDensity"
      ]
    },
    {
      "page": "printFinitizedNegativeBinomialDensity",
      "title": "The string representation of the probability density function for the finitized Negative Binomial distribution.",
      "topics": [
        "printFinitizedNegativeBinomialDensity"
      ]
    },
    {
      "page": "printFinitizedPoissonDensity",
      "title": "The string representation of the probability density function for the finitized Poisson distribution.",
      "topics": [
        "printFinitizedPoissonDensity"
      ]
    },
    {
      "page": "qbinom",
      "title": "The quantile function for the finitized Binomial distribution.",
      "topics": [
        "qbinom"
      ]
    },
    {
      "page": "qlog",
      "title": "The quantile function for the finitized Logarithmic distribution.",
      "topics": [
        "qlog"
      ]
    },
    {
      "page": "qnegbinom",
      "title": "The quantile function for the finitized Negative Binomial distribution.",
      "topics": [
        "qnegbinom"
      ]
    },
    {
      "page": "qpois",
      "title": "The quantile function for the finitized Poisson distribution.",
      "topics": [
        "qpois"
      ]
    },
    {
      "page": "rbinom",
      "title": "Random values generation for the finitized Binomial distribution.",
      "topics": [
        "rbinom"
      ]
    },
    {
      "page": "rlog",
      "title": "Random values generation for the finitized Logarithmic distribution.",
      "topics": [
        "rlog"
      ]
    },
    {
      "page": "rnegbinom",
      "title": "Random values generation for the finitized Negative Binomial distribution.",
      "topics": [
        "rnegbinom"
      ]
    },
    {
      "page": "rpois",
      "title": "Random values generation for the finitized Poisson distribution.",
      "topics": [
        "rpois"
      ]
    }
  ],
  "_readme": "https://github.com/bogdanoancea/finitization/raw/master/README.md",
  "_rundeps": [
    "Rcpp",
    "rootSolve"
  ],
  "_sysdeps": [
    {
      "shlib": "libginac",
      "package": "libginac11",
      "headers": "libginac-dev",
      "source": "ginac",
      "version": "1.8.7-1build2",
      "name": "ginac",
      "homepage": "http://www.ginac.de/",
      "description": "GiNaC symbolic framework runtime library"
    },
    {
      "shlib": "libcln",
      "package": "libcln6",
      "headers": "libcln-dev",
      "source": "cln",
      "version": "1.3.7-1",
      "name": "cln",
      "homepage": "http://www.ginac.de/CLN/",
      "description": "Class Library for Numbers (C++)"
    },
    {
      "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"
    }
  ],
  "_score": 2.8129133566428557,
  "_indexed": true,
  "_nocasepkg": "finitization",
  "_universes": [
    "bogdanoancea"
  ],
  "_binaries": [
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-03-04T05:49:21.000Z",
      "arch": "aarch64",
      "commit": "92dcd2d9970f890096805df8a64cc320358c4726",
      "fileid": "793059ae1eb026512b21382b11e39ddf45b5e3d926cd76a47ac137c2b5b4ed94",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/bogdanoancea/actions/runs/22656811844"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-03-04T05:49:57.000Z",
      "arch": "x86_64",
      "commit": "92dcd2d9970f890096805df8a64cc320358c4726",
      "fileid": "44030f5958dbb2d8654ac7d846fd324b0920b2d4893cf1b28705bc047132f454",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/bogdanoancea/actions/runs/22656811844"
    },
    {
      "r": "4.5.2",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-03-04T05:49:00.000Z",
      "arch": "aarch64",
      "commit": "92dcd2d9970f890096805df8a64cc320358c4726",
      "fileid": "d69f477ec6cddfa9e6d7abf3bb99567a2432bfba8d0a89d599ef4a469e206563",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/bogdanoancea/actions/runs/22656811844"
    },
    {
      "r": "4.5.2",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-03-04T05:50:20.000Z",
      "arch": "x86_64",
      "commit": "92dcd2d9970f890096805df8a64cc320358c4726",
      "fileid": "4df79579298316833ecee2acb1c0d8284f0ea9b01f60b0389729bb34b2c228a0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/bogdanoancea/actions/runs/22656811844"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-07T09:47:25.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "7ab9719f6f5e4c4534ac0e5d0e54d03dc55321d5",
      "fileid": "9fd2f0c84f8a1c5162eb439069998737617b0711a33d684d54667f2f1530b0b9",
      "status": "failure",
      "buildurl": "https://github.com/r-universe/bogdanoancea/actions/runs/25487875280"
    }
  ]
}