{
  "_id": "6ab62f1499f7aa8c6aa2beb2",
  "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-09-25 07:46:49 UTC",
  "RemoteUrl": "https://github.com/pedrobtz/decimal",
  "RemoteRef": "HEAD",
  "RemoteSha": "425fb46fcdee75af9e09683b3ef91bb7c6c814cb",
  "Packaged": {
    "Date": "2026-09-25 08:13:26 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/849c6859d1d7af79d214e54384617cb6cea091817a20c36c0492e46bde3612c3",
  "_filesize": 335677,
  "_sha256": "849c6859d1d7af79d214e54384617cb6cea091817a20c36c0492e46bde3612c3",
  "_expires": "2027-01-03T08:21:37.000Z",
  "_created": "2026-09-25T08:13:26.000Z",
  "_published": "2026-09-25T08:21:39.967Z",
  "_jobs": [
    {
      "job": 107996673611,
      "time": 123,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10852734904"
    },
    {
      "job": 107996673616,
      "time": 157,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10852794547"
    },
    {
      "job": 107996673699,
      "time": 122,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10853092509"
    },
    {
      "job": 107996673594,
      "time": 141,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10852962717"
    },
    {
      "job": 107996673728,
      "time": 112,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10853891771"
    },
    {
      "job": 107996673695,
      "time": 213,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10853707091"
    },
    {
      "job": 107996673676,
      "time": 133,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10853687416"
    },
    {
      "job": 107996673663,
      "time": 216,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10853099477"
    },
    {
      "job": 107995594225,
      "time": 224,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10853067241"
    },
    {
      "job": 107996673569,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 107996673686,
      "time": 205,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10853761519"
    },
    {
      "job": 107996673775,
      "time": 133,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10853481837"
    },
    {
      "job": 107996673696,
      "time": 89,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10853217363"
    },
    {
      "job": 107996673778,
      "time": 209,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10853691716"
    },
    {
      "job": 107996673722,
      "time": 98,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10853377115"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/36111423865",
  "_status": "success",
  "_upstream": "https://github.com/pedrobtz/decimal",
  "_commit": {
    "id": "425fb46fcdee75af9e09683b3ef91bb7c6c814cb",
    "author": "Pedro Z <pedrobtz@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #20 from pedrobtz/claude/cran-version-badges-y8mbwg",
    "time": 1790322409
  },
  "_maintainer": {
    "name": "Pedro Baltazar",
    "email": "pedrobtz@gmail.com",
    "login": "pedrobtz",
    "description": "\n",
    "uuid": 2864346
  },
  "_distro": "resolute",
  "_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
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-08-20"
    },
    {
      "name": "0.1.1",
      "date": "2026-09-23"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "pedrobtz",
      "count": 56,
      "uuid": 2864346
    },
    {
      "user": "claude",
      "count": 1,
      "uuid": 81847
    }
  ],
  "_userbio": {
    "uuid": 2864346,
    "type": "user",
    "name": "Pedro Z",
    "followers": 0
  },
  "_downloads": {
    "count": 381,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/decimal"
  },
  "_devurl": "https://github.com/pedrobtz/decimal",
  "_pkgdown": "https://pedrobtz.github.io/decimal/",
  "_searchresults": 6,
  "_rbuild": "4.6.1",
  "_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.176091259055681,
  "_indexed": true,
  "_nocasepkg": "decimal",
  "_universes": [
    "pedrobtz"
  ],
  "_previous": "0.1.1",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1.9000",
      "date": "2026-09-25T08:15:30.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "425fb46fcdee75af9e09683b3ef91bb7c6c814cb",
      "fileid": "https://r2.ropensci.org/41f113174c5fc8a3faa9714649447aba12b57482f90baa6a408b2fb5cd57c7e8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/36111423865"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1.9000",
      "date": "2026-09-25T08:15:52.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "425fb46fcdee75af9e09683b3ef91bb7c6c814cb",
      "fileid": "https://r2.ropensci.org/9cf38f3ec28b865558686ad1e8c1070ee4cdf51a6b3526d71cb899138cba7009",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/36111423865"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1.9000",
      "date": "2026-09-25T08:15:32.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "425fb46fcdee75af9e09683b3ef91bb7c6c814cb",
      "fileid": "https://r2.ropensci.org/e050a996773a47b3a622b7854ed6b0ffc2e8ce9bd4555fa9c8e8286966f8786c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/36111423865"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1.9000",
      "date": "2026-09-25T08:15:45.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "425fb46fcdee75af9e09683b3ef91bb7c6c814cb",
      "fileid": "https://r2.ropensci.org/59fbd7b3b4bbd46c2962ac25159bb8dc3ce89351bbfbf09139f0efa6b031b8a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/36111423865"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1.9000",
      "date": "2026-09-25T08:20:43.000Z",
      "arch": "aarch64",
      "commit": "425fb46fcdee75af9e09683b3ef91bb7c6c814cb",
      "fileid": "https://r2.ropensci.org/964413f4bb38c4408e97fba49d6ca7054c4f84f3b4d287d1f33bfd4887e96a5d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/36111423865"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1.9000",
      "date": "2026-09-25T08:19:08.000Z",
      "arch": "x86_64",
      "commit": "425fb46fcdee75af9e09683b3ef91bb7c6c814cb",
      "fileid": "https://r2.ropensci.org/b5b4a4b6373e41d7aad65a9a7239be3af4ddd1bda08bd81672c5ddbc37d64969",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/36111423865"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1.9000",
      "date": "2026-09-25T08:20:35.000Z",
      "arch": "aarch64",
      "commit": "425fb46fcdee75af9e09683b3ef91bb7c6c814cb",
      "fileid": "https://r2.ropensci.org/adbbc140052bb7fcfeb60a0d7acacc2f77597281235f518d23b5ed4f5c65bc0d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/36111423865"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1.9000",
      "date": "2026-09-25T08:19:08.000Z",
      "arch": "x86_64",
      "commit": "425fb46fcdee75af9e09683b3ef91bb7c6c814cb",
      "fileid": "https://r2.ropensci.org/95d965c30cc5f80d24f2b7bfe6ae3502f06ee900c57e03f7037ec3b5e3346521",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/36111423865"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-09-25T08:16:27.000Z",
      "arch": "aarch64",
      "commit": "425fb46fcdee75af9e09683b3ef91bb7c6c814cb",
      "fileid": "https://r2.ropensci.org/48344370dda3fa8be91c1f35cf104d4f8d9465708879d3a7c92e509024c9a46e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/36111423865"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-09-25T08:14:39.000Z",
      "arch": "x86_64",
      "commit": "425fb46fcdee75af9e09683b3ef91bb7c6c814cb",
      "fileid": "https://r2.ropensci.org/fa4ced39fe48064f5fcc9966bc1fe8625d62350bf602f02f8c7c80ca2a1f86c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/36111423865"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-09-25T08:14:33.000Z",
      "arch": "x86_64",
      "commit": "425fb46fcdee75af9e09683b3ef91bb7c6c814cb",
      "fileid": "https://r2.ropensci.org/7642ab9554234f3af4d430ce7048cf837f2e1a375bf7f730ea6b87e7c16c79a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/36111423865"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-09-25T08:16:35.000Z",
      "arch": "aarch64",
      "commit": "425fb46fcdee75af9e09683b3ef91bb7c6c814cb",
      "fileid": "https://r2.ropensci.org/99aa63dfe43272581bab96f243737701d16f034b0a1da033b0de3bc191d4e8ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/36111423865"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-09-25T08:14:36.000Z",
      "arch": "x86_64",
      "commit": "425fb46fcdee75af9e09683b3ef91bb7c6c814cb",
      "fileid": "https://r2.ropensci.org/cc3f7858b2b9b89baef644f0e019562bb4fa0adb9088f92793f3e25488c43cb0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/36111423865"
    }
  ]
}