Provides a function that behaves 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.6.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, testthat (≥ 3.0.0) |
Published: | 2025-05-23 |
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 [issues need fixing before 2025-06-06] |
Reference manual: | sourcoise.pdf |
Vignettes: |
advanced (source) compared (source) sourcoise (source) |
Package source: | sourcoise_0.6.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-release (arm64): sourcoise_0.6.0.tgz, r-oldrel (arm64): sourcoise_0.6.0.tgz, r-release (x86_64): sourcoise_0.5.0.tgz, r-oldrel (x86_64): sourcoise_0.5.0.tgz |
Old sources: | sourcoise archive |
Please use the canonical form https://CRAN.R-project.org/package=sourcoise to link to this page.