runonce
0.3.3Run Once and Save Result
Overview
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
- OK2026-06-0413 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0112 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-2514 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-03-2113 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 95%
- Return-value docs
- 100%
- References docs
- 0%
Downloads
Repository
Stars over time
Issues over time
Repository practices
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.
Dependencies
Code & Tests
- 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
Call graph
Open call graph →Lowest coverage
4 functions| Function | Cyclo | Coverage |
|---|---|---|
| skip_run_if exp | 10 | 91% |
| download_file exp | 3 | 100% |
| save_run exp | 6 | 100% |
| url_basename | 1 | 100% |
People & History
4 releases. Pick two to compare their code metrics. R releases are shown for context.
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