geometry
geometry copied to clipboard
Legacy macros need replaced
NEWS for 4.2.0 alpha (and R-devel for months before) has
• The legacy S-compatibility macros DOUBLE_* in R_ext/Constants.h
(included by R.h) are deprecated.
and these packages use them. The plan is to remove them in R-devel soon after the release of 4.2.0, so please do so in your package before Apr 23.
The standard C99 constants are those used in that header:
#define DOUBLE_DIGITS DBL_MANT_DIG #define DOUBLE_EPS DBL_EPSILON #define DOUBLE_XMAX DBL_MAX #define DOUBLE_XMIN DBL_MIN
defined in <float.h> or for C++,
Unfortunately there is no portable way to give a deprecation warning in a header so once these are removed your package will fail to install.