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

vis_expect reorders columns. #133

Closed
muschellij2 opened this issue Feb 22, 2021 · 0 comments · Fixed by #134
Closed

vis_expect reorders columns. #133

muschellij2 opened this issue Feb 22, 2021 · 0 comments · Fixed by #134

Comments

@muschellij2
Copy link
Contributor

vis_expect reorders the columns of the data, as the variable variable is not factored. Making this to ref in a PR.

colnames(airquality)
#> [1] "Ozone"   "Solar.R" "Wind"    "Temp"    "Month"   "Day"
visdat::vis_expect(airquality, ~.x == 5.1)

Created on 2021-02-22 by the reprex package (v1.0.0)

Session info
sessioninfo::session_info()
#> ─ Session info ───────────────────────────────────────────────────────────────
#>  setting  value                       
#>  version  R version 4.0.2 (2020-06-22)
#>  os       macOS Catalina 10.15.7      
#>  system   x86_64, darwin17.0          
#>  ui       X11                         
#>  language (EN)                        
#>  collate  en_US.UTF-8                 
#>  ctype    en_US.UTF-8                 
#>  tz       America/New_York            
#>  date     2021-02-22                  
#> 
#> ─ Packages ───────────────────────────────────────────────────────────────────
#>  package     * version    date       lib source                          
#>  assertthat    0.2.1      2019-03-21 [2] CRAN (R 4.0.0)                  
#>  backports     1.2.1      2020-12-09 [1] CRAN (R 4.0.2)                  
#>  cli           2.3.0      2021-01-31 [1] CRAN (R 4.0.2)                  
#>  colorspace    2.0-0      2020-11-11 [1] CRAN (R 4.0.2)                  
#>  crayon        1.4.1      2021-02-08 [1] CRAN (R 4.0.2)                  
#>  curl          4.3        2019-12-02 [2] CRAN (R 4.0.0)                  
#>  DBI           1.1.1      2021-01-15 [1] CRAN (R 4.0.2)                  
#>  digest        0.6.27     2020-10-24 [1] CRAN (R 4.0.2)                  
#>  dplyr         1.0.4      2021-02-02 [1] CRAN (R 4.0.2)                  
#>  ellipsis      0.3.1      2020-05-15 [2] CRAN (R 4.0.0)                  
#>  evaluate      0.14       2019-05-28 [2] CRAN (R 4.0.0)                  
#>  farver        2.0.3      2020-01-16 [2] CRAN (R 4.0.0)                  
#>  fs            1.5.0      2020-07-31 [2] CRAN (R 4.0.2)                  
#>  generics      0.1.0      2020-10-31 [1] CRAN (R 4.0.2)                  
#>  ggplot2       3.3.3      2020-12-30 [1] CRAN (R 4.0.2)                  
#>  glue          1.4.2      2020-08-27 [1] CRAN (R 4.0.2)                  
#>  gtable        0.3.0      2019-03-25 [2] CRAN (R 4.0.0)                  
#>  highr         0.8        2019-03-20 [2] CRAN (R 4.0.0)                  
#>  htmltools     0.5.1.1    2021-01-22 [1] CRAN (R 4.0.2)                  
#>  httr          1.4.2      2020-07-20 [2] CRAN (R 4.0.2)                  
#>  knitr         1.31       2021-01-27 [1] CRAN (R 4.0.2)                  
#>  labeling      0.4.2      2020-10-20 [1] CRAN (R 4.0.2)                  
#>  lifecycle     1.0.0      2021-02-15 [1] CRAN (R 4.0.2)                  
#>  magrittr      2.0.1      2020-11-17 [1] CRAN (R 4.0.2)                  
#>  mime          0.10       2021-02-13 [1] CRAN (R 4.0.2)                  
#>  munsell       0.5.0      2018-06-12 [2] CRAN (R 4.0.0)                  
#>  pillar        1.4.7      2020-11-20 [1] CRAN (R 4.0.2)                  
#>  pkgconfig     2.0.3      2019-09-22 [2] CRAN (R 4.0.0)                  
#>  purrr         0.3.4      2020-04-17 [2] CRAN (R 4.0.0)                  
#>  R6            2.5.0      2020-10-28 [1] CRAN (R 4.0.2)                  
#>  reprex        1.0.0      2021-01-27 [1] CRAN (R 4.0.2)                  
#>  rlang         0.4.10     2020-12-30 [1] CRAN (R 4.0.2)                  
#>  rmarkdown     2.6        2020-12-14 [1] CRAN (R 4.0.2)                  
#>  scales        1.1.1      2020-05-11 [2] CRAN (R 4.0.0)                  
#>  sessioninfo   1.1.1      2018-11-05 [2] CRAN (R 4.0.0)                  
#>  stringi       1.5.3      2020-09-09 [1] CRAN (R 4.0.2)                  
#>  stringr       1.4.0      2019-02-10 [2] CRAN (R 4.0.0)                  
#>  styler        1.3.2      2020-02-23 [2] CRAN (R 4.0.0)                  
#>  tibble        3.0.6      2021-01-29 [1] CRAN (R 4.0.2)                  
#>  tidyr         1.1.2      2020-08-27 [1] CRAN (R 4.0.2)                  
#>  tidyselect    1.1.0      2020-05-11 [2] CRAN (R 4.0.0)                  
#>  vctrs         0.3.6      2020-12-17 [1] CRAN (R 4.0.2)                  
#>  visdat        0.6.0.9000 2021-02-22 [1] Github (ropensci/visdat@8121dfe)
#>  withr         2.4.1      2021-01-26 [1] CRAN (R 4.0.2)                  
#>  xfun          0.21       2021-02-10 [1] CRAN (R 4.0.2)                  
#>  xml2          1.3.2      2020-04-23 [2] CRAN (R 4.0.0)                  
#>  yaml          2.2.1      2020-02-01 [2] CRAN (R 4.0.0)                  
#> 
#> [1] /Users/johnmuschelli/Library/R/4.0/library
#> [2] /Library/Frameworks/R.framework/Versions/4.0/Resources/library
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

Successfully merging a pull request may close this issue.

1 participant