>>>>> Tim Taylor >>>>> on Thu, 6 Jul 2023 15:11:41 +0100 writes:
> Ah yes ... and reading the as.data.frame help we see (emphasis mine): > "... Direct calls to as.data.frame.<class>() are still possible (*base > package!*), for 12 atomic base classes, but will deprecated ..." > So it does seem that a lot of these warnings are triggered by base R and > updating this code may be a work in progress. > A little tangential (but related) to this though is still the fact that > we can trigger the warning with: > lapply(Sys.Date(), as.data.frame) > so I wonder if the code in base/R/zzz.R > (https://github.com/wch/r-source/blob/9f1940663f902174034a01197e55fd17c767213a/src/library/base/R/zzz.R#L664-L686) > does need tweaking? > At this stage this is probably more a question for R-devel though. Indeed. ... and so I've sent a long reply to you, Enrico, Vincent *AND* the R-devel mailing list. In its archives you see it here https://stat.ethz.ch/pipermail/r-devel/2023-July/082725.html With thanks to Vincent, Tim, Enrico, (and Mikael who started "moving" this to R-devel, see there). Martin -- Martin Maechler ETH Zurich and R Core team ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel