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.
Changes:
- Turned off using subtle style for digits that are considered
insignificant. Negative numbers are shown all red. Set the new
option pillar.subtle_num to TRUE to turn it on again (default:
FALSE).
- The negation sign is printed next to the number again.
- Scientific notation uses regular digits again for exponents.
- Groups of three digits are now underlined, starting with the fourth
before/after the decimal point. This gives a better idea of the
order of magnitude of the numbers.
- Logical columns are displayed as TRUE and FALSE again.
- The decimal dot is now always printed for numbers of type
numeric. Trailing zeros are not shown anymore if all displayed
numbers are whole numbers.
- Decimal values longer than 13 characters always print in
scientific notation.
- New styling helper style_subtle_num(), formatting depends on the
pillar.subtle_num option.