$ installGithub.r s-conner/rmtl/rpackage
Using github PAT from envvar GITHUB_PAT
Downloading GitHub repo s-conner/rmtl@HEAD
── R CMD build ────────────────────────────────────────────────────────────────────────────
✔ checking for file ‘/tmp/remotes16a2746ead7197/s-conner-rmtl-c2fb188/rpackage/DESCRIPTION’ ...
─ preparing ‘rmtl’:
✔ checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
Omitted ‘LazyData’ from DESCRIPTION
─ building ‘rmtl_0.0.0.9000.tar.gz’
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
* installing *source* package ‘rmtl’ ...
** using staged installation
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** 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 (rmtl)
$
2条答案
按热度按时间zzzyeukh1#
它对我来说安装得很好(在Linux上)。正如输出所示,我也有一个GSTUUB_PAT,但我认为公共存储库不需要它。
字符串
(其中
installGithub.r
是我的littler CRAN包中remotes::install_github
的一个简单方便的 Package 器。)所以我想你需要弄清楚为什么到GitHub的https握手会失败。看起来GitHub很好地为仓库服务。
kmbjn2e32#
你也可以在代码的开头找到包中的3个函数
字符串
您还可以下载3r脚本文件和源代码
型