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

`descriptr:::print_screen` fails if a variable has more than one class #26

GegznaV opened this Issue Mar 8, 2018 · 0 comments


2 participants

GegznaV commented Mar 8, 2018


example_ds <- data.frame(
    col_integer    = c(2L, 2L, 2L, 5L, 5L),
    col_numeric    = c(1.9, NA, 2.9, 9.1, 9.6),
    col_ordinal    = ordered(c("S", "V", "V", "S", NA)),
    col_factor     = factor(c("R", "G", "G", "B", "B")),
    col_logical    = c(FALSE, TRUE, TRUE, FALSE, TRUE),
    col_character  = c("-", "-", "some text", "-", "-"),
    col_date       = Sys.Date(),
    col_time       = Sys.time(),
    stringsAsFactors = FALSE


This example fais with error:

Error in max(sapply(lengths[[i]], nchar)) : 
  invalid 'type' (list) of argument

@aravindhebbali aravindhebbali self-assigned this Mar 8, 2018

@aravindhebbali aravindhebbali added the bug label Mar 8, 2018

@aravindhebbali aravindhebbali added this to the 0.4.1 milestone Mar 8, 2018

@aravindhebbali aravindhebbali removed their assignment Mar 8, 2018

@GegznaV GegznaV referenced this issue Mar 8, 2018


Print issue #31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment