[R-pkg-devel] Warning messages with --as-cran check
Sebastian Meyer
@eb@meyer @end|ng |rom |@u@de
Sun Jun 19 19:16:18 CEST 2022
Am 19.06.22 um 11:53 schrieb Berend Hasselman:
>
> 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?
No.
> What has to be done to get rid of these warning messages?
- 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
>
> Best wishes,
>
> Berend Hasselman
>
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
More information about the R-package-devel
mailing list