hadley / precis

Succintly Summarise Data Frames
64 stars 4 forks source link

precis only gives # of rows and columns of a data frame, but no summary stats #3

Open donboyd5 opened 6 years ago

donboyd5 commented 6 years ago

Hi. I have never filed an issue before and hope I am doing this correctly. precis used to work perfectly for me but recently it only shows me the number of rows and columns in a data frame, plus NULL. The output below shows what happened after starting a brand new session in RStudio, loading precis, and calling precis(mtcars). I then show sessionInfo(). Is it possible I am doing something wrong or may have something wrong with my setup?

Many thanks.

Don

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(precis)
> precis(mtcars)
# data.frame [32 x 11]
NULL
> sessionInfo()
R version 3.4.4 (2018-03-15)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252    LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                           LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] precis_0.0.0.9000

loaded via a namespace (and not attached):
 [1] compiler_3.4.4   assertthat_0.2.0 cli_1.0.0        tools_3.4.4      pillar_1.2.1     rstudioapi_0.7   tibble_1.4.2     yaml_2.1.18     
 [9] crayon_1.3.4     rlang_0.2.0     
>