The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

sourcoise: Source a Script and Cache

Provides a function that behave nearly as base::source() but implements a caching mechanism on disk, project based. It allows to quasi source() R scripts that gather data but can fail or consume to much time to respond even if nothing new is expected. It comes with tools to check and execute on demand or when cache is invalid the script.

Version: 0.5.0
Depends: R (≥ 4.1.0)
Imports: fs, qs2, cli, purrr, digest, dplyr, lubridate, tibble, jsonlite, lobstr, stringr, glue, rprojroot, rlang, scales, logger
Suggests: knitr, insee, memoise, quarto, bench
Published: 2025-03-15
DOI: 10.32614/CRAN.package.sourcoise
Author: Xavier Timbeau [aut, cre, cph]
Maintainer: Xavier Timbeau <xavier.timbeau at sciencespo.fr>
BugReports: https://github.com/xtimbeau/sourcoise/issues
License: MIT + file LICENSE
URL: https://xtimbeau.github.io/sourcoise/, https://github.com/xtimbeau/sourcoise
NeedsCompilation: no
SystemRequirements: Quarto command line tools (https://github.com/quarto-dev/quarto-cli).
Materials: README NEWS
CRAN checks: sourcoise results

Documentation:

Reference manual: sourcoise.pdf
Vignettes: advanced (source)
compared (source)
sourcoise (source)

Downloads:

Package source: sourcoise_0.5.0.tar.gz
Windows binaries: r-devel: sourcoise_0.5.0.zip, r-release: sourcoise_0.5.0.zip, r-oldrel: sourcoise_0.5.0.zip
macOS binaries: r-devel (arm64): sourcoise_0.5.0.tgz, r-release (arm64): sourcoise_0.5.0.tgz, r-oldrel (arm64): sourcoise_0.5.0.tgz, r-devel (x86_64): sourcoise_0.5.0.tgz, r-release (x86_64): sourcoise_0.5.0.tgz, r-oldrel (x86_64): sourcoise_0.5.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=sourcoise to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.