Skip to content

openai

0.4.1

R Wrapper for OpenAI API

3packages depend
21.2Kdownloads / year
11.5%test coverage
12/13checks pass

Overview

About
Maintained by Iegor RudnytskyiFirst published 2022-06-075 releasesCRAN page ↗GitHub ↗

An R wrapper of OpenAI API endpoints (see https://platform.openai.com/docs/introduction for details). This package covers Models, Completions, Chat, Edits, Images, Embeddings, Audio, Files, Fine-tunes, Moderations, and legacy Engines endpoints.

Install

Health

CRAN checks
1NOTE12OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 1.4 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.38
11.5%
Coverage · measured lines
96%
Documentation · exports
6
Dependencies · direct
Check history
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 1 FAILURE
  • NOTE2026-06-07
    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 · 313 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
0%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

21.2K
CRAN downloads in the past year
Rank #3,663 · ~58/day · ~1.8K/mo
Daily download trend is not available in this view yet.
78030 days
2.8K90 days
21.2K1 year
Compare downloads with other packages →
Also on116 r2u3 autocran

Repository

Repository
169Stars
37Forks
30Open issues
3Open PRs
0Releases
189Commits
1Contributors
apimlnlpopenaipackager
189 commits · Last activity 2024-11-13 · 0% stars, 30d

Stars over time

2024-12-28 · 1682026-07-07 · 169

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/irudnyts/openai on 2026-07-31.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
Show all practices
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5
LinkingTo (0)
none
Suggests (3)
Enhances (0)
none
Reverse dependencies
3direct
1indirect

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
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.4.1Latest
    2023-03-15 · current release · diff ↗
  • 0.4.0
    2023-03-08 · diff ↗
  • 0.3.0
    2022-12-13 · diff ↗
  • 0.2.0
    2022-12-04 · diff ↗
  • 0.1.0
    2022-06-07
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-06-07
Total releases
5 / 4 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5
Download size
1.1 MB
Installed size
not tracked yet
With dependencies
not tracked yet
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