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

dpasta() fails with error invalid 'times' value #140

Open
turbanisch opened this issue Nov 10, 2023 · 0 comments
Open

dpasta() fails with error invalid 'times' value #140

turbanisch opened this issue Nov 10, 2023 · 0 comments

Comments

@turbanisch
Copy link

I read in data from StackOverflow, hence the read_table() command. The resulting df looks innocuous but for some reason dpasta() cannot handle it:

library(tidyverse)

df <- read_table("
                 Date            burstID
2018-09-18      1
2018-09-18      2
2018-09-18      3
2018-09-18      4")

# this works: 
# datapasta::dpasta(as_tibble(mtcars))

# this doesn't
datapasta::dpasta(df)
#> Error in strrep(" ", char_length - nchar(char_vec)): invalid 'times' value

Created on 2023-11-10 with reprex v2.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant