Closed jeroen closed 2 years ago
Hi @jeroen, definitely it is not needed, I can store a copy on the extdata folder. It was a decision I made since when developing the package the schema had recent changes (now it has been 8 months since the last one https://github.com/citation-file-format/citation-file-format/commits/main/schema.json so I assume it stable now).
I will prepare a quick fix on this, I would let you know
And regarding other online calls, e.g GH Topics, I tried to add mechanism to avoid errors if offline, even when gh_keywords = TRUE"
Dear @jeroen , there is now a new version on CRAN that uses a local copy of the schema, so no more downloads! https://cran.r-project.org/web/packages/cffr/index.html
Thanks for cffr! We are using it in r-universe to generate cff files for all the packages.
One build failed because it seemed github had a network issue at the time:
Is it needed to download this file for every build? Maybe we can include a copy of
schema.json
in the package, such that it can work offline (given thatgh_keywords
= FALSE of course)? Or am I missing something?