gertjanssenswillen / processmapR

!! repository moved to https://github.com/bupaverse/processmapR !! This repo is read-only from now one.
Other
7 stars 9 forks source link

Prefixing `UQ()` with the rlang namespace is deprecated as of rlang 0.3.0 #51

Closed iMissile closed 5 years ago

iMissile commented 5 years ago

Hi!. process_map give warning concerning new conception in rlang:

m2 %>%
+   processmapR::process_map(type = processmapR::frequency("relative_case"))

Warning message:
Prefixing `UQ()` with the rlang namespace is deprecated as of rlang 0.3.0.
Please use the non-prefixed form or `!!` instead.
  # Bad:
  rlang::expr(mean(rlang::UQ(var) * 100))
  # Ok:
  rlang::expr(mean(UQ(var) * 100))
  # Good:
  rlang::expr(mean(!!var * 100))
This warning is displayed once per session. 

> sessionInfo()
R version 3.6.1 (2019-07-05)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.2 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1

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

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

other attached packages:
 [1] rTRNG_4.20-1      anytime_0.3.4     data.table_1.12.2 tictoc_1.0        datapasta_3.0.0  
 [6] tidylog_0.1.0     forcats_0.4.0     stringr_1.4.0     dplyr_0.8.3       purrr_0.3.2      
[11] readr_1.3.1       tidyr_0.8.3       tibble_2.1.3      ggplot2_3.2.0     tidyverse_1.2.1  

loaded via a namespace (and not attached):
 [1] nlme_3.1-140       bitops_1.0-6       matrixStats_0.54.0 lubridate_1.7.4   
 [5] RColorBrewer_1.1-2 httr_1.4.0         ggsci_2.9          profvis_0.3.6     
 [9] tools_3.6.1        backports_1.1.4    R6_2.4.0           lazyeval_0.2.2    
[13] colorspace_1.4-1   withr_2.1.2        tidyselect_0.2.5   gridExtra_2.3     
[17] compiler_3.6.1     cli_1.1.0          rvest_0.3.4        xml2_1.2.0        
[21] influenceR_0.1.0   plotly_4.9.0       scales_1.0.0       checkmate_1.9.4   
[25] RApiDatetime_0.0.4 digest_0.6.20      pkgconfig_2.0.2    htmltools_0.3.6   
[29] htmlwidgets_1.3    rlang_0.4.0        ggthemes_4.2.0     readxl_1.3.1      
[33] rstudioapi_0.10    pryr_0.1.4         shiny_1.3.2        visNetwork_2.0.7  
[37] generics_0.0.2     zoo_1.8-6          jsonlite_1.6       rgexf_0.15.3      
[41] RCurl_1.95-4.12    magrittr_1.5       rapportools_1.0    Rcpp_1.0.1        
[45] munsell_0.5.0      viridis_0.5.1      eventdataR_0.2.0   yaml_2.2.0        
[49] stringi_1.4.3      plyr_1.8.4         shinyTime_1.0.0    grid_3.6.1        
[53] parallel_3.6.1     promises_1.0.1     edeaR_0.8.2        crayon_1.3.4      
[57] bupaR_0.4.2        miniUI_0.1.1.1     lattice_0.20-38    haven_2.1.1       
[61] pander_0.6.3       summarytools_0.9.3 hms_0.5.0          magick_2.0        
[65] zeallot_0.1.0      pillar_1.4.2       tcltk_3.6.1        igraph_1.2.4.1    
[69] processmapR_0.3.3  codetools_0.2-16   XML_3.98-1.20      glue_1.3.1        
[73] downloader_0.4     RcppParallel_4.4.3 modelr_0.1.4       vctrs_0.2.0       
[77] httpuv_1.5.1       cellranger_1.1.0   gtable_0.3.0       assertthat_0.2.1  
[81] mime_0.7           skimr_1.0.7        xtable_1.8-4       broom_0.5.2       
[85] later_0.8.0        viridisLite_0.3.0  Rook_1.1-1         DiagrammeR_1.0.1  
[89] brew_1.0-6
gertjanssenswillen commented 5 years ago

Hi

This warning is generated by DiagrammeR, not by processmapR, and will surely be solved in the future. You can just ignore it for now.