Skip to content

daiR

1.2.0

Interface with Google Cloud Document AI API

0packages depend
4.6Kdownloads / year
32.7%test coverage
13/13checks pass

Overview

About
Maintained by Thomas HegghammerFirst published 2021-06-115 releasesCRAN page ↗GitHub ↗

R interface for the Google Cloud Services 'Document AI API' https://cloud.google.com/document-ai with additional tools for output file parsing and text reconstruction. 'Document AI' is a powerful server-based OCR service that extracts text and tables from images and PDF files with high accuracy. 'daiR' gives R users programmatic access to this service and additional tools to handle and visualize the output. See the package website https://dair.info/ for more information and examples.

Install

Health

CRAN checks
13OK
Slowest check: 4.3 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 1.06
32.7%
Coverage · measured lines
100%
Documentation · exports
21
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 221 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
0%
Documented parameters
100%
Return-value docs
98%
References docs
0%

Downloads

4.6K
CRAN downloads in the past year
Rank #11,155 · ~13/day · ~383/mo
Daily download trend is not available in this view yet.
20630 days
89190 days
4.6K1 year
Compare downloads with other packages →
Also on150 r2u

Repository

Repository
44Stars
4Forks
0Open issues
0Open PRs
2Releases
218Commits
2Contributors
ocrrgoogle-cloud
218 commits · Last activity 2026-07-02 · 0% stars, 30d

Stars over time

2025-08-08 · 442026-07-07 · 44

Repository practices

Upstream repositoryBeta

5 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/hegghammer/dair on 2026-08-09.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Research and citation (1)
JOSS paper
Coverage (1)
Codecov
Show all practices
Governance and community (1)
Issue templates
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
21 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.2.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

5 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.2.0Latest
    2025-11-18 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.1
    2024-11-13 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.0
    2024-02-12 · diff ↗
  • 0.9.9
    2023-09-07 · diff ↗
  • unarchivedReturned to CRAN
    2023-09-07
  • R
    R 4.3.0 released · 2023-04-21
  • archivedRemoved from CRAN
    2023-03-16
    issues were not corrected in time
  • R
    R 4.2.0 released · 2022-04-22
  • 0.9.0
    2021-06-11
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-06-11
Total releases
5 / 5 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.2.0
Download size
4.5 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("daiR")

The authors publish a JOSS paper, so they have said how they want this cited. Run citation() and use what it gives you.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for daiR version 1.2.0 [Data set]. HJJB, LLC. Data release v2026-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy