package ‘xxxx’ is not available (for R version xxx)

以pbkrtest为例:

package ‘pbkrtest’ is not available (for R version 4.0.2)
pkg_url="https://mran.microsoft.com/snapshot/2020-04-25/src/contrib/pbkrtest_0.4-8.6.tar.gz"
> install.packages(pkg_url, repos=NULL, type="source")

trying URL 'https://mran.microsoft.com/snapshot/2020-04-25/src/contrib/pbkrtest_0.4-8.6.tar.gz'
Content type 'application/octet-stream' length 174962 bytes (170 KB)
==================================================
downloaded 170 KB

* installing *source* package ‘pbkrtest’ ...
** package ‘pbkrtest’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (pbkrtest)

ref:

https://stackoverflow.com/questions/35207624/package-pbkrtest-is-not-available-for-r-version-3-2-2

你可能感兴趣的:(linux,R)