Skip to content

air

AI Assistant to Write and Understand R Code

v0.2.3 · Jul 26, 2025 · MIT + file LICENSE

Description

An R console utility that lets you ask R related questions to the 'OpenAI' large language model. It can answer how-to questions by providing code, and what-is questions by explaining what given code does. You must provision your own key for the 'OpenAI' API <https://platform.openai.com/docs/api-reference>.

Downloads

CRAN

406

Last 30 days

10662nd

1.1K

Last 90 days

4.9K

Last year

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

r2u CRAN

0

Last 30 days

53

Last 90 days

228

Last year

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

autoCRAN

5

Last 7 days

16

Last 30 days

0

All-time

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

CRAN Check Status

13 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 OK
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 History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

924

Files

28

Compiled share

0%

Has compiled src

No

Language breakdown

R 315 (34.1%)Tests 475 (51.4%)Docs 134 (14.5%)

API

Exported functions

5

Internal functions

12

Recent export changes

v0.2.2+5 delete_keyring_credentials, howto, set_key +2 more

Testing & CI

Has tests

Yes

Test-to-code ratio

1.51

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.1.0

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

2

First release

2023-11-17

Latest release

2025-07-27

Avg cadence

618 days

Cold removal rate

Dep drift

1

LOC over versions

v0.2.2: 1,215 LOCv0.2.3: 924 LOC

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

Dependency Network

Dependencies Reverse dependencies httr keyring result rjson air

Version History

3 tracked
new 0.2.3 Mar 10, 2026
updated 0.2.3 ← 0.2.2 diff Jul 26, 2025
new 0.2.2 Nov 16, 2023