Skip to content

oxcAAR

Interface to 'OxCal' Radiocarbon Calibration

v1.1.2 · Dec 12, 2025 · GPL-2 | file LICENSE

Description

A set of tools that enables using 'OxCal' from within R. 'OxCal' (<https://c14.arch.ox.ac.uk/oxcal.html>) is a standard archaeological tool intended to provide 14C calibration and analysis of archaeological and environmental chronological information. 'OxcAAR' allows simple calibration with 'Oxcal' and plotting of the results as well as the execution of sophisticated ('OxCal') code and the import of the results of bulk analysis and complex Bayesian sequential calibration.

Downloads

CRAN

415

Last 30 days

10388th

916

Last 90 days

5.8K

Last year

Trend: +100.5% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

24

Last 90 days

106

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

3

Last 7 days

12

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

1 ERROR
12 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 ERROR
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (1 non-OK)
ERROR r-oldrel-macos-arm64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘basic-usage.Rmd’ using rmarkdown
trying URL 'https://c14.arch.ox.ac.uk/OxCalDistribution.zip'
Content type 'application/zip' length 5367216 bytes (5.1 MB)
==================================================
downloaded 5.1 MB

sh: /Volumes/Temp/tmp/RtmpkduYqW/OxCal/bin/OxCalMac: Bad CPU type in executable

Quitting from basic-usage.Rmd:23-31 [unnamed-chunk-1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `file()`:
! cannot open the connection
---
Backtrace:
    ▆
 1. └─oxcAAR::oxcalCalibrate(5000, 25, "KIA-12345")
 2.   └─oxcAAR::readOxcalOutput(result_file)
 3.     └─base::scan(output_file, character(0), sep = "\n", quiet = T)
 4.       └─base::file(file, "r")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'basic-usage.Rmd' failed with diagnostics:
cannot open the connection
--- failed re-building ‘basic-usage.Rmd’

SUMMARY: processing the following file failed:
  ‘basic-usage.Rmd’

Error: Vignette re-building failed.
Execution halted

Check History

ERROR 12 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-release-macos-arm64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘basic-usage.Rmd’ using rmarkdown
trying URL 'https://c14.arch.ox.ac.uk/OxCalDistribution.zip'
Content type 'application/zip' length 5367216 bytes (5.1 MB)
===========================================
...[truncated]...
ocessing vignette 'basic-usage.Rmd' failed with diagnostics:
cannot open the connection
--- failed re-building ‘basic-usage.Rmd’

SUMMARY: processing the following file failed:
  ‘basic-usage.Rmd’

Error: Vignette re-building failed.
Execution halted
ERROR r-oldrel-macos-arm64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘basic-usage.Rmd’ using rmarkdown
trying URL 'https://c14.arch.ox.ac.uk/OxCalDistribution.zip'
Content type 'application/zip' length 5367216 bytes (5.1 MB)
===========================================
...[truncated]...
ocessing vignette 'basic-usage.Rmd' failed with diagnostics:
cannot open the connection
--- failed re-building ‘basic-usage.Rmd’

SUMMARY: processing the following file failed:
  ‘basic-usage.Rmd’

Error: Vignette re-building failed.
Execution halted

Code

Structure

Lines of code

4,082

Files

73

Compiled share

0%

Has compiled src

No

Language breakdown

R 2,215 (54.3%)Tests 723 (17.7%)Docs 972 (23.8%)Vignettes 172 (4.2%)

API

Exported functions

29

Internal functions

79

Recent export changes

v1.1.0+6 Boundary, Phase, Sequence +3 more
v1.0.0+23 R_Date, R_Simulate, calcurve_plot +20 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.33

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

93.1%

\dontrun example ratio

100%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

33.3%

Unsafe pattern score

5

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

GPL-2 | file LICENSE

License flags

SPDX valid, not OSI

History

Versions

4

First release

2018-02-09

Latest release

2025-12-12

Avg cadence

1110 days

Cold removal rate

Dep drift

1

LOC over versions

v1.0.0: 2,745 LOCv1.1.0: 3,678 LOCv1.1.1: 3,698 LOCv1.1.2: 4,082 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies stringi stringr jsonlite nimbleCarbon oxcAAR

Version History

5 tracked
new 1.1.2 Mar 10, 2026
updated 1.1.2 ← 1.1.1 diff Dec 11, 2025
updated 1.1.1 ← 1.1.0 diff Jul 4, 2021
updated 1.1.0 ← 1.0.0 diff Feb 22, 2021
new 1.0.0 Feb 8, 2018