{
  "_id": "6aba5bd699f7aa8c6aa40b94",
  "Package": "era",
  "Type": "Package",
  "Title": "Year-Based Time Scales",
  "Version": "0.6.0.9000",
  "Authors@R": "person(\"Joe\", \"Roe\", email = \"joeroe@archaeo.dev\",\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)",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://joeroe.r-universe.dev",
  "Date/Publication": "2026-07-30 16:59:18 UTC",
  "RemoteUrl": "https://github.com/joeroe/era",
  "RemoteRef": "HEAD",
  "RemoteSha": "843282ceb114cc5985da0395c57d081db87685b5",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-28 12:18:11 UTC",
    "User": "root"
  },
  "Author": "Joe Roe [aut, cre] (ORCID: <https://orcid.org/0000-0002-1011-1244>)",
  "Maintainer": "Joe Roe <joeroe@archaeo.dev>",
  "_user": "joeroe",
  "_type": "src",
  "_file": "era_0.6.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/4383cb6447e214a77af6d7d9a6474c1b8ac1eda7a6382ffb82ff8fab68975165",
  "_filesize": 191713,
  "_sha256": "4383cb6447e214a77af6d7d9a6474c1b8ac1eda7a6382ffb82ff8fab68975165",
  "_expires": "2027-01-06T12:21:40.000Z",
  "_created": "2026-09-28T12:18:11.000Z",
  "_published": "2026-09-28T12:21:42.287Z",
  "_jobs": [
    {
      "job": 108923414754,
      "time": 145,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10969124720"
    },
    {
      "job": 108923414759,
      "time": 137,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10969730566"
    },
    {
      "job": 108923414757,
      "time": 104,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10970015110"
    },
    {
      "job": 108923414899,
      "time": 89,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10969865175"
    },
    {
      "job": 108921963566,
      "time": 243,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10968889608"
    },
    {
      "job": 108923414733,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10969342271"
    },
    {
      "job": 108923414925,
      "time": 83,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10968844984"
    },
    {
      "job": 108923414843,
      "time": 79,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10968929952"
    },
    {
      "job": 108923414921,
      "time": 90,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10968999965"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/joeroe/actions/runs/36420498099",
  "_status": "success",
  "_upstream": "https://github.com/joeroe/era",
  "_commit": {
    "id": "843282ceb114cc5985da0395c57d081db87685b5",
    "author": "Joe Roe <git@joeroe.io>",
    "committer": "Joe Roe <git@joeroe.io>",
    "message": "Remove CRAN-SUBMISSION\n",
    "time": 1785430758
  },
  "_maintainer": {
    "name": "Joe Roe",
    "email": "joeroe@archaeo.dev",
    "orcid": "0000-0002-1011-1244"
  },
  "_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": "zeallot",
      "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
    },
    {
      "week": "2026-30",
      "n": 5
    },
    {
      "week": "2026-31",
      "n": 16
    }
  ],
  "_tags": [
    {
      "name": "v0.6.0",
      "date": "2026-07-30"
    }
  ],
  "_topics": [
    "archaeology",
    "geology",
    "paleoclimate",
    "paleontology",
    "vctrs"
  ],
  "_stars": 15,
  "_contributors": [
    {
      "user": "joeroe",
      "count": 179,
      "uuid": 6751089
    }
  ],
  "_userbio": {
    "uuid": 6751089,
    "type": "user",
    "name": "Joe Roe",
    "followers": 145,
    "description": "Computational archaeologist and research software engineer. Currently working on @xronos-ch and @archaeo-social."
  },
  "_downloads": {
    "count": 448,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/era"
  },
  "_devurl": "https://github.com/joeroe/era",
  "_pkgdown": "https://era.joeroe.io",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/era.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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"
    },
    {
      "version": "0.6.0",
      "date": "2026-07-30"
    }
  ],
  "_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_difference",
    "yr_earlier_than",
    "yr_earliest",
    "yr_era",
    "yr_era<-",
    "yr_later_than",
    "yr_latest",
    "yr_not_earlier_than",
    "yr_not_later_than",
    "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_difference",
      "title": "Chronological difference between year vectors",
      "concept": [
        "functions for chronological ordering and extremes"
      ],
      "topics": [
        "yr_difference"
      ]
    },
    {
      "page": "yr_earlier_than",
      "title": "Chronological comparison of years",
      "concept": [
        "functions for chronological ordering and extremes"
      ],
      "topics": [
        "yr_earlier_than",
        "yr_later_than",
        "yr_not_earlier_than",
        "yr_not_later_than"
      ]
    },
    {
      "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",
        "yr_transform.default",
        "yr_transform.era_yr"
      ]
    }
  ],
  "_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",
    "zeallot"
  ],
  "_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": 5.352182518111363,
  "_indexed": true,
  "_nocasepkg": "era",
  "_universes": [
    "joeroe"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.0.9000",
      "date": "2026-09-28T12:20:32.000Z",
      "distro": "resolute",
      "commit": "843282ceb114cc5985da0395c57d081db87685b5",
      "fileid": "https://r2.ropensci.org/aa7e47e60d2549d829e529a522c1477fcbc09735031bf6c168edfe33a57dbc6e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joeroe/actions/runs/36420498099"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.6.0.9000",
      "date": "2026-09-28T12:21:01.000Z",
      "distro": "resolute",
      "commit": "843282ceb114cc5985da0395c57d081db87685b5",
      "fileid": "https://r2.ropensci.org/2ea6cc6736c58cef843e05550ee3c06ab47e545935ff081aa70d6d6ff7af9a2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joeroe/actions/runs/36420498099"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.0.9000",
      "date": "2026-09-28T12:20:03.000Z",
      "commit": "843282ceb114cc5985da0395c57d081db87685b5",
      "fileid": "https://r2.ropensci.org/534b3966ae12c612ea0db39fc6565dde76f1ff7f8ea05b06d8f61a14dd1c8e16",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joeroe/actions/runs/36420498099"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.6.0.9000",
      "date": "2026-09-28T12:19:40.000Z",
      "commit": "843282ceb114cc5985da0395c57d081db87685b5",
      "fileid": "https://r2.ropensci.org/355e20add5c9615a2337836946f7b710fdb5b2bca415a13e4f52a75f504a350b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joeroe/actions/runs/36420498099"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.0.9000",
      "date": "2026-09-28T12:21:04.000Z",
      "commit": "843282ceb114cc5985da0395c57d081db87685b5",
      "fileid": "https://r2.ropensci.org/339c78e34433ed29864f8e22b3beb4831d4c5150a0d39de27e37efa21d161b70",
      "status": "success",
      "buildurl": "https://github.com/r-universe/joeroe/actions/runs/36420498099"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.0.9000",
      "date": "2026-09-28T12:19:24.000Z",
      "commit": "843282ceb114cc5985da0395c57d081db87685b5",
      "fileid": "https://r2.ropensci.org/57ebc9e0566493aaedd5e0dc46e92d6459eba6013e553c39a63698199b059be6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joeroe/actions/runs/36420498099"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.0.9000",
      "date": "2026-09-28T12:19:23.000Z",
      "commit": "843282ceb114cc5985da0395c57d081db87685b5",
      "fileid": "https://r2.ropensci.org/b62dc218f0542dd2c4f15cec6f25a7db26e8c09e50a2bc7087902d6de6a307f7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joeroe/actions/runs/36420498099"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.6.0.9000",
      "date": "2026-09-28T12:19:35.000Z",
      "commit": "843282ceb114cc5985da0395c57d081db87685b5",
      "fileid": "https://r2.ropensci.org/3a53f2b764c969ca2e25b6d46b3e3ca38ee66cba855e26ceb59d01d1e71b1dc4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/joeroe/actions/runs/36420498099"
    }
  ]
}