oxcAAR
Interface to 'OxCal' Radiocarbon Calibration
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
307
Last 30 days
10284th
307
Last 90 days
307
Last year
CRAN Check Status
Show all 14 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-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | ERROR |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | ERROR |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | ERROR |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (14 non-OK)
*
*
*
*
*
*
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/Rtmp4mr9K5/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
*
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'
Quitting from basic-usage.Rmd:23-31 [unnamed-chunk-1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
no 'restart' 'muffleWarning' found
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Quitting from basic-usage.Rmd:23-31 [unnamed-chunk-1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
invokeRestart("muffleWarning")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'basic-usage.Rmd' failed with diagnostics:
no 'restart' 'muffleWarning' found
--- failed re-building 'basic-usage.Rmd'
SUMMARY: processing the following file failed:
'basic-usage.Rmd'
Error: Vignette re-building failed.
Execution halted
*
*
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/Rtmp3cnaYJ/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 11 OK · 0 NOTE · 0 WARNING · 3 ERROR · 0 FAILURE Mar 9, 2026
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/Rtmp3cnaYJ/OxCal/bin/OxCalMac: Bad CPU type in executable Quitting from basic-usage.Rmd:23-31 [unnamed-chunk-1] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/
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/Rtmp4mr9K5/OxCal/bin/OxCalMac: Bad CPU type in executable Quitting from basic-usage.Rmd:23-31 [unnamed-chunk-1] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/
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' Quitting from basic-usage.Rmd:23-31 [unnamed-chunk-1] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ no 'restart' 'muffleWarning' found ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Quitting from basic-usage.Rmd:23-31 [unnamed-chunk-1] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~