【发布时间】:2020-09-14 15:52:05
【问题描述】:
我已经下载了一个R包的源代码(你可以使用git-cloneing的thisR包或者下载压缩版本)。我想通过Build 选项卡(1) 中的Install and Restart 按钮(4) 安装软件包。在配置 (2) 中,我选择了“小插图”(3)。
我使用的其他配置选项:
不幸的是,当我按下Install and Restart 时,软件包已安装但没有它的小插图,即在软件包的帮助页面中没有显示小插图:
问题:有没有办法通过使用这个Install and Restart 按钮来安装带有小插图的包。也许缺少一些配置选项?
我在 Windows 10 上使用 RStudio 1.3.1091、R 4.0.2。
更新:
我知道以下解决方案:
devtools::install_github("r-lib/pkgdown", build_vignettes = TRUE)
或者在终端窗口中:
R CMD build .
R CMD INSTALL pkgdown_1.6.1.9000.tar.gz
但我的问题是关于 Install and Restart 按钮(或 RStudio 中的类似工具)的功能。
【问题讨论】:
标签: r installation build rstudio r-package