The canonical form [1] of an R package Makefile includes the
following:
- The first stanza includes R_PKGNAME, R_PKGVER, PKGREVISION (as
needed), and CATEGORIES.
- HOMEPAGE is not present but defined in math/R/Makefile.extension to
refer to the CRAN web page describing the package. Other relevant
web pages are often linked from there via the URL field.
This updates all current R packages to this form, which will make
regular updates _much_ easier, especially using pkgtools/R2pkg.
[1] http://mail-index.netbsd.org/tech-pkg/2019/08/02/msg021711.html
Each R package should include ../../math/R/Makefile.extension, which also
defines MASTER_SITES. Consequently, it is redundant for the individual
packages to do the same. Package-specific definitions also prevent
redefining MASTER_SITES in a single common place.
Upstream changes:
Changes in 4.6-10:
* Fixed bugs introduced in 4.6-8 and 4.6-9. Levels for ordered factors
in predictors are no longer checked for consistency between training
and test data in predict.randomForest(). In 4.6-9 the response is mean
centered before running the algorithm (for regression), but the mean was
not added back in the $y component of the return object from
randomForest().
Changes in 4.6-9:
* Categorical predictors are allowed to have up to 53 categories now.
Changes in 4.6-8:
* There was a bug in the handling of ordered factors in randomForest.formula().
(Reported by Barry Rawlingson.)
* Changed randomForest.formula() and predict.randomForest() so that
predict() without newdata when na.action=na.exclude pads the output
with NAs to match the rows in the original data (suggested by Barry
Rawlingson.).
* There was a long standing bug in randomForest(..., proximity=TRUE, oob.prox=FALSE)
in regression mode. (Thanks to Stefano Romano for the report.)