Hello,

I've been trying to address this note (now failing CRAN submission) from
building the HTML version of the manual.

Check: HTML version of manual, Result: NOTE
  Found the following HTML validation problems:
  temis_download.html:61:1 (temis_download.Rd:25): Warning: inserting
implicit <p>
  temis_download.html:63:1 (temis_download.Rd:27): Warning: inserting
implicit <p>
  temis_download.html:61:1 (temis_download.Rd:25): Warning: trimming empty
<p>
  temis_download.html:63:1 (temis_download.Rd:27): Warning: trimming empty
<p>

The cause is two figures I have in the manual page of the temins_download
functions:
#' @param ...
#' \if{html}{\out{<p>Europe region coverage:</p>}\out{<div
style="text-align:
left">}\figure{March2025_vitD_cloudy_europe.png}{options:
style="width:500px;max-width:50\%;"}\out{</div>}}
#' \if{latex}{Europe region
coverage:\out{\begin{center}}\figure{March2025_vitD_cloudy_europe.png}\out{\end{center}}}
#' \if{html}{\out{<p>World region coverage:</p>}\out{<div
style="text-align: left">}\figure{March2025_vitD_cloudy_world.png}{options:
style="width:500px;max-width:50\%;"}\out{</div>}}
#' \if{latex}{World region
coverage:\out{\begin{center}}\figure{March2025_vitD_cloudy_world.png}\out{\end{center}}}
#' @param ...

I've tried a few variations of the \if{html} lines and updated to
tidy-html5, some similar notes were resolved but inserting/trimming
implicit <p> remain. If anyone has any suggestions for how to format the
offending lines to resolve this?

Many thanks,
Rasha

        [[alternative HTML version deleted]]

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to