-
Notifications
You must be signed in to change notification settings - Fork 79
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
skimr not working (similar to #56) #61
Comments
Can you try update your |
Thanks for the comment. Unfortunately, no effect of updating the |
Some dependencies missing from my R setup? Could you list them? |
Hey team! I'm really keen to use this in a conference talk I am giving tomorrow, unfortunately I get an error when I run it interactively in RStudio... HOWEVER! When I run skimr::skim(iris)
#> Numeric Variables
#> # A tibble: 4 x 13
#> var type missing complete n mean sd min
#> <chr> <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
#> 1 Petal.Length numeric 0 150 150 3.758000 1.7652982 1.0
#> 2 Petal.Width numeric 0 150 150 1.199333 0.7622377 0.1
#> 3 Sepal.Length numeric 0 150 150 5.843333 0.8280661 4.3
#> 4 Sepal.Width numeric 0 150 150 3.057333 0.4358663 2.0
#> # ... with 5 more variables: `25% quantile` <dbl>, median <dbl>, `75%
#> # quantile` <dbl>, max <dbl>, hist <chr>
#>
#> Factor Variables
#> # A tibble: 1 x 7
#> var type complete missing n n_unique
#> <chr> <chr> <dbl> <dbl> <dbl> <dbl>
#> 1 Species factor 150 0 150 3
#> # ... with 1 more variables: stat <chr> Session infodevtools::session_info()
#> Session info -------------------------------------------------------------
#> setting value
#> version R version 3.4.0 (2017-04-21)
#> system x86_64, darwin15.6.0
#> ui X11
#> language (EN)
#> collate en_AU.UTF-8
#> tz Australia/Melbourne
#> date 2017-06-01
#> Packages -----------------------------------------------------------------
#> package * version date source
#> assertthat 0.2.0 2017-04-11 CRAN (R 3.4.0)
#> backports 1.1.0 2017-05-22 cran (@1.1.0)
#> base * 3.4.0 2017-04-21 local
#> colformat 0.0.0.9000 2017-05-31 Github (hadley/colformat@fa9b098)
#> compiler 3.4.0 2017-04-21 local
#> crayon 1.3.2.9000 2017-05-31 Github (gaborcsardi/crayon@0a0129e)
#> datasets * 3.4.0 2017-04-21 local
#> DBI 0.6-1 2017-04-01 CRAN (R 3.4.0)
#> devtools 1.13.1 2017-05-13 CRAN (R 3.4.0)
#> digest 0.6.12 2017-01-27 CRAN (R 3.4.0)
#> dplyr 0.5.0 2016-06-24 CRAN (R 3.4.0)
#> evaluate 0.10 2016-10-11 CRAN (R 3.4.0)
#> formatR 1.5 2017-04-25 CRAN (R 3.4.0)
#> graphics * 3.4.0 2017-04-21 local
#> grDevices * 3.4.0 2017-04-21 local
#> htmltools 0.3.6 2017-04-28 cran (@0.3.6)
#> knitr 1.16 2017-05-18 cran (@1.16)
#> lazyeval 0.2.0 2016-06-12 CRAN (R 3.4.0)
#> magrittr 1.5 2014-11-22 CRAN (R 3.4.0)
#> memoise 1.1.0 2017-05-12 Github (hadley/memoise@e372cde)
#> methods * 3.4.0 2017-04-21 local
#> purrr 0.2.2.2 2017-05-11 cran (@0.2.2.2)
#> R6 2.2.1 2017-05-10 cran (@2.2.1)
#> Rcpp 0.12.11 2017-05-22 cran (@0.12.11)
#> rlang 0.1.1 2017-05-18 CRAN (R 3.4.0)
#> rmarkdown 1.5.9000 2017-05-29 Github (rstudio/rmarkdown@1ba5b8f)
#> rprojroot 1.2 2017-01-16 CRAN (R 3.4.0)
#> rstudioapi 0.6 2016-06-27 CRAN (R 3.4.0)
#> skimr 1.0 2017-05-31 Github (ropenscilabs/skimr@766cab0)
#> stats * 3.4.0 2017-04-21 local
#> stringi 1.1.5 2017-04-07 CRAN (R 3.4.0)
#> stringr 1.2.0 2017-02-18 CRAN (R 3.4.0)
#> tibble 1.3.3 2017-05-28 cran (@1.3.3)
#> tidyr 0.6.3 2017-05-15 cran (@0.6.3)
#> tools 3.4.0 2017-04-21 local
#> utils * 3.4.0 2017-04-21 local
#> withr 1.0.2 2016-06-20 CRAN (R 3.4.0)
#> yaml 2.1.14 2016-11-12 cran (@2.1.14) I am currently running a dev version of RStudio, perhaps this is causing the problem, but I just thought I should document this in case anyone else has the same problem. |
OK, update - I installed the latest version of skimr::skim(airquality)
#> Numeric Variables
#> # A tibble: 6 x 13
#> var type missing complete n mean sd min
#> <chr> <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
#> 1 Day integer 0 153 153 15.803922 8.864520 1.0
#> 2 Month integer 0 153 153 6.993464 1.416522 5.0
#> 3 Ozone integer 37 116 153 42.129310 32.987885 1.0
#> 4 Solar.R integer 7 146 153 185.931507 90.058422 7.0
#> 5 Temp integer 0 153 153 77.882353 9.465270 56.0
#> 6 Wind numeric 0 153 153 9.957516 3.523001 1.7
#> # ... with 5 more variables: `25% quantile` <dbl>, median <dbl>, `75%
#> # quantile` <dbl>, max <dbl>, hist <chr> |
Thanks @njtierney, installing the latest dev version of |
@michaelquinn32 should we be more explicit about the required version of rstudioapi? |
@earino @michaelquinn32 @haozhu233 Isn't it more the version of RStudio? It seems like if you are using the dev version of RStudio you need the dev version of rstudioapi. |
Closing since it is resolved, but the last question needs to be considered. |
> skim(iris) Error: .onLoad failed in loadNamespace() for 'crayon', details: call: NULL error: 'hasColorConsole' is not an exported object from 'namespace:rstudioapi'
Latest daily build of Rstudio, latest R, other packages. OS X 10.11.6
The text was updated successfully, but these errors were encountered: