Skip to content

rgsrs

0.1.0

Query the FDA Global Substance Registration System (GSRS) API

0packages depend
514downloads / year
80.0%test coverage
13/13checks pass

Overview

About
Maintained by Claudio ZanettiniFirst published 2026-05-051 releasesCRAN page ↗GitHub ↗

Provides functions to query the FDA Global Substance Registration System (GSRS) REST API (https://gsrs.ncats.nih.gov/api/v1/). Enables programmatic access to substance records, UNII identifiers, synonyms, external codes, and chemical structures for over 170,000 registered substances.

Install

Health

CRAN checks
13OK
Slowest check: 4.8 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.57
80.0%
Coverage · measured lines
100%
Documentation · exports
4
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-06
    7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 258 wordsVignettesNopkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
0%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

514
CRAN downloads in the past year
Rank #22,720 · ~1/day · ~43/mo
Daily download trend is not available in this view yet.
14330 days
51490 days
5141 year
Compare downloads with other packages →
Also on12 r2u4 autocran

Repository

Repository
0Stars
0Forks
0Open issues
0Open PRs
1Releases
15Commits
1Contributors
15 commits · Last activity 2026-05-05

Releases over time

2026-05-05 · 12026-07-07 · 1

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/c1au6i0/rgsrs on 2026-07-19.

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

Dependencies

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

Nothing depends on this yet.

Code & Tests

Code Composition
R 3,073 (82%)Rd 688 (18%)
Code characteristics
Cyclomatic complexity
2.5 median / 26 max
Test cases
78 / 0.57 per code line

Test coverage

Line coverage

80%

Expression

79.7%

Tests / Examples

80.0% / 0% ex

Functions

44 13 exported

Complexity

3.8 avg / 26 max

Call network

44 nodes / 79 edges

Loading call graph…

Lowest coverage

44 functions
FunctionCycloCoverage
check_na_warn50%
empty_hierarchy_df10%
empty_vocabularies_df10%
check_internet350%
check_status_code350%
gsrs_substance_out454%

People & History

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

1 release. R releases are shown for context.

  • 0.1.0Latest
    2026-05-05 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-05-05
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →