Skip to content

rocrateR

0.1.0Package record

Tools for Creating and Manipulating RO-Crates

1packages depend
3.3Kdownloads / year
89.7%test coverage
13/13flavors OK

Overview

About

Provides tools for creating, manipulating and reading Research Object Crates (RO-Crates), a lightweight approach to packaging research data with structured metadata. Includes utilities for metadata generation, entity management, validation and reading existing RO-Crates following the specification https://w3id.org/ro/crate/1.2/.

Changes in 0.1.0
  • Added higher level function to load RO-Crates from various inputs,

load_rocrate.

  • Added higher level function to validate RO-Crate and display report with

errors and warnings (if any was found), validate_rocrate.

  • Defined new checks for RO-Crate validation to ignore system specific

directories (e.g., __MACOSX on macOS).

  • Refactored functions to streamline checks, including is_rocrate.
  • Updated get_entity so it takes a vector for id and type, reuses the

shorter vector (only if the length 1), or errors if vectors have different

lengths.

  • Updated is_rocrate_bag so it returns a boolean value, indicating the

validity of the given RO-Crate bag. Previously, it returned a path to the

Show all changes in 0.1.0Hide the rest of the changes in 0.1.0

root of the RO-Crate.

  • Updated unbag_rocrate to return the path to RO-Crate root _visibly_.
  • add_entities() is deprecated. Use add_entity() instead.
  • load_rocrate_bag() is deprecated. Use load_rocrate() instead. Note that

validation must be done as a separate step using validate_rocrate().

  • read_rocrate() is deprecated. Use load_rocrate() instead.
  • remove_entities() is deprecated. Use remove_entity() instead.
  • entity(x=) renamed to entity(id=).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.3 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-08
  • ERROR12 OK, 1 ERROR2026-06-07
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.0
READMEYes · 207 wordsVignettesYes · 1 · evaluation depends on the environmentNEWSYes · 100% structured · mentions 0.1.0Citation fileNo
Help pages
30 (1 internal)includes a package overview page
Examples that run
100%16 run in a plain check
Exported functions with examples
56%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

3.3K
CRAN downloads in the past year
Rank #12,296 · ~9/day · ~275/mo
Daily download trend is not available in this view yet.
31030 days
90390 days
3.3K1 year
Compare downloads with other packages →
Also on101 r2u2 autocran

Repository

2Stars
4Forks
1Open issues
0Open PRs
2Releases
258Commits
3Commit identities
258 commits · Last activity 2026-04-22 · 0% stars, 30d · Default branch at 0.1.0.9000, ahead of CRAN 0.1.0 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
60%
Median days to close, 50 most recently updated closed issues
76
Median days to close, 50 most recently updated closed PRs
15

Stars over time

2025-10-07 · 12026-07-24 · 2
PracticesBeta

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

Checks run against github.com/researchobject/ro-crate-r on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)
Issue templates
Docs source (2)
README.Rmdpkgdown
Coverage (1)
Coverage reporting (Codecov)
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing rocrateR adds 6 packages (5 with compiled code, 3.1 MB of source tarballs). Heaviest: jsonlite 1.0 MB, rlang 766 KB, cli 629 KB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

People & History

People (5)
Author, Maintainer since 0.0.1 (2025)
Author · added in 0.1.0
Author · added in 0.1.0
Author · added in 0.1.0
Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.0Latest
    record
    2026-04-08 · current release · diff ↗ ·
    added 12 exports
    add_author, add_dataset, add_notebook, add_project, add_readme, add_software, add_workflow, crate_project, extract_content, load_rocrate, load_rocrate_bag, validate_rocrate
  • 0.0.1
    record
    2025-11-07
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-11-07
Total releases
2 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
103 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("rocrateR")
Villegas-Diaz, R., Research Object community, Butters, O., Wheater, S., & Wilson, R. (2026). rocrateR: Tools for Creating and Manipulating RO-Crates (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.rocrateR

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 rocrateR version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, 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