[R-pkg-devel] Found the following HTML validation problems: in R CMD check --as-cran
Spencer Graves
@pencer@gr@ve@ @end|ng |rom e||ect|vede|en@e@org
Tue Nov 12 08:53:08 CET 2024
Hello, All:
In running "R CMD check --as-cran Ecfun_0.3-5.tar.gz" on my local
macOS 15.0.1 system, 00check.log contains "Found the following HTML
validation problems:" followed by 501 lines like the following:
Arrows.html:15:44 (Arrows.Rd:3): Error: <main> is not recognized!
Arrows.html:15:44 (Arrows.Rd:3): Warning: discarding unexpected <main>
Arrows.html:97:1 (Arrows.Rd:59): Warning: discarding unexpected </main>
Arrows.html:4:1 (Arrows.Rd:3): Warning: <link> inserting "type" attribute
Arrows.html:12:1 (Arrows.Rd:3): Warning: <script> proprietary attribute
"onload"
Arrows.html:12:1 (Arrows.Rd:3): Warning: <script> inserting "type" attribute
Arrows.html:17:1 (Arrows.Rd:3): Warning: <table> lacks "summary" attribute
Arrows.html:42:1 (Arrows.Rd:18): Warning: <table> lacks "summary" attribute
Arrows.html:43:339 (Arrows.Rd:18): Warning: <code> attribute "id" has
invalid value "..."
Lines like this seem to appear roughly for ~each(?) of the 59 *.Rd
file in my man directory. However, 501 is not evenly divisible by 59,
which means that the number of lines like this is not the same for every
*.Rd file.
Suggestions?
This looks like a problem with "R CMD check --as-cran" and NOT with
Ecfun. However, I felt a need to ask.
Thanks,
Spencer Graves
p.s. This package is on GitHub at:
https://github.com/sbgraves237/Ecfun
More information about the R-package-devel
mailing list