The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
This vignette shows task-oriented workflows built on
retraction. The code chunks are not evaluated here because
they access the network; run them in your own session.
Stop a Quarto or R Markdown document from knitting while it still cites retracted work. Put this in a setup chunk:
on accepts any of "flagged",
"possible", "unchecked", "error";
the gate fails closed, so an unreadable file or a
network error stops the render rather than passing silently.
retraction_scan() errors on a missing file and returns
per-state counts; retraction_main() wraps it with exit
codes for Rscript:
# Rscript -e 'retraction::retraction_main()' --fail-on=flagged,unchecked paper.bib
scan <- retraction_scan("paper.bib")
scan$n_flaggedA ready-made GitHub Action ships in the package:
Check a review’s included studies; a retracted included trial can invalidate a pooled estimate. Duplicates are collapsed and denominators reported.
Save a baseline, then later report references that have become retracted:
Beyond the default Retraction Watch source, query Crossref, OpenAlex, Europe PMC, NCBI PubMed, DataCite, and a preprint (arXiv/bioRxiv) source, reconciled with a disagreement flag:
Build a local snapshot once, then check without the network. An in-memory hash index makes DOI lookups O(1), and the corpus can be exported to Parquet for arrow-based analysis.
retraction fits a targets pipeline as a
cached, gated step:
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.