使用 devtools/bitbucket 安装错误自定义包
Install error custom package with devtools/bitbucket
我是 R 的新手,所以这可能是一个简单的修复。我正在尝试安装我公司的软件包,但出现以下错误。
> devtools::install_bitbucket("owac/owactools", auth_user =
"username", password = "password")
Downloading bitbucket repo owac/owactools@master
Installing owactools
"C:/Users/SPENCE~1/DOCUME~1/R/R-33~1.0/bin/x64/R" --no-site-file
--no-environ --no-save --no-restore --quiet CMD \
INSTALL "C:/Users/spencer-miller/AppData/Local/Temp/RtmpsXEvW5
/devtools1ca063f850e1/owac-owactools-d9441106847e" \
--library="C:/Users/spencer-miller/Documents/R/R-3.3.0/library"
--install-tests
* installing *source* package 'owactools' ...
** R
** data
*** moving datasets to lazyload DB
** tests
** preparing package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck =
vI[[i]]) :
there is no package called 'ggplot2'
ERROR: lazy loading failed for package 'owactools'
* removing 'C:/Users/spencer-miller/Documents/R/R-3.3.0/library
/owactools'
Error: Command failed (1)
您必须通过以下方式下载软件包 ggplot2:
install.packages(c("ggplot2"))
错误信息
there is no package called 'ggplot2'
表示这个。
我是 R 的新手,所以这可能是一个简单的修复。我正在尝试安装我公司的软件包,但出现以下错误。
> devtools::install_bitbucket("owac/owactools", auth_user =
"username", password = "password")
Downloading bitbucket repo owac/owactools@master
Installing owactools
"C:/Users/SPENCE~1/DOCUME~1/R/R-33~1.0/bin/x64/R" --no-site-file
--no-environ --no-save --no-restore --quiet CMD \
INSTALL "C:/Users/spencer-miller/AppData/Local/Temp/RtmpsXEvW5
/devtools1ca063f850e1/owac-owactools-d9441106847e" \
--library="C:/Users/spencer-miller/Documents/R/R-3.3.0/library"
--install-tests
* installing *source* package 'owactools' ...
** R
** data
*** moving datasets to lazyload DB
** tests
** preparing package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck =
vI[[i]]) :
there is no package called 'ggplot2'
ERROR: lazy loading failed for package 'owactools'
* removing 'C:/Users/spencer-miller/Documents/R/R-3.3.0/library
/owactools'
Error: Command failed (1)
您必须通过以下方式下载软件包 ggplot2:
install.packages(c("ggplot2"))
错误信息
there is no package called 'ggplot2'
表示这个。