You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From an email from Kurt Hornik to many package developers:
A recent PR (https://bugs.r-project.org/show_bug.cgi?id=18548) showed
that whereas version inputs to numeric_version() and package_version()
were always documented to be "suitable character vectors" (or numeric
vesion objects), the implementation also accepted numeric inputs via
as.character() coercion, the results of which however are (at least
currently) dependent on the setting of the OutDec option. Given that
numeric input is certainly error-prone, imagine
R Core has decided it would be best to gradually phase out such inputs.
Thus, With c84610 R-devel now warns about such inputs, which will
typically not show in the check results (but immediately giving errors
would cause too much disruption). Some of these warnings can be found
by code analyis. I list these uses below, can you please fix as
necessary?
When doing so, please check the check outputs for such warnings, e.g. by
grep -r 'invalid non-character version specification' PKGNAME.Rcheck
(One can for now set env var R_CALLS_INVALID_NUMERIC_VERSION to
something non-empty to get the call stacks for the warnings; this may
need increasing option warning.length from its default.)
Related to #1869
From an email from Kurt Hornik to many package developers:
The section given for usethis:
The text was updated successfully, but these errors were encountered: