pkgsearch
pkgsearch copied to clipboard
Direct usage of the crandb database
I am a developer of a few CRAN packages and currently I am working on https://github.com/Polkas/pacs.
The crandb is a very valuable data source.
I want to use a direct calls to the crandb database as I need a custom call and want to reduce the imports (dependencies).
The call I want to use https://crandb.r-pkg.org/-/allall?keys=["%s"]&limit=1000, where the maximum call is still 500 packages (I tested it).
The reference to this package is added to each of my functions roxygen2, which will use this functionality.
I will feel much more comfortable if you confirm you are open this move, before I transfer it to the production.
Ps. The alternative solution which I introduced is to ask directly the CRAN webpage and the GitHub CRAN mirror (created by metacran too:)).
Thank you for your time.
It is fine to use it directly. I might need to introduce smaller limits in the future, though, if these queries slow down the DB.
Great, thank you for such a quick response.
Is there a way to support metacran? I think of some donation page:)
I hope you will announce such limitation move in the future.
Btw. I am using memoise package in this project so at least I limit the CRAN/CRANDB queries if sb repeats any call.