在loadNamespace(i,c(lib.loc,.libPaths()),versionCheck = vI [[i]])中发出警告:没有名为“ sym”的软件包

时间:2019-02-13 15:46:57

标签: r

我在程序包中经常使用rlang :: sym,但出现错误:

Warning in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
  there is no package called ‘sym’

在Rstudio中运行支票时

命名空间具有

import(sym)

但是我在包装中的任何地方都没有@importFrom sym@import symlibrary(sym)。有什么想法如何产生的吗?

我的sessionInfo()是

R version 3.5.1 (2018-07-02)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.5 LTS

Matrix products: default
BLAS: /usr/lib/openblas-base/libblas.so.3
LAPACK: /usr/lib/libopenblasp-r0.2.18.so

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8     LC_MONETARY=en_US.UTF-8   
 [6] LC_MESSAGES=en_US.UTF-8    LC_PAPER=en_US.UTF-8       LC_NAME=C                  LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] EndoMineR_0.0.0.9000

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.0        rstudioapi_0.7    bindr_0.1.1       xml2_1.2.0        magrittr_1.5      munsell_0.5.0     tidyselect_0.2.5  colorspace_1.3-2 
 [9] tm_0.7-6          R6_2.3.0          rlang_0.3.1       stringr_1.3.1     plyr_1.8.4        dplyr_0.7.8       tools_3.5.1       parallel_3.5.1   
[17] grid_3.5.1        gtable_0.2.0      data.table_1.11.8 lazyeval_0.2.1    yaml_2.2.0        assertthat_0.2.0  tibble_1.4.2      crayon_1.3.4     
[25] bindrcpp_0.2.2    NLP_0.2-0         tidyr_0.8.2       purrr_0.2.5       ggplot2_3.1.0     glue_1.3.0        slam_0.1-43       stringi_1.2.4    
[33] compiler_3.5.1    pillar_1.3.1      scales_1.0.0      lubridate_1.7.4   pkgconfig_2.0.2  

0 个答案:

没有答案