[R-SIG-Mac] R CMD check "HTML version of manual" NOTE/Warnings

John Fox j|ox @end|ng |rom mcm@@ter@c@
Mon Apr 25 21:04:24 CEST 2022


Dear R-sig-mac list members,

When checking packages --as-cran with R 4.2.0 (and R 4.2.0 patched), I'm 
seeing multiple warnings (and a NOTE) concerning the HTML version of the 
package help-page manuals. The warning appears for every .Rd file in all 
of the packages that I've checked. I didn't see this problem before R 
4.2.0.

I'm writing to the r-sig-mac list rather than r-package-devel because I 
don't encounter the same problem under Windows. Nor does it appear on 
the CRAN check pages for the packages.

I know that there's been discussion of adding an HTML manual, which 
seems a good idea, but I didn't realize that this has apparently already 
been implemented.

Has anyone else experienced this problem or does anyone understand its 
source? AFAIK, there's nothing unusual about the R installation on my 
Mac, but of course there may be some setting that inadvertently turned 
on checking the HTML manual.

Here's an example (with many lines elided, . . .):

------ snip ------

Johns-MacBook-Pro:car johnfox$ R CMD check --as-cran car_3.0-13.tar.gz
* using log directory 
'/Users/johnfox/Documents/R-package-sources/car/car.Rcheck'
* using R version 4.2.0 Patched (2022-04-24 r82246)
* using platform: aarch64-apple-darwin20 (64-bit)
* using session charset: UTF-8
* using option '--as-cran'
* checking for file 'car/DESCRIPTION' ... OK
* this is package 'car' version '3.0-13'
* checking CRAN incoming feasibility ... Note_to_CRAN_maintainers
Maintainer: 'John Fox <jfox using mcmaster.ca>'
* checking package namespace information ... OK

. . .

* checking PDF version of manual ... OK
* checking HTML version of manual ... NOTE
Found the following problems:
Anova.Rd:4:1: Warning: <link> inserting "type" attribute
Anova.Rd:12:1: Warning: <script> proprietary attribute "onload"
Anova.Rd:12:1: Warning: <script> inserting "type" attribute
Anova.Rd:17:1: Warning: <table> lacks "summary" attribute
Anova.Rd:135:1: Warning: <table> lacks "summary" attribute
Anova.Rd:285:1: Warning: <table> lacks "summary" attribute
Boot.Rd:4:1: Warning: <link> inserting "type" attribute
Boot.Rd:12:1: Warning: <script> proprietary attribute "onload"
Boot.Rd:12:1: Warning: <script> inserting "type" attribute
Boot.Rd:17:1: Warning: <table> lacks "summary" attribute
Boot.Rd:56:1: Warning: <table> lacks "summary" attribute

. . .

which.names.Rd:12:1: Warning: <script> proprietary attribute "onload"
which.names.Rd:12:1: Warning: <script> inserting "type" attribute
which.names.Rd:17:1: Warning: <table> lacks "summary" attribute
which.names.Rd:44:1: Warning: <table> lacks "summary" attribute
* checking for non-standard things in the check directory ... OK
* checking for detritus in the temp directory ... OK
* DONE

Status: 1 NOTE
See
   '/Users/johnfox/Documents/R-package-sources/car/car.Rcheck/00check.log'
for details.

------ snip ------

Any help would be appreciated.

Thanks,
  John
-- 
John Fox, Professor Emeritus
McMaster University
Hamilton, Ontario, Canada
web: https://socialsciences.mcmaster.ca/jfox/



More information about the R-SIG-Mac mailing list