{
  "_id": "6a54b340ff0138dec5d66c7d",
  "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-07-13 09:40:30 UTC",
    "User": "root"
  },
  "Author": "Joe Roe [aut, cre] (ORCID: <https://orcid.org/0000-0002-1011-1244>)",
  "Maintainer": "Joe Roe <joe@joeroe.io>",
  "_user": "joeroe",
  "_type": "src",
  "_file": "era_0.5.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/c5c40909679b5a8d75fde8db4ef8943426363ecfd43a3aaa40f2ef47f5a1a8d0",
  "_filesize": 177852,
  "_sha256": "c5c40909679b5a8d75fde8db4ef8943426363ecfd43a3aaa40f2ef47f5a1a8d0",
  "_expires": "2026-10-21T09:43:26.000Z",
  "_created": "2026-07-13T09:40:30.000Z",
  "_published": "2026-07-13T09:43:27.932Z",
  "_jobs": [
    {
      "job": 86783519664,
      "time": 142,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8275052008"
    },
    {
      "job": 86783519727,
      "time": 139,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8275051122"
    },
    {
      "job": 86783519699,
      "time": 88,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8275030981"
    },
    {
      "job": 86783519671,
      "time": 134,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8275049086"
    },
    {
      "job": 86782881188,
      "time": 193,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8274993009"
    },
    {
      "job": 86783519718,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8275040280"
    },
    {
      "job": 86783519977,
      "time": 101,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8275036416"
    },
    {
      "job": 86783519945,
      "time": 78,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8275026585"
    },
    {
      "job": 86783519864,
      "time": 91,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8275031626"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/joeroe/actions/runs/29239791828",
  "_status": "success",
  "_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",
    "description": "Computational archaeologist and research software engineer. Currently working on @xronos-ch and @archaeo-social.",
    "uuid": 6751089
  },
  "_distro": "resolute",
  "_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",
    "followers": 143,
    "description": "Computational archaeologist and research software engineer. Currently working on @xronos-ch and @archaeo-social."
  },
  "_downloads": {
    "count": 615,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/era"
  },
  "_devurl": "https://github.com/joeroe/era",
  "_pkgdown": "https://era.joeroe.io",
  "_searchresults": 8,
  "_rbuild": "4.6.1",
  "_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",
    "LICENSE",
    "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-07-13T09:42:47.000Z",
      "distro": "resolute",
      "commit": "f3014b45a8f12e991cf42102d1426379178dc21b",
      "fileid": "https://r2.ropensci.org/1b271873e89e6e286d510c75ca9b7c74fd697e56c39f8300b51095a33d72a307",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joeroe/actions/runs/29239791828"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.0.9000",
      "date": "2026-07-13T09:42:45.000Z",
      "distro": "resolute",
      "commit": "f3014b45a8f12e991cf42102d1426379178dc21b",
      "fileid": "https://r2.ropensci.org/c321a5717ddeb5e5ea5abe9d7c4c54d4a540c305a83f2d2b4954718486074ca1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joeroe/actions/runs/29239791828"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.0.9000",
      "date": "2026-07-13T09:42:02.000Z",
      "commit": "f3014b45a8f12e991cf42102d1426379178dc21b",
      "fileid": "https://r2.ropensci.org/fbced1c7076bce7cbab7342ab9fb1423779d5cd9ce8650dcef09c4be5f11ce70",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joeroe/actions/runs/29239791828"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5.0.9000",
      "date": "2026-07-13T09:42:38.000Z",
      "commit": "f3014b45a8f12e991cf42102d1426379178dc21b",
      "fileid": "https://r2.ropensci.org/92111083f8b545663b56330c9919d9e20334c5563f8f17a5b1f200f4e1396572",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joeroe/actions/runs/29239791828"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.0.9000",
      "date": "2026-07-13T09:42:39.000Z",
      "commit": "f3014b45a8f12e991cf42102d1426379178dc21b",
      "fileid": "https://r2.ropensci.org/2d671438f2ef1b46326c4255add86eca4a7e03be32c9af5228be206d2faf865d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/joeroe/actions/runs/29239791828"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.0.9000",
      "date": "2026-07-13T09:42:01.000Z",
      "commit": "f3014b45a8f12e991cf42102d1426379178dc21b",
      "fileid": "https://r2.ropensci.org/db745beed5da36591873cd2a547cdabbb7e87404a702c9f4a6a64590fe3d4d97",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joeroe/actions/runs/29239791828"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.0.9000",
      "date": "2026-07-13T09:41:39.000Z",
      "commit": "f3014b45a8f12e991cf42102d1426379178dc21b",
      "fileid": "https://r2.ropensci.org/01f6ba1c1456100396e29782ef2cddecd4f20e419d5d37e80b795d47b42fc03d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joeroe/actions/runs/29239791828"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5.0.9000",
      "date": "2026-07-13T09:41:49.000Z",
      "commit": "f3014b45a8f12e991cf42102d1426379178dc21b",
      "fileid": "https://r2.ropensci.org/3a32d6926251c3acfde1fdcadddda39ee9d7d7858b68998ebf7b5ab623ce1c24",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joeroe/actions/runs/29239791828"
    }
  ]
}