0

我将 R 3.5.3 与 Rstudio 1.1.463 以及install.package()之前CRAN的版本一起使用。

今天我尝试checkpoint("2019-12-11",R.version = "3.5.3", verbose = TRUE)了,但是很多软件包没有安装好,如下所示:

> library(checkpoint)

checkpoint: Part of the Reproducible R Toolkit from Microsoft
https://mran.microsoft.com/documents/rro/reproducibility/
> checkpoint("2019-12-11",R.version = "3.5.3", verbose = TRUE)
Scanning for packages used in this project
The knitr package is not available and Rmarkdown files will not be parsed
  |======================================================================| 100%
- Discovered 289 packages
Unable to parse 16 files:
- R/win-library/3.5/checkpoint/examples/example_checkpoint.R
- R/win-library/3.5/checkpoint/examples/example_mranurl.R
- R/win-library/3.5/checkpoint/examples/example_remove.R
- R/win-library/3.5/checkpoint/examples/example_setSnapshot.R
- R/win-library/3.5/EnvStats/scripts/Manual/Chapter06.R
- R/win-library/3.5/ggthemes/examples/ex-calc_shape_pal.R
- R/win-library/3.5/ggthemes/examples/ex-few_shape_pal.R
- R/win-library/3.5/ggthemes/examples/ex-palette_pander.R
- R/win-library/3.5/ggthemes/examples/ex-tableau_shape_pal.R
- R/win-library/3.5/ggthemes/examples/ex-theme_economist.R
- R/win-library/3.5/htmlTable/examples/data-SCB_example.R
- R/win-library/3.5/MASS/scripts/ch16.R
- R/win-library/3.5/rex/doc/url_parsing.R
- R/win-library/3.5/rockchalk/examples/plot-Normal-2-clt.R
- R/win-library/3.5/rockchalk/examples/plot-Normal-3-plotmath.R
- R/win-library/3.5/stringr/doc/regular-expressions.R
Packages not available in repository and won't be installed:
 - async
 - countreg
 - emx
 - GLMMGibbs
 - gWidgetsWWW2
 - lme4.0
 - mvtnormAPI
 - Sxslt
 - testRcppClass
 - testRcppInterfaceExporter
 - testRcppInterfaceUser
 - testRcppModule
 - tree
 - yags
Installing packages used in this project
 - Installing 'actuar'
actuar
 - Installing 'AER'
AER

你可以找到几个没有安装好的包Packages not available in repository and won't be installed,比如async,countreg,emx,GLMMGibbs,gWidgetsWWW2,lme4.0,mvtnormAPI,Sxslt,testRcppClass,testRcppInterfaceExporter,testRcppInterfaceUser,testRcppModule,tree,yags.

我认为 MRAN 包括所有 CRAN 包,但不是。
例如,我搜索https://mran.revolutionanalytics.com/packages,没有包名tree,但我可以在https://cran.r-project.org/web/packages/tree/找到这个包

我提出问题:
1. MRAN 是否包括从 2019 年开始的所有 CRAN 套餐?
2.如何通过安装not available in repository and won't be installedcheckpoint

4

0 回答 0