检查从CRAN安装软件包的次数

时间:2021-10-26 03:20:43

Is there a way/place I can get simple metrics for

有没有办法/地方我可以得到简单的指标

  1. How many times package X was installed and/or
  2. 打包X的次数和/或

  3. How many users installed package X
  4. 有多少用户安装了X包

I recently released my own package on CRAN and I want to monitor it a bit.

我最近在CRAN上发布了自己的软件包,我想稍微监控一下。

2 个解决方案

#1


9  

http://cranlogs.r-pkg.org offers a variety of ways to access counts of the number of times a package has been downloaded (not installed) from the RStudio CRAN mirror (only), including an API for generating badges automatically and an R package.

http://cranlogs.r-pkg.org提供了多种方法来访问从RStudio CRAN镜像(仅)下载(未安装)软件包的次数,包括用于自动生成标记的API和一个R包。

For the mltools package:

对于mltools包:

Downloads (https://cranlogs.r-pkg.org/badges/mltools)

检查从CRAN安装软件包的次数

Downloads in last day (https://cranlogs.r-pkg.org/badges/last-day/mltools)

最后一天下载(https://cranlogs.r-pkg.org/badges/last-day/mltools)

检查从CRAN安装软件包的次数

Grand total (https://cranlogs.r-pkg.org/badges/grand-total/mltools)

总计(https://cranlogs.r-pkg.org/badges/grand-total/mltools)

检查从CRAN安装软件包的次数

#2


2  

To get metrics of the number of package downloads (not installations) you could also use the following packages:

要获取包下载数量(而非安装)的指标,您还可以使用以下包:

#1


9  

http://cranlogs.r-pkg.org offers a variety of ways to access counts of the number of times a package has been downloaded (not installed) from the RStudio CRAN mirror (only), including an API for generating badges automatically and an R package.

http://cranlogs.r-pkg.org提供了多种方法来访问从RStudio CRAN镜像(仅)下载(未安装)软件包的次数,包括用于自动生成标记的API和一个R包。

For the mltools package:

对于mltools包:

Downloads (https://cranlogs.r-pkg.org/badges/mltools)

检查从CRAN安装软件包的次数

Downloads in last day (https://cranlogs.r-pkg.org/badges/last-day/mltools)

最后一天下载(https://cranlogs.r-pkg.org/badges/last-day/mltools)

检查从CRAN安装软件包的次数

Grand total (https://cranlogs.r-pkg.org/badges/grand-total/mltools)

总计(https://cranlogs.r-pkg.org/badges/grand-total/mltools)

检查从CRAN安装软件包的次数

#2


2  

To get metrics of the number of package downloads (not installations) you could also use the following packages:

要获取包下载数量(而非安装)的指标,您还可以使用以下包: