The examples code for vis_dat() is not working because the library should be loaded is nycflights13, rather than nycflight13:
library(visdat)
library(nycflight13)
#> Error in library(nycflight13): there is no package called 'nycflight13'
library(dplyr)
#>
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#>
#> filter, lag
#> The following objects are masked from 'package:base':
#>
#> intersect, setdiff, setequal, union
flights %>%
sample_n(1000) %>%
vis_dat()
#> Error in sample_n(., 1000): object 'flights' not found
The examples code for
vis_dat()
is not working because the library should be loaded isnycflights13
, rather thannycflight13
:Created on 2021-07-26 by the reprex package (v2.0.0)
This is also the case for
vis_miss()
.