sourcoise: Source a Script and Cache (original) (raw)
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.2 |
|---|---|
| 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-27 |
| 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 |
| 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:
Downloads:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=sourcoiseto link to this page.