Skip to content

runonce

0.3.3

Run Once and Save Result

1packages depend
33.3Kdownloads / year
97.2%test coverage
13/13checks pass

Overview

About
Maintained by Florian PrivéFirst published 2020-07-274 releasesCRAN page ↗GitHub ↗

Package 'runonce' helps automating the saving of long-running code to help running the same code multiple times. If you run some long-running code once, it saves the result in a file on disk. Then, if the result already exists, i.e. if the code has already been run and its output has already been saved, it just reads the result from the stored file instead of running the code again.

Install

Health

CRAN checks
13OK
Slowest check: 1.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.75
97.2%
Coverage · measured lines
100%
Documentation · exports
2
Dependencies · direct
Check history
  • OK2026-06-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-01
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-25
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-21
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 23 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
95%
Return-value docs
100%
References docs
0%

Downloads

33.3K
CRAN downloads in the past year
Rank #3,058 · ~91/day · ~2.8K/mo
Daily download trend is not available in this view yet.
1.4K30 days
4.7K90 days
33.3K1 year
Compare downloads with other packages →
Also on476 r2u11 autocran5.4K conda_forge

Repository

Repository
4Stars
0Forks
1Open issues
0Open PRs
0Releases
39Commits
3Contributors
39 commits · Last activity 2025-10-07 · 0% stars, 30d

Stars over time

2025-06-27 · 42026-07-07 · 4

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/privefl/runonce on 2026-07-19.

Continuous integration (1)
GitHub Actions
Lint, format, editor (1)
RStudio project
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
1direct
9indirect

Code & Tests

Code Composition
R 325 (64%)Rd 179 (36%)
Code characteristics
Cyclomatic complexity
4.5 median / 10 max
Test cases
3 / 0.75 per code line

Test coverage

Line coverage

97%

Expression

97.3%

Tests / Examples

97.2% / 94% ex

Functions

4 3 exported

Complexity

5 avg / 10 max

Call network

4 nodes / 1 edges

Loading call graph…

Lowest coverage

4 functions
FunctionCycloCoverage
skip_run_if exp1091%
download_file exp3100%
save_run exp6100%
url_basename1100%

People & History

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

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

  • R
    R 4.6.0 released · 2026-04-24
  • 0.3.3Latest
    2025-10-07 · current release · diff ↗
  • 0.3.2
    2025-07-30 · diff ↗
  • 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
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.3
    2021-10-02 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2.2
    2020-07-27
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-07-27
Total releases
4 / 6 yrs
License
GPL-3 OSI
Download size
5.6 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →