{
  "_id": "6aeb60051e2c7b3a4f53527e",
  "Package": "decimal",
  "Title": "Exact Arbitrary-Precision Decimal Vectors",
  "Version": "0.1.1.9000",
  "Authors@R": "c(\nperson(\n\"Pedro\", \"Baltazar\",\nemail = \"pedrobtz@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\")\n),\nperson(\n\"Stefan\", \"Krah\",\nrole = c(\"ctb\", \"cph\"),\ncomment = \"Vendored 'mpdecimal' library in src/mpdecimal; see inst/COPYRIGHTS.\"\n)\n)",
  "Description": "Arbitrary-precision vectors with an exact decimal\nrepresentation, avoiding the rounding surprises of binary\nfloating point. Built on the 'mpdecimal' C library, arithmetic\nis governed by an explicit decimal context controlling\nprecision, rounding, and signaling, and vectors integrate with\n'vctrs' for use in data frames, 'tibble' objects, summaries,\nand common numeric workflows. Missing values, signed zeros,\ninfinities, and not-a-number values are supported throughout.\nThe arithmetic model follows Cowlishaw (2009) \"General Decimal\nArithmetic\" <https://speleotrove.com/decimal/decarith.html>.",
  "License": "MIT + file LICENSE",
  "Language": "en-US",
  "URL": "https://github.com/pedrobtz/decimal,\nhttps://pedrobtz.github.io/decimal/",
  "BugReports": "https://github.com/pedrobtz/decimal/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/Needs/documentation": "roxygen2",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "NeedsCompilation": "yes",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://pedrobtz.r-universe.dev",
  "Date/Publication": "2026-11-04 14:27:18 UTC",
  "RemoteUrl": "https://github.com/pedrobtz/decimal",
  "RemoteRef": "HEAD",
  "RemoteSha": "985d37fc60412791b16001096f77459d6c40e2cc",
  "Packaged": {
    "Date": "2026-11-04 15:54:28 UTC",
    "User": "root"
  },
  "Author": "Pedro Baltazar [aut, cre, cph],\nStefan Krah [ctb, cph] (Vendored 'mpdecimal' library in src/mpdecimal;\nsee inst/COPYRIGHTS.)",
  "Maintainer": "Pedro Baltazar <pedrobtz@gmail.com>",
  "_user": "pedrobtz",
  "_type": "src",
  "_file": "decimal_0.1.1.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/ad9032be58c20305c5e0d6713bd278d8b54f752127efeb3c11f5fe09d6d958d1",
  "_filesize": 334253,
  "_sha256": "ad9032be58c20305c5e0d6713bd278d8b54f752127efeb3c11f5fe09d6d958d1",
  "_expires": "2027-02-12T16:40:35.000Z",
  "_created": "2026-11-04T15:54:28.000Z",
  "_published": "2026-11-04T16:40:36.881Z",
  "_upstream": "https://github.com/pedrobtz/decimal",
  "_status": "success",
  "_maintainer": {
    "name": "Pedro Baltazar",
    "email": "pedrobtz@gmail.com",
    "login": "pedrobtz",
    "description": "\n",
    "uuid": 2864346
  },
  "_jobs": [
    {
      "job": 126688020847,
      "time": 130,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13340557098"
    },
    {
      "job": 126688020651,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13341225939"
    },
    {
      "job": 126688020723,
      "time": 133,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13340272660"
    },
    {
      "job": 126688020823,
      "time": 123,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13340507502"
    },
    {
      "job": 126688021038,
      "time": 207,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13341544615"
    },
    {
      "job": 126688020812,
      "time": 727,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13341889129"
    },
    {
      "job": 126688020900,
      "time": 116,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13340764200"
    },
    {
      "job": 126688020695,
      "time": 678,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13341409061"
    },
    {
      "job": 126686071008,
      "time": 216,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13340037825"
    },
    {
      "job": 126688020704,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 126688020902,
      "time": 247,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13340272937"
    },
    {
      "job": 126688020891,
      "time": 134,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13340392653"
    },
    {
      "job": 126688020972,
      "time": 109,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13341001232"
    },
    {
      "job": 126688020805,
      "time": 240,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13340472730"
    },
    {
      "job": 126688020955,
      "time": 101,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13341480925"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/41861961183",
  "_commit": {
    "id": "985d37fc60412791b16001096f77459d6c40e2cc",
    "author": "Pedro Z <pedrobtz@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #28 from pedrobtz/valgrind-suppressions",
    "time": 1793802438
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "arrow",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "data.table",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "pillar",
      "role": "Suggests"
    },
    {
      "package": "R6",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "pedrobtz",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-25",
      "n": 1
    },
    {
      "week": "2026-31",
      "n": 6
    },
    {
      "week": "2026-33",
      "n": 2
    },
    {
      "week": "2026-34",
      "n": 2
    },
    {
      "week": "2026-39",
      "n": 20
    },
    {
      "week": "2026-45",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-08-20"
    },
    {
      "name": "0.1.1",
      "date": "2026-09-23"
    }
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "pedrobtz",
      "count": 58,
      "uuid": 2864346
    },
    {
      "user": "claude",
      "count": 1,
      "uuid": 81847
    }
  ],
  "_userbio": {
    "uuid": 2864346,
    "type": "user",
    "name": "Pedro Z",
    "followers": 0
  },
  "_downloads": {
    "count": 432,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/decimal"
  },
  "_devurl": "https://github.com/pedrobtz/decimal",
  "_pkgdown": "https://pedrobtz.github.io/decimal/",
  "_searchresults": 7,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/decimal.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/pedrobtz/decimal",
  "_realowner": "pedrobtz",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-08-24"
    },
    {
      "version": "0.1.1",
      "date": "2026-09-23"
    }
  ],
  "_exports": [
    "adjusted",
    "arrow_as_data_frame",
    "arrow_decimal_type",
    "as_decimal",
    "clear_decimal_flags",
    "decimal",
    "decimal_context",
    "decimal_flags",
    "decimal_from_double",
    "fma",
    "get_decimal_context",
    "is_decimal",
    "is_normal",
    "is_qnan",
    "is_signed",
    "is_snan",
    "is_subnormal",
    "is_zero",
    "local_decimal_context",
    "mpdecimal_version",
    "NA_decimal_",
    "normalize",
    "number_class",
    "quantize",
    "same_quantum",
    "set_decimal_context",
    "with_decimal_context"
  ],
  "_help": [
    {
      "page": "adjusted",
      "title": "Compute the adjusted exponent",
      "topics": [
        "adjusted"
      ]
    },
    {
      "page": "arrow_as_data_frame",
      "title": "Convert an Arrow table to a data frame, keeping decimal columns exact",
      "topics": [
        "arrow_as_data_frame"
      ]
    },
    {
      "page": "arrow_decimal_type",
      "title": "Arrow type for a decimal column",
      "topics": [
        "arrow_decimal_type"
      ]
    },
    {
      "page": "as_decimal",
      "title": "Convert a vector to decimal",
      "topics": [
        "as_decimal",
        "as_decimal.Array",
        "as_decimal.character",
        "as_decimal.ChunkedArray",
        "as_decimal.decimal",
        "as_decimal.default",
        "as_decimal.integer",
        "as_decimal.numeric"
      ]
    },
    {
      "page": "clear_decimal_flags",
      "title": "Clear sticky decimal flags",
      "topics": [
        "clear_decimal_flags"
      ]
    },
    {
      "page": "decimal",
      "title": "Construct decimal vectors",
      "topics": [
        "decimal"
      ]
    },
    {
      "page": "decimal_arrow",
      "title": "Arrow interoperability",
      "topics": [
        "decimal_arrow"
      ]
    },
    {
      "page": "decimal_context",
      "title": "Create a decimal arithmetic context",
      "topics": [
        "decimal_context"
      ]
    },
    {
      "page": "decimal_flags",
      "title": "Read sticky decimal flags",
      "topics": [
        "decimal_flags"
      ]
    },
    {
      "page": "decimal_from_double",
      "title": "Controlled conversion from double",
      "topics": [
        "decimal_from_double"
      ]
    },
    {
      "page": "fma",
      "title": "Fused multiply-add",
      "topics": [
        "fma"
      ]
    },
    {
      "page": "get_decimal_context",
      "title": "Get the active decimal arithmetic context",
      "topics": [
        "get_decimal_context"
      ]
    },
    {
      "page": "is_decimal",
      "title": "Test whether an object is a decimal vector",
      "topics": [
        "is_decimal"
      ]
    },
    {
      "page": "is_normal",
      "title": "Identify normal decimal values",
      "topics": [
        "is_normal"
      ]
    },
    {
      "page": "is_qnan",
      "title": "Identify quiet NaN values",
      "topics": [
        "is_qnan"
      ]
    },
    {
      "page": "is_signed",
      "title": "Identify values with a negative sign",
      "topics": [
        "is_signed"
      ]
    },
    {
      "page": "is_snan",
      "title": "Identify signaling NaN values",
      "topics": [
        "is_snan"
      ]
    },
    {
      "page": "is_subnormal",
      "title": "Identify subnormal decimal values",
      "topics": [
        "is_subnormal"
      ]
    },
    {
      "page": "is_zero",
      "title": "Identify decimal zeros",
      "topics": [
        "is_zero"
      ]
    },
    {
      "page": "local_decimal_context",
      "title": "Install a decimal context for the current scope",
      "topics": [
        "local_decimal_context"
      ]
    },
    {
      "page": "mpdecimal_version",
      "title": "Report the bundled mpdecimal runtime version",
      "topics": [
        "mpdecimal_version"
      ]
    },
    {
      "page": "NA_decimal_",
      "title": "Missing decimal scalar",
      "topics": [
        "NA_decimal_"
      ]
    },
    {
      "page": "normalize",
      "title": "Remove unnecessary trailing zeros",
      "topics": [
        "normalize"
      ]
    },
    {
      "page": "number_class",
      "title": "Classify decimal values",
      "topics": [
        "number_class"
      ]
    },
    {
      "page": "quantize",
      "title": "Quantize decimal values to a scale",
      "topics": [
        "quantize"
      ]
    },
    {
      "page": "same_quantum",
      "title": "Compare decimal vector scales",
      "topics": [
        "same_quantum"
      ]
    },
    {
      "page": "set_decimal_context",
      "title": "Set the active decimal arithmetic context",
      "topics": [
        "set_decimal_context"
      ]
    },
    {
      "page": "summary.decimal",
      "title": "Summarize a decimal vector",
      "topics": [
        "summary.decimal"
      ]
    },
    {
      "page": "with_decimal_context",
      "title": "Use a decimal context within a block",
      "topics": [
        "with_decimal_context"
      ]
    }
  ],
  "_readme": "https://github.com/pedrobtz/decimal/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "glue",
    "lifecycle",
    "rlang",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "arrow-decimal-types.Rmd",
      "filename": "arrow-decimal-types.html",
      "title": "Arrow Decimal Types",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A name collision to know about",
        "From Arrow to decimal",
        "Scale comes along for free",
        "Nulls become NA",
        "Chunked arrays work the same way",
        "Integer columns",
        "From decimal to Arrow",
        "Pinning the type",
        "Plain fields, and when you want one",
        "Whole tables and Parquet files",
        "Decimal columns written elsewhere",
        "Where the two type systems differ"
      ],
      "created": "2026-09-22 11:32:41",
      "modified": "2026-09-23 13:00:41",
      "commits": 4
    },
    {
      "source": "contexts-and-signals.Rmd",
      "filename": "contexts-and-signals.html",
      "title": "Contexts and Signals",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The default context",
        "Changing the context, temporarily",
        "Signals and sticky flags",
        "Reporting signals",
        "Traps: turning signals into errors",
        "Classifying values"
      ],
      "created": "2026-07-31 11:36:32",
      "modified": "2026-07-31 11:36:32",
      "commits": 1
    },
    {
      "source": "decimal-values.Rmd",
      "filename": "decimal-values.html",
      "title": "Decimal Values",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Creating decimal vectors",
        "Scale: how many decimal places?",
        "What about doubles?",
        "Decimals are well-behaved vectors",
        "In a data.table",
        "Arithmetic",
        "Special values",
        "Rounding and other decimal tools",
        "Where to next"
      ],
      "created": "2026-07-31 11:36:32",
      "modified": "2026-09-23 13:00:41",
      "commits": 2
    }
  ],
  "_score": 5.556302500767288,
  "_indexed": true,
  "_nocasepkg": "decimal",
  "_universes": [
    "pedrobtz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1.9000",
      "date": "2026-11-04T15:56:37.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "985d37fc60412791b16001096f77459d6c40e2cc",
      "fileid": "https://r2.ropensci.org/89f27e83be669031975612b6e9c319c5a224d2b6c55cc61f6a93419e0a58fee9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/41861961183"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1.9000",
      "date": "2026-11-04T15:56:29.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "985d37fc60412791b16001096f77459d6c40e2cc",
      "fileid": "https://r2.ropensci.org/775dc8e2089e745e89d5708d2d107a5ab3a8ae6205eb7c6e4d7f021c9264afd0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/41861961183"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.1.9000",
      "date": "2026-11-04T15:56:43.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "985d37fc60412791b16001096f77459d6c40e2cc",
      "fileid": "https://r2.ropensci.org/c0c3b4292a8fff49765fc94ffd1d5e70a18a3e47aa9296e5a0b50e74261a6000",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/41861961183"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.1.9000",
      "date": "2026-11-04T15:56:27.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "985d37fc60412791b16001096f77459d6c40e2cc",
      "fileid": "https://r2.ropensci.org/84cad210191d725f0a2fbba5a321225cd7226082d009ab9c508b2eed93cd815e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/41861961183"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1.9000",
      "date": "2026-11-04T16:18:46.000Z",
      "arch": "aarch64",
      "commit": "985d37fc60412791b16001096f77459d6c40e2cc",
      "fileid": "https://r2.ropensci.org/0d8500624258f071f70644228cc472ec6d7804d295acae68eae0901ad91fbadd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/41861961183"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1.9000",
      "date": "2026-11-04T16:23:23.000Z",
      "arch": "x86_64",
      "commit": "985d37fc60412791b16001096f77459d6c40e2cc",
      "fileid": "https://r2.ropensci.org/b258d2891dd3ec54f6ee2d2e77ad228c62739e7dd51a298fac72b117ab13bafc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/41861961183"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.1.9000",
      "date": "2026-11-04T16:14:32.000Z",
      "arch": "aarch64",
      "commit": "985d37fc60412791b16001096f77459d6c40e2cc",
      "fileid": "https://r2.ropensci.org/6a5979e934b7185364e23276040cad668a3397ded9b7be4b703f470cf0f35d29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/41861961183"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.1.9000",
      "date": "2026-11-04T16:15:07.000Z",
      "arch": "x86_64",
      "commit": "985d37fc60412791b16001096f77459d6c40e2cc",
      "fileid": "https://r2.ropensci.org/42df92b9265c11601e664500e77e36978a61ddc013a003f606acb042b2f61332",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/41861961183"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-11-04T15:58:10.000Z",
      "arch": "aarch64",
      "commit": "985d37fc60412791b16001096f77459d6c40e2cc",
      "fileid": "https://r2.ropensci.org/08019fba484e8fcc2b326b4e60e1d4dffc2e04250c61a5d69cb5efe38f4a4daa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/41861961183"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-11-04T15:55:37.000Z",
      "arch": "x86_64",
      "commit": "985d37fc60412791b16001096f77459d6c40e2cc",
      "fileid": "https://r2.ropensci.org/043e8ea65874fb020e8d2852de00ecbe844d34b681f621cd2d2cec6a83bdeb07",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/41861961183"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-11-04T15:55:45.000Z",
      "arch": "x86_64",
      "commit": "985d37fc60412791b16001096f77459d6c40e2cc",
      "fileid": "https://r2.ropensci.org/6269cbb6edcb9450cf864e91f82712f06c1f9d0581b5f9b6fce9797a7b292afd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/41861961183"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-11-04T15:58:08.000Z",
      "arch": "aarch64",
      "commit": "985d37fc60412791b16001096f77459d6c40e2cc",
      "fileid": "https://r2.ropensci.org/f57018153217f09d55f2edd01a4258f7099bd07c4196c347751fc56a6c71ce4d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/41861961183"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-11-04T15:55:46.000Z",
      "arch": "x86_64",
      "commit": "985d37fc60412791b16001096f77459d6c40e2cc",
      "fileid": "https://r2.ropensci.org/4319422a1dfb9776ee6456fe0bf2a2075cbb469807f70dffc56fd0920a358780",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/41861961183"
    }
  ]
}