I've noticed certain packages failing to install from RSPM, while it succeeds for CRAN.
DistributionUtils
GeneralizedHyperbolic
SkewHyperbolic
It seems that, when the original DESCRIPTION file's Encoding field is latin1 (or maybe something not UTF-8), installation fails.
Maybe RSPM (rightfully) changes it to UTF-8 in constructing its own repository, but it's not actually converting the original source files from the stated encoding to the new one.
*Adding INSTALL_opts="--no-html" to the install.packages(...) did the job.
Amazingly, RStudio still shows the help HTMLs, though I have no idea how this is pulled off.
+ FYI, As it turns out there are 139 packages that show this behavior as of 25 May 2023.
Test code:
Thanks for calling our attention to this issue. This was a bug with our DESCRIPTION logic that we've fixed for all new packages served by Package Manager.
We went ahead and patched the problematic packages you referenced, and those should be serving correctly as soon as the cache expires,
Thanks for the quick action!
Will the PPM repository host binaries of those packages as well?
(provided they can indeed be compiled out-of-the-box)
+I'm not asking for their immediate provision, but it'd be good to recheck and see what can be done I think.