R Observatory
Search
install.packages("runonce")
CRAN 30-day downloads, method
1,213−26.4% down on the 30 days before, the worse direction
Test coverage, method
97%of lines run by tests

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.

Full description

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.

Maintainer
Florian Privé
Licence
GPL-3
Latest release
7 Oct 2025
First release
27 Jul 2020

Compare with another package

More details
Releases
4
Needs compilation
No
RoxygenNote
7.3.3
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("runonce")
APA
Privé, F. (2025). runonce: Run Once and Save Result (Version 0.3.3) [Computer software]. https://doi.org/10.32614/CRAN.package.runonce
About

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

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

From data release v2026-10-29, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    0.3.3
    Time taken
    27 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    0.3.3
    Time taken
    23 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.3.3
    Time taken
    17 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.3.3
    Time taken
    16 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.3.3
    Time taken
    64 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.3.3
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.3.3
    Time taken
    51 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.3.3
    Time taken
    65 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.3.3
    Time taken
    23 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.3.3
    Time taken
    23 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.3.3
    Time taken
    27 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.3.3
    Time taken
    53 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.3.3
    Time taken
    62 s
  • 13 OK

Over time

No change since 27 Aug 2026

As a list (9)
ChangedWorst statusOKNotesWarningsErrors
27 Aug 2026OK13000
13 Aug 2026Error12001
4 Aug 2026OK13000
1 Aug 2026Note12100
4 Jun 2026OK13000
1 Jun 2026Error12001
25 Mar 2026OK14000
21 Mar 2026Error13001
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
1,971−22.7% down on the 30 days before, the worse directionIt is the sum of 4 channels: CRAN, r2u, autoCRAN and conda-forge.

CRAN rank

3,355 of 26,553

CRAN

1,213 downloads in the last 30 days

Rank
3,355 of 26,553
Change
−26.4% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

283 downloads in the last 30 days

Rank
1,463 of 30,526
Change
+396% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

3 downloads in the last 30 days

Rank
18,475 of 29,233
Change
−72.7% down on the 30 days before, the worse direction

It is in the total. Take it out

conda-forge

472 downloads in the last 30 days

Rank
1,524 of 3,828
Change
−43.5% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
2
Dependent packages
1
Suggested by
0
Needs (2)
Installing it adds
4 packages, 2.0 MB of source
Of those, need compilation
3
Optional extras (2)
Dependent packages (1)
PackageTitleDownloads in 30 days
bigsnprAnalysis of Massive SNP Arrays1,545
Functions
4
Public exports
3
Lines of R code
186
Median complexity
4.5
Functions (4)
Size and composition

Lines by kind (504)

KindLinesShare
R code18637%
Tests13928%
Documentation17936%

Lines by language

LanguageLinesShare
R32565%
Rd17936%

Languages are counted from file extensions.

Files
16
R functions
4
Complexity
Median
4.5
Mean
5
Highest
10
Median lines per function
23.5
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
4
Calls
1
Unconnected
2
Groups
1
Growth (4 releases)
Total lines by release
462 on 27 Jul 2020504 on 7 Oct 2025
Release changes

The tests ran and coverage was measured.

Lines run by tests
97.2%
Expressions run by tests
97.3%
Test cases
3
Exports named in tests
100%
Coverage by file (3)
Coverage run
Lines counted
36
Lines the tests ran
35
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
3
Lines of tests
139
Test lines per line of code
0.75
Exports documented
100%
Arguments documented
95.2%
Return value documented
100%
Help pages with examples
75%
Examples run in checks
100%
Other documentation
README
Yes, 23 words
Release notes file
No
Help pages
4
Lines of documentation
179

privefl / runonce on github.com

Stars
4
Forks
0
Open issues
1
Last commit
7 Oct 2025
Activity
Commits
39
Open pull requests
0
Tagged releases
0
Latest tagged release
–
Issues closed in
–
Pull requests closed in
–
Pull requests merged
–
Created
23 Nov 2019
Licence file reads as
–
Development practices (6)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Docs sourcepkgdown
GitHub Pages site last deployed 2025-10-07
pkgdown site last built 2025-06-10, before release 0.3.3 (2025-10-07)
CoverageCoverage reporting (Codecov)
Lint, format, editorRStudio project

Method, repository practices

Across privefl

R releases
  • On CRAN
  • Release
VersionReleasedR
0.3.3 current7 Oct 20254.5.1
0.3.230 Jul 20254.5.1
0.2.32 Oct 20214.1.1
0.2.227 Jul 20204.0.2