Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direct usage of the crandb database #110

Open
Polkas opened this issue Feb 27, 2022 · 3 comments
Open

Direct usage of the crandb database #110

Polkas opened this issue Feb 27, 2022 · 3 comments

Comments

@Polkas
Copy link

Polkas commented Feb 27, 2022

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.

@gaborcsardi
Copy link
Contributor

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.

@Polkas
Copy link
Author

Polkas commented Feb 27, 2022

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.

@Polkas
Copy link
Author

Polkas commented Feb 27, 2022

Btw. I am using memoise package in this project so at least I limit the CRAN/CRANDB queries if sb repeats any call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants