-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build_site() fails to build knitr::markdown vignette with css #2383
Comments
Sorry if I missed something obvious but shouldn't this be I no longer see this error with |
changing to
I don't have good ideas how to debug it further on my side. Did you used a docker image? I can try to use the same. |
No, nothing in particular. Just built the package locally and used |
OK, this time I forgot to install markdown package (oh, dependencies...), using It seems I simplified my problem too much, and because of wrong function used before, not I updated repo to not be over simplified, please try again to reproduce. I does look that error comes from renderer not being able to find added css style, defined in yaml header.
Gut feeling is that it should work because |
I can reproduce, this looks like a duplicate of #1229 The solution there is to provide a custom CSS and use ...
vignette: >
%\VignetteIndexEntry{Example vignette}
%\VignetteEngine{knitr::knitr}
\usepackage[utf8]{inputenc}
pkgdown:
as_is: true
--- However, this works with |
@etiennebacher Thanks for finding that out. Indeed. Ultimately if it won't going to be addressed, there should be at least an option to specify that behavior in Anyway, doesn't work for |
For more context on the |
@jangorecki unfortunately because pkgdown has to use a different page template than vignettes (in order to add its own navigation structure), I don't think there's any particularly clean way to do what you want. |
This basic minimal example package
https://github.com/jangorecki/mdpkg
that passed cleanly build and check in R
is failing during pkgdown build_site()
it is using knitr::knitr vignette engine.
fyi @yihui
.Last.error
The text was updated successfully, but these errors were encountered: