{
  "_id": "6a101c8facfb0bcc41c87de6",
  "Package": "era",
  "Type": "Package",
  "Title": "Year-Based Time Scales",
  "Version": "0.5.0.9000",
  "Authors@R": "person(\"Joe\", \"Roe\", email = \"joe@joeroe.io\",\nrole = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0002-1011-1244\"))",
  "Description": "Provides a consistent representation of year-based time\nscales as a numeric vector with an associated 'era'. There are\nbuilt-in era definitions for many year numbering systems used\nin contemporary and historic calendars (e.g. Common Era,\nIslamic 'Hijri' years); year-based time scales used in\narchaeology, astronomy, geology, and other palaeosciences (e.g.\nBefore Present, SI-prefixed 'annus'); and support for arbitrary\nuser-defined eras. Years can converted from any one era to\nanother using a generalised transformation function. Methods\nare also provided for robust casting and coercion between years\nand other numeric types, type-stable arithmetic with years, and\npretty-printing in tables.",
  "Language": "en-GB",
  "License": "MIT + file LICENSE",
  "URL": "https://era.joeroe.io, https://github.com/joeroe/era",
  "BugReports": "https://github.com/joeroe/era/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Repository": "https://joeroe.r-universe.dev",
  "Date/Publication": "2026-01-14 10:30:01 UTC",
  "RemoteUrl": "https://github.com/joeroe/era",
  "RemoteRef": "HEAD",
  "RemoteSha": "f3014b45a8f12e991cf42102d1426379178dc21b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 08:23:52 UTC",
    "User": "root"
  },
  "Author": "Joe Roe [aut, cre] (ORCID: <https://orcid.org/0000-0002-1011-1244>)",
  "Maintainer": "Joe Roe <joe@joeroe.io>",
  "MD5sum": "f0a3e26dfbeea69735b8d3f46778607f",
  "_user": "joeroe",
  "_type": "src",
  "_file": "era_0.5.0.9000.tar.gz",
  "_fileid": "8ba1d956a3531a4dca90ae1adf496c5d69499277ac613482a23b7a22078f5cc9",
  "_filesize": 178210,
  "_sha256": "8ba1d956a3531a4dca90ae1adf496c5d69499277ac613482a23b7a22078f5cc9",
  "_created": "2026-05-14T08:23:52.000Z",
  "_published": "2026-05-22T09:06:23.807Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77349403538,
      "time": 130,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6990290308"
    },
    {
      "job": 77349403816,
      "time": 133,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6990291084"
    },
    {
      "job": 77349403844,
      "time": 168,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6990293772"
    },
    {
      "job": 77349403908,
      "time": 178,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6990291551"
    },
    {
      "job": 77349403470,
      "time": 194,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6990254329"
    },
    {
      "job": 77349403095,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156844127"
    },
    {
      "job": 77349403457,
      "time": 126,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6990287416"
    },
    {
      "job": 77349403738,
      "time": 111,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6990284708"
    },
    {
      "job": 77349403460,
      "time": 123,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6990287699"
    }
  ],
  "_buildurl": "https://github.com/r-universe/joeroe/actions/runs/25849786133",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/joeroe/era",
  "_commit": {
    "id": "f3014b45a8f12e991cf42102d1426379178dc21b",
    "author": "Joe Roe <git@joeroe.io>",
    "committer": "Joe Roe <git@joeroe.io>",
    "message": "Generate CITATION.cff, closes #49\n",
    "time": 1768386601
  },
  "_maintainer": {
    "name": "Joe Roe",
    "email": "joe@joeroe.io",
    "login": "joeroe",
    "mastodon": "@joeroe@archaeo.social",
    "orcid": "0000-0002-1011-1244",
    "uuid": 6751089
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "vctrs",
      "version": ">= 0.3.0",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "pillar",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "lubridate",
      "role": "Suggests"
    }
  ],
  "_owner": "joeroe",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-03",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "archaeology",
    "geology",
    "paleoclimate",
    "paleontology",
    "vctrs"
  ],
  "_stars": 15,
  "_contributors": [
    {
      "user": "joeroe",
      "count": 162,
      "uuid": 6751089
    }
  ],
  "_userbio": {
    "uuid": 6751089,
    "type": "user",
    "name": "Joe Roe",
    "description": "Computational archaeologist and research software engineer. Currently working on @xronos-ch and @archaeo-social."
  },
  "_downloads": {
    "count": 706,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/era"
  },
  "_devurl": "https://github.com/joeroe/era",
  "_pkgdown": "https://era.joeroe.io",
  "_searchresults": 7,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/era.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/joeroe/era",
  "_realowner": "joeroe",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.1",
      "date": "2021-01-29"
    },
    {
      "version": "0.4.0",
      "date": "2022-03-09"
    },
    {
      "version": "0.4.1",
      "date": "2022-11-17"
    },
    {
      "version": "0.5.0",
      "date": "2024-11-20"
    }
  ],
  "_exports": [
    "era",
    "era_direction",
    "era_epoch",
    "era_label",
    "era_name",
    "era_scale",
    "era_unit",
    "era_year",
    "era_year_days",
    "era_year_label",
    "eras",
    "is_era",
    "is_era_year",
    "is_valid_era",
    "is_valid_yr",
    "is_yr",
    "this_year",
    "validate_era",
    "validate_yr",
    "yr",
    "yr_earliest",
    "yr_era",
    "yr_era<-",
    "yr_latest",
    "yr_range",
    "yr_set_era",
    "yr_sort",
    "yr_transform"
  ],
  "_help": [
    {
      "page": "era",
      "title": "Create an era object",
      "concept": [
        "era definition functions",
        "era helper functions"
      ],
      "topics": [
        "era"
      ]
    },
    {
      "page": "era_parameters",
      "title": "Get parameters of an era",
      "concept": [
        "era helper functions"
      ],
      "topics": [
        "era_direction",
        "era_epoch",
        "era_label",
        "era_name",
        "era_parameters",
        "era_scale",
        "era_unit"
      ]
    },
    {
      "page": "era_year",
      "title": "Year units",
      "concept": [
        "era helper functions"
      ],
      "topics": [
        "era_year"
      ]
    },
    {
      "page": "era_year_parameters",
      "title": "Get the parameters of an 'era_year' object.",
      "concept": [
        "era helper functions"
      ],
      "topics": [
        "era_year_days",
        "era_year_label",
        "era_year_parameters"
      ]
    },
    {
      "page": "eras",
      "title": "Standard era definitions",
      "concept": [
        "era definition functions"
      ],
      "topics": [
        "eras"
      ]
    },
    {
      "page": "is_era",
      "title": "Validation functions for 'era' objects",
      "concept": [
        "era helper functions"
      ],
      "topics": [
        "is_era",
        "is_valid_era",
        "validate_era"
      ]
    },
    {
      "page": "is_era_year",
      "title": "Validation functions for 'era_year' objects",
      "concept": [
        "era helper functions"
      ],
      "topics": [
        "is_era_year"
      ]
    },
    {
      "page": "is_yr",
      "title": "Validation functions for 'yr' objects",
      "concept": [
        "era helper functions"
      ],
      "topics": [
        "is_valid_yr",
        "is_yr",
        "validate_yr"
      ]
    },
    {
      "page": "this_year",
      "title": "Current year",
      "concept": [
        "era helper functions"
      ],
      "topics": [
        "this_year"
      ]
    },
    {
      "page": "yr",
      "title": "Create a vector of years with era",
      "concept": [
        "years with era functions"
      ],
      "topics": [
        "yr"
      ]
    },
    {
      "page": "yr_era",
      "title": "Get or set the era of a vector of years",
      "concept": [
        "years with era functions"
      ],
      "topics": [
        "yr_era",
        "yr_era<-",
        "yr_set_era"
      ]
    },
    {
      "page": "yr_extremes",
      "title": "Chronological minima and maxima",
      "concept": [
        "functions for chronological ordering and extremes"
      ],
      "topics": [
        "yr_earliest",
        "yr_extremes",
        "yr_latest",
        "yr_range"
      ]
    },
    {
      "page": "yr_sort",
      "title": "Chronological ordering of year vectors",
      "concept": [
        "functions for chronological ordering and extremes"
      ],
      "topics": [
        "yr_sort"
      ]
    },
    {
      "page": "yr_transform",
      "title": "Convert years from one era to another",
      "concept": [
        "years with era functions"
      ],
      "topics": [
        "yr_transform"
      ]
    }
  ],
  "_pkglogo": "https://github.com/joeroe/era/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/joeroe/era/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "glue",
    "lifecycle",
    "pillar",
    "rlang",
    "utf8",
    "vctrs"
  ],
  "_vignettes": [
    {
      "source": "era.Rmd",
      "filename": "era.html",
      "title": "Years with an era",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Years with an era",
        "Era definitions",
        "List of built-in eras",
        "Defining other eras",
        "Converting between eras: yr_transform()",
        "Transformation precision",
        "Invalid transformations",
        "Arithmetic with year vectors"
      ],
      "created": "2020-11-12 15:11:35",
      "modified": "2022-03-08 15:15:24",
      "commits": 12
    }
  ],
  "_score": 4.8750612633917,
  "_indexed": true,
  "_nocasepkg": "era",
  "_universes": [
    "joeroe"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.0.9000",
      "date": "2026-05-14T08:26:06.000Z",
      "distro": "noble",
      "commit": "f3014b45a8f12e991cf42102d1426379178dc21b",
      "fileid": "dd9c0fa6ac3d89903cfe3ca1101d65be99e166b605a4da28b2eeb5c9c391fa57",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joeroe/actions/runs/25849786133"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.0.9000",
      "date": "2026-05-14T08:26:08.000Z",
      "distro": "noble",
      "commit": "f3014b45a8f12e991cf42102d1426379178dc21b",
      "fileid": "9eaa560a27bdf6a4e3e240ccee30231929644a4547864504ee818d3a2e7ff978",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joeroe/actions/runs/25849786133"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.0.9000",
      "date": "2026-05-14T08:26:22.000Z",
      "commit": "f3014b45a8f12e991cf42102d1426379178dc21b",
      "fileid": "66578f30174a558d9549513ce880e2b59a4046f6288f1d3a139cd3480e5ff56f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joeroe/actions/runs/25849786133"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.0.9000",
      "date": "2026-05-14T08:26:13.000Z",
      "commit": "f3014b45a8f12e991cf42102d1426379178dc21b",
      "fileid": "c3ed687f00c6b7616a2a05836e61073b22c68f63a58e1e6bdc1fc0820dd36248",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joeroe/actions/runs/25849786133"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.0.9000",
      "date": "2026-05-14T08:25:45.000Z",
      "commit": "f3014b45a8f12e991cf42102d1426379178dc21b",
      "fileid": "ccde8440465a7a9597b5e2d5f459283a6ecbf55fe7543da6e423aafad0d6258a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joeroe/actions/runs/25849786133"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.0.9000",
      "date": "2026-05-14T08:25:43.000Z",
      "commit": "f3014b45a8f12e991cf42102d1426379178dc21b",
      "fileid": "848664f596c916ba66963034c27098e2bcc99c5b4c9481ed09f44a96a7d67e91",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joeroe/actions/runs/25849786133"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5.0.9000",
      "date": "2026-05-14T08:25:48.000Z",
      "commit": "f3014b45a8f12e991cf42102d1426379178dc21b",
      "fileid": "f0a7b26239b7395f41272c10c85c34533e965f72854f0d15c2d38053ea965e5c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joeroe/actions/runs/25849786133"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.0.9000",
      "date": "2026-05-22T09:06:08.000Z",
      "commit": "f3014b45a8f12e991cf42102d1426379178dc21b",
      "fileid": "b89b2919402be75200567da2eefeb36c85860c0834a8f4cd19a9c29f354267d1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/joeroe/actions/runs/25849786133"
    }
  ]
}