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

Output isn't printing as expected #641

Closed
hjohns12 opened this issue Mar 1, 2021 · 8 comments
Closed

Output isn't printing as expected #641

hjohns12 opened this issue Mar 1, 2021 · 8 comments

Comments

@hjohns12
Copy link

hjohns12 commented Mar 1, 2021

This is what I see when I try to use skim today. Using version skimr_2.1.2.

skim(iris)
── Data Summary ────────────────────────
Values
Name iris
Number of rows 150
Number of columns 5


Column type frequency:
factor 1
numeric 4


Group variables None

── Variable type: factor ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

── Variable type: numeric ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

@michaelquinn32
Copy link
Collaborator

Hi Hope!

Sorry for the issue. Are you on windows? What version of R are you using?

Either way, could your try

options(skimr_strip_metadata = FALSE)

And try again?

Thanks!

@hjohns12
Copy link
Author

hjohns12 commented Mar 1, 2021

I'm on a Mac. When I tried options(skimr_strip_metadata = FALSE) everything works as expected. Thanks!

R.version
_
platform x86_64-apple-darwin17.0
arch x86_64
os darwin17.0
system x86_64, darwin17.0
status
major 4
minor 0.3
year 2020
month 10
day 10
svn rev 79318
language R
version.string R version 4.0.3 (2020-10-10)
nickname Bunny-Wunnies Freak Out

@elinw
Copy link
Collaborator

elinw commented Mar 11, 2021

I just got this as well. I seem to remember that this was an issue also in a prior release and there was an easy fix, will look.

@elinw
Copy link
Collaborator

elinw commented Mar 11, 2021

I'm going to pin this.

@pulleyps
Copy link

I am finding that if I run the following, skim() outputs appropriately:

iris %>%
dplyr::group_by(Species) %>%
skim()

But when I apply it to the end of a long pipe, skim() does nothing. I can see it running, but then it stops and doesn't show any output. If I replace the skim() function at the end with print() then the result prints nicely as expected:

data <- starting_data %>%
(many commands in pipe) %>%
skim()

Does skim() not work with long or complicated pipes? Is it an RStudio setting issue?

@elinw
Copy link
Collaborator

elinw commented Mar 23, 2021

Hi this is really a different issue in my opinion. There is no reason skimr should not work in a long series. Can you please open this as a new issue and past your complete code that isn't working?

@pulleyps
Copy link

pulleyps commented Mar 23, 2021 via email

@elinw
Copy link
Collaborator

elinw commented Jan 9, 2022

I'm going to close this because I think it is also addressed by the pillar issue. #676 #654

@elinw elinw closed this as completed Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants