r-lib / rlang

Low-level API for programming with R
https://rlang.r-lib.org
Other
509 stars 138 forks source link

Error in fun(pkgname, pkgpath) : object 'rlang_glue_is_there' not found #922

Closed maciekjswat closed 4 years ago

maciekjswat commented 4 years ago

Hi, I am using following libraries for a ROC analysis

library(ROCR) library(ggplot2)

and get the following error message, but only the first time I run the script:

Loading required package: gplots Attaching package: ‘gplots’ The following object is masked from ‘package:stats’: lowess Error in fun(pkgname, pkgpath) : object 'rlang_glue_is_there' not found

I don't see any issue apart from this error message. Any comments would be very appreciated. M

PS:

sessionInfo() R version 3.4.4 (2018-03-15) Platform: i386-w64-mingw32/i386 (32-bit) Running under: Windows 10 x64 (build 16299)

Matrix products: default

locale: [1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United Kingdom.1252
[3] LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C
[5] LC_TIME=English_United Kingdom.1252

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

other attached packages: [1] reshape2_1.4.3 ggplot2_3.2.1 ROCR_1.0-7 gplots_3.0.1.2

loaded via a namespace (and not attached): [1] Rcpp_1.0.3 rstudioapi_0.10 magrittr_1.5 tidyselect_0.2.5 munsell_0.5.0
[6] colorspace_1.4-1 R6_2.4.1 rlang_0.4.4 stringr_1.4.0 plyr_1.8.5
[11] dplyr_0.8.4 caTools_1.17.1.2 tools_3.4.4 grid_3.4.4 gtable_0.3.0
[16] KernSmooth_2.23-15 withr_2.1.2 gtools_3.8.1 lazyeval_0.2.2 assertthat_0.2.1
[21] tibble_2.1.3 crayon_1.3.4 purrr_0.3.3 bitops_1.0-6 glue_1.3.1
[26] stringi_1.4.5 gdata_2.18.0 compiler_3.4.4 pillar_1.4.3 scales_1.0.0
[31] pkgconfig_2.0.3

lionel- commented 4 years ago

This is typical of an installation issue on Windows.

Please follow these instructions for reinstalling rlang: https://github.com/rstats-wtf/what-they-forgot/issues/62#issuecomment-545038970

BinxiePeterson commented 4 years ago

If anyone else is struggling with the same issue, I fixed this issue by installing {rlang}: install.packages("rlang", dependencies = TRUE)

I thought it would be worth wile posting the simple solution here.