as.Date(10000) works fine in Windows, but on a Linux distribution it errors: 'origin' must be supplied. Somehow the Windows installation has a default origin? I’m trying to build/check a package on Linux that was originally developed on a Windows machine. This package omits the origin parameter all over the place. Is there a quick fix? Perhaps an addition to Rprofile.site?
as.Date(10000) works fine in Windows, but on a Linux distribution it errors: ‘origin’ must
Share
Load the zoo package. It provides a version of
as.Date.numericwith a default origin, e.g.