Download and Setup External Libraries Locally
Source:R/utils_external_libs.R
setup_external_libraries.RdDownloads CSS and JavaScript libraries from their official sources and stores them locally in the docs/libs directory. This removes dependency on external CDNs and ensures reproducibility.
Details
Files that are already present and of a plausible size are not downloaded again. When all expected files are present and `PROVENANCE.csv` matches the current library versions, the function returns early and leaves `PROVENANCE.csv` and `README.md` untouched, so that repeated rendering does not modify these files.