Skip to content
Prev 5777 / 12125 Next

[R-pkg-devel] "non-ASCII input" and "--data-compress" ignored

On Fri, 17 Jul 2020 18:08:24 -0500
Spencer Graves <spencer.graves at effectivedefense.org> wrote:

            
Glad it works for you, but you might want to check that the link still
leads to the correct URL in the PDF output. In particular, the
following .Rd file:

\encoding{UTF-8}
\title{title}\name{name}\description{
\href{https://www.americansecurityproject.org/ASP Reports/Ref 0072 -
North Korea?s Nuclear Program .pdf}{Derek Bolton (2012) North Korea's
Nuclear Program}

\href{https://www.americansecurityproject.org/ASP\%20Reports/Ref\%200072\%20-\%20North\%20Korea\%E2\%80\%99s\%20Nuclear\%20Program\%20.pdf}{Derek
Bolton (2012) North Korea's Nuclear Program}
}

...gives two working links when processed with R CMD Rdconv -t html,
but when I process it using R CMD Rd2pdf, the first link gets a
\T1\textquoteright instead of ? in its URL, which makes it invalid. This
could be a LaTeX problem on my part, of course.
You can also try using tools::resaveRdaFiles with various parameters if
you are interested.
This sounds like trying to load a version-3 *.rda file (implemented in
3.5.0, default since 3.6.0) using an older version of R. Or a possible
indicator of a hardware problem.