ropensci / visdat

Preliminary Exploratory Visualisation of Data

Home Page:https://docs.ropensci.org/visdat/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

example codes don't run due to mis-spelling of library name

huizezhang-sherry opened this issue · comments

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

Created on 2021-07-26 by the reprex package (v2.0.0)

This is also the case for vis_miss().