Etienne Bacher

Results 141 comments of Etienne Bacher

Other possibility (but I don't know if `expand.model.frame()` is supported by all models): ``` r mtcars$cyl

I don't understand this issue, what does reducing lints mean? Is it something to do ourselves or is it done automatically in the GHA?

> @etiennebacher Should we update the translation vignette to also include this equivalence? Already added by @strengejacke

I think it's because `as.Date()` works for numerics too in R-devel (see [this commit](https://github.com/wch/r-source/commit/920affdc32cba1baa765fb3a647570d407dfccaa)), which breaks this: https://github.com/easystats/datawizard/blob/0a226f69b4b337d8cb8fda1c41b7186024d8f9b7/R/convert_to_na.R#L124-L126

Actually this is the line that causes the issue: https://github.com/easystats/datawizard/blob/0a226f69b4b337d8cb8fda1c41b7186024d8f9b7/R/convert_to_na.R#L137

I don't have R-devel on my laptop so I can't really test this

No idea how to fix this for now, and as you said it seems that this change is not settled yet on R-devel. If we can't find a solution, one...

I can reproduce with R-devel on Ubuntu. The problem comes from the new behavior of `as.Date()` that can now convert numerics to dates: ```r > as.Date(3) [1] "1970-01-04" ``` Here's...

(works on the website though)

Not sure either, but you're aware of this problem so I'll close this (just wanted to mention in case you didn't notice)