Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I trust a library in R?

Tags:

r

Is there a way to see how many times a library has been downloaded in R? Or how many issues there have been. My concern is the lack of security around R libraries.

like image 905
Pan Dora Avatar asked Sep 13 '21 13:09

Pan Dora


2 Answers

There is a package called riskmetric specifically for estimating the 'trustworthyness' of other packages.

If you just want the number of downloads, you can use cranlogs.

like image 116
David J. Bosak Avatar answered Sep 22 '22 08:09

David J. Bosak


To check the total downloads for a package on CRAN use,

https://cranlogs.r-pkg.org/badges/grand-total/pkgname

Replace pkgname with the CRAN package name

like image 20
Nad Pat Avatar answered Sep 21 '22 08:09

Nad Pat