Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated usage of external vector in selections #441

Open
fkohrt opened this issue Nov 5, 2022 · 0 comments
Open

Deprecated usage of external vector in selections #441

fkohrt opened this issue Nov 5, 2022 · 0 comments

Comments

@fkohrt
Copy link

fkohrt commented Nov 5, 2022

Description

{pointblank} makes use of code that is deprecated with {tidyselect} 1.1.0.

Reproducible example

withr::with_options(list(lifecycle_verbosity = "error"),
                    pointblank::scan_data(iris))
── Data Scan started. Processing 6 sections. ────────────
ℹ Starting assembly of 'Overview' section...
Error:
! Using an external vector in selections was
  deprecated in tidyselect 1.1.0.
ℹ Please use `all_of()` or `any_of()` instead.
  # Was:
  data %>% select(hide_columns_from_supplied)

  # Now:
  data %>% select(all_of(hide_columns_from_supplied))

See
<https://tidyselect.r-lib.org/reference/faq-external-vector.html>.
Run `rlang::last_error()` to see where the error occurred.

Expected result

No error.

Session info

sessionInfo()
R version 4.2.1 (2022-06-23)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.6 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/openblas/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/libopenblasp-r0.2.20.so

locale:
 [1] LC_CTYPE=en_US.UTF-8      
 [2] LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8       
 [4] LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8   
 [6] LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8      
 [8] LC_NAME=C                 
 [9] LC_ADDRESS=C              
[10] LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8
[12] LC_IDENTIFICATION=C       

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

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.9             rstudioapi_0.14       
 [3] magrittr_2.0.3         MASS_7.3-58.1         
 [5] pointblank_0.11.2.9000 gt_0.7.0              
 [7] munsell_0.5.0          tidyselect_1.2.0      
 [9] colorspace_2.0-3       R6_2.5.1              
[11] rlang_1.0.6            fastmap_1.1.0         
[13] fansi_1.0.3            dplyr_1.0.10          
[15] tools_4.2.1            grid_4.2.1            
[17] ggforce_0.4.1          gtable_0.3.1          
[19] utf8_1.2.2             blastula_0.3.2        
[21] cli_3.4.1              DBI_1.1.3             
[23] withr_2.5.0            htmltools_0.5.3       
[25] digest_0.6.30          assertthat_0.2.1      
[27] tibble_3.1.8           lifecycle_1.0.3       
[29] farver_2.1.1           tweenr_2.0.2          
[31] ggplot2_3.4.0          vctrs_0.5.0           
[33] glue_1.6.2             polyclip_1.10-4       
[35] compiler_4.2.1         pillar_1.8.1          
[37] scales_1.2.1           generics_0.1.3        
[39] pkgconfig_2.0.3       
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants