我在安装胶水后加载tidyverse
时遇到问题。
我在library(tidyverse)
错误:loadNamespace中的'dplyr'的包或命名空间加载失败(j< - i [[1L]],c(lib.loc,.libPaths()),versionCheck = vI [[j]]):没有名为'glue'的包
我尝试过的一些事情:
remove.packages("glue")
remove.packages("tidyverse")
install.packages("tidyverse")
> sessionInfo()
R version 3.4.3 (2017-11-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] odbc_1.1.4 cellranger_1.1.0
loaded via a namespace (and not attached):
[1] Rcpp_0.12.15 pillar_1.1.0 compiler_3.4.3 plyr_1.8.4 bindr_0.1
[6] tools_3.4.3 digest_0.6.12 bit_1.1-12 memoise_1.1.0 tibble_1.4.1
[11] gtable_0.2.0 rlang_0.1.6.9003 DBI_0.7 yaml_2.1.14 bindrcpp_0.2
[16] gridExtra_2.3 withr_2.0.0 knitr_1.19 hms_0.3 devtools_1.13.3
[21] stats4_3.4.3 bit64_0.9-7 grid_3.4.3 inline_0.3.14 R6_2.2.2
[26] rstan_2.17.3 ggplot2_2.2.1 blob_1.1.0 scales_0.5.0 StanHeaders_2.17.2
[31] assertthat_0.2.0 colorspace_1.3-2 lazyeval_0.2.1 munsell_0.4.3
答案 0 :(得分:1)
use SensioLabs\Behat\PageObjectExtension\PageObject\Page;
use Facebook\WebDriver\Remote\DesiredCapabilities,
Facebook\WebDriver\Remote\RemoteWebDriver;
use Behat\Mink\Mink,
Behat\Mink\Session,
Behat\Mink\Driver\Selenium2Driver;
class Homepage extends Page{
protected $path = '/';
//setup facebookwebdriver
public function navigateToSite(){
//facebook webdriver code
}
}
取决于胶水,似乎它在您的机器上安装得不好(如果有的话)。
如果安装了dplyr
,则应考虑先卸载它。
然后,尝试使用以下代码重新安装胶水包:glue