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

get_bad_words does not appear to be case sensitive. also it appears that available does not warn if get_bad_words fails #87

Open
jkylearmstrong opened this issue Jun 28, 2024 · 0 comments

Comments

@jkylearmstrong
Copy link

get_bad_words does not appear to be case sensitive. also it appears that available does not warn if get_bad_words fails

available::get_bad_words("dplyr2")
#> Bad Words: ✔

available::get_bad_words("ass")
#> Bad Words: ass
available::get_bad_words("Ass")
#> Bad Words: ✔

available::available('ass')
#> ── ass ─────────────────────────────────────────────────────────────────────────
#> Name valid: ✔
#> Available on CRAN: ✔ 
#> Available on Bioconductor: ✔
#> Available on GitHub:  ✔ 
#> Bad Words: ass
#> Abbreviations: http://www.abbreviations.com/ass
#> Wikipedia: https://en.wikipedia.org/wiki/ass
#> Wiktionary: https://en.wiktionary.org/wiki/ass
#> Sentiment:???
available::available('Ass')
#> ── Ass ─────────────────────────────────────────────────────────────────────────
#> Name valid: ✔
#> Available on CRAN: ✔ 
#> Available on Bioconductor: ✔
#> Available on GitHub:  ✔ 
#> Abbreviations: http://www.abbreviations.com/A
#> Wikipedia: https://en.wikipedia.org/wiki/A
#> Wiktionary: https://en.wiktionary.org/wiki/A
#> Sentiment:???
#> Abbreviations: http://www.abbreviations.com/ss
#> Wikipedia: https://en.wikipedia.org/wiki/ss
#> Wiktionary: https://en.wiktionary.org/wiki/ss
#> Sentiment:???
#> Abbreviations: http://www.abbreviations.com/Ass
#> Wikipedia: https://en.wikipedia.org/wiki/Ass
#> Wiktionary: https://en.wiktionary.org/wiki/Ass
#> Sentiment:???

sessionInfo()
#> R version 4.4.0 (2024-04-24 ucrt)
#> Platform: x86_64-w64-mingw32/x64
#> Running under: Windows 11 x64 (build 22631)
#> 
#> Matrix products: default
#> 
#> 
#> locale:
#> [1] LC_COLLATE=English_United States.utf8 
#> [2] LC_CTYPE=English_United States.utf8   
#> [3] LC_MONETARY=English_United States.utf8
#> [4] LC_NUMERIC=C                          
#> [5] LC_TIME=English_United States.utf8    
#> 
#> time zone: America/New_York
#> tzcode source: internal
#> 
#> attached base packages:
#> [1] stats     graphics  grDevices utils     datasets  methods   base     
#> 
#> loaded via a namespace (and not attached):
#>  [1] Matrix_1.7-0        jsonlite_1.8.8      janeaustenr_1.0.0  
#>  [4] dplyr_1.1.4         compiler_4.4.0      crayon_1.5.2       
#>  [7] Rcpp_1.0.12         tidyselect_1.2.1    reprex_2.1.0       
#> [10] tidytext_0.4.2.9000 parallel_4.4.0      yaml_2.3.8         
#> [13] fastmap_1.2.0       lattice_0.22-6      R6_2.5.1           
#> [16] SnowballC_0.7.1     generics_0.1.3      knitr_1.46         
#> [19] tibble_3.2.1        desc_1.4.3          R.cache_0.16.0     
#> [22] pillar_1.9.0        tokenizers_0.3.0    R.utils_2.12.3     
#> [25] rlang_1.1.4         utf8_1.2.4          stringi_1.8.4      
#> [28] cachem_1.1.0        xfun_0.44           fs_1.6.4           
#> [31] memoise_2.0.1       cli_3.6.3           withr_3.0.0        
#> [34] magrittr_2.0.3      stringdist_0.9.12   digest_0.6.35      
#> [37] grid_4.4.0          rstudioapi_0.16.0   clisymbols_1.2.0   
#> [40] lifecycle_1.0.4     R.methodsS3_1.8.2   R.oo_1.26.0        
#> [43] vctrs_0.6.5         evaluate_0.23       available_1.1.0    
#> [46] glue_1.7.0          styler_1.10.3       fansi_1.0.6        
#> [49] rmarkdown_2.27      purrr_1.0.2         pkgconfig_2.0.3    
#> [52] tools_4.4.0         htmltools_0.5.8.1
Created on 2024-06-28 with [reprex v2.1.0](https://reprex.tidyverse.org/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant