[R-pkg-devel] Warning: <table> attribute "width" not allowed for HTML5

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Tue Jun 14 20:43:32 CEST 2022


On Tue, 14 Jun 2022 12:56:27 -0500
Spencer Graves <spencer.graves using effectivedefense.org> wrote:

> Warning: <a> escaping malformed URI reference

This part is actually important. If you look at the generated HTML for
nuclearWeaponStates.Rd, you can see that Tidy complains about the
following link:

https://www.americansecurityproject.org/ASP%20Reports/Ref%200072%20-%20North%20Korea’s%20Nuclear%20Program%20.pdf

The Unicode apostrophe, "’", should be properly URL-encoded, just like
the spaces. I think that the appropriate encoding for it would be:

https://www.americansecurityproject.org/ASP%20Reports/Ref%200072%20-%20North%20Korea%E2%80%99s%20Nuclear%20Program%20.pdf

As pointed out by others, the <table> stuff is generated by R and can't
be helped for now.

-- 
Best regards,
Ivan



More information about the R-package-devel mailing list