We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If a percent sign (%) is misplaced in parse_date()’s format specification, a segmentation fault is raised.
parse_date()
library(readr) # Note this percent sign ↓ parse_date("2020-11-17", "%%Y-%m-%d")
With R v4.0.3 and readr v1.4.0:
*** caught segfault *** address 0x20, cause 'memory not mapped' Traceback: 1: parse_vector_(x, collector, na = na, locale_ = locale, trim_ws = trim_ws) 2: withCallingHandlers(expr, warning = function(w) if (inherits(w, classes)) tryInvokeRestart("muffleWarning")) 3: suppressWarnings(x) 4: probs(x) 5: n_problems(x) 6: warn_problems(parse_vector_(x, collector, na = na, locale_ = locale, trim_ws = trim_ws)) 7: parse_vector(x, col_date(format), na = na, locale = locale, trim_ws = trim_ws) 8: parse_date("2020-11-17", "%%Y-%m-%d")
The text was updated successfully, but these errors were encountered:
97186a8
Thanks for opening the issue, a clear bug that happened in the recent conversion. Should now be fixed.
Sorry, something went wrong.
No branches or pull requests
If a percent sign (%) is misplaced in
parse_date()
’s format specification, a segmentation fault is raised.With R v4.0.3 and readr v1.4.0:
The text was updated successfully, but these errors were encountered: