Skip to content

[R-pkg-devel] Warning messages with --as-cran check

2 messages · Berend Hasselman, Sebastian Meyer

#
I am the author of package nleqslv.

Running R CMD check --as-cran on the package gives warning messages that I have never seen before.
The messages are similar to the following

nleqslv-package.Rd:4:1: Warning: <link> inserting "type" attribute
nleqslv-package.Rd:12:1: Warning: <script> proprietary attribute "onload"
nleqslv-package.Rd:12:1: Warning: <script> inserting "type" attribute
nleqslv-package.Rd:17:1: Warning: <table> lacks "summary" attribute

Is this serious?
What has to be done to get rid of these warning messages?

Best wishes,

Berend Hasselman
#
Am 19.06.22 um 11:53 schrieb Berend Hasselman:
No.
- Check with R > 4.2.0, which will automatically skip the HTML check if 
your system only provides the old Apple Inc. build 2649 of HTML Tidy, or

- Install a more recent version of HTML Tidy from 
<http://binaries.html-tidy.org/> and make sure it is on the PATH (before 
your current system version): try `tidy -v` to check the version. 
However, if you install the most recent version 5.8.0, you also need to 
check with R > 4.2.0 to avoid spurious warnings.

Alternatively, you could also use the R-devel check services at 
<https://win-builder.r-project.org/> or <https://builder.r-hub.io/>, 
which I think are equipped with a recent enough HTML Tidy.

Best regards,

	Sebastian Meyer