Vignette not rendering correctly on R-universe (web and package build) #554
Unanswered
louisaslett
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I haven't encountered this issue with other packages I've developed, but I'm experiencing a problem with my latest hobby project package, {maths.genealogy}. Specifically, the vignette built on R-universe, both for the web front end and for the version installed with the package, differs from what I generate locally and what {pkgdown} produces through GitHub Actions (ie it is not that the vignette only builds as expected locally).
I suspect the issue may be related to the use of an HtmlWidget within the vignette since this is where it becomes unexpectedly blank, but I have been unable to pinpoint the root cause. The GitHub Action from R-universe runs without any errors, so there is nothing to indicate that a problem has arisen.
The vignette, as I would expect it to appear, can be found at this link. I'm linking directly to the section that is
problematic; the code from
plot_grviz(g)
displays correctly in this instance:https://genealogy.louisaslett.com/articles/getting-started.html#plotting-the-genealogical-tree
In contrast, the R-universe build using the same source code results blank white for the entire document following
plot_grviz(g)
:https://louisaslett.r-universe.dev/articles/maths.genealogy/getting-started.html
If you install the package from R-universe binaries, then the vignette is also blank after
plot_grviz(g)
in the RStudio help pane. However, it works fine in RStudio if installing from source myself withbuild_vignettes = TRUE
.If anyone has any insights I'd greatly appreciate a pointer!
Beta Was this translation helpful? Give feedback.
All reactions