Closed cderv closed 3 years ago
A quick git bisect shows that it happens in 98ba0e206b5208225ff1cfe6c386da375f955bbb (#2095)
Workaround for those stuck by this in rmarkdown 2.8 : pass the CSS arg asis to Pandoc
output:
html_document:
pandoc_args: ["--css", "http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css"]
@vnijs @yihui this could solve the issue in https://github.com/yihui/knitr/issues/1864#issuecomment-855301382 without waiting for a new CRAN release.
Sorry for the trouble.
No worries! Thanks for the investigation and fix! Sounds like we'd better make a CRAN release relatively soon.
Yes sounds like it as this is a regression. This is the type of issue that makes it hard to plan releases 😅
However, I am surprised there was no issue open about this earlier. Using url in css argument does not seem to be used that often - I would have thought otherwise. So maybe this is not so urgent.
Without our CRAN release, it would hold @vnijs's release of radiant. It's been a month since the last release. If we were to use my previous release schedule, it's time to consider a release now, even if nothing is urgent.
Without our CRAN release, it would hold @vnijs's release of radiant
That was why I mentioned the workaround above https://github.com/rstudio/rmarkdown/issues/2163#issuecomment-855808083 that would work on radiant's vignette I think. Aim is to not block radiant.
But for sure we can do another release - no problem with that. as you said it is time and we have important fix in the current 2.9 version that would be good to get on CRAN 👍
I let you handle that and ping me if I can help with anything. Thanks !
@vnijs Would you like to use the workaround or prefer us updating rmarkdown on CRAN?
@cderv I just looked at NEWS.md
, and personally I'm particularly excited about the fact that HTML widgets could use href
components instead of being limited to file
. IMO, that fix could justify a release. Usually I tend to make releases on a monthly basis if there are substantial bug fixes, so that no more users will be bitten by the same bugs that have already been fixed. This CSS bug is relatively new, and probably not many people would run into it, I'm still a little bit concerned if there really is only one package affected on CRAN. It would be too late and scary if I get a CRAN email informing me that the previous version broken other packages.
Thanks @cderv. Just got confirmation that radiant is on its way to CRAN with the workaround!
I just looked at NEWS.md, and personally I'm particularly excited about the fact that HTML widgets could use href components instead of being limited to file. IMO, that fix could justify a release.
Exactly, that it is what I had in mind by "we have important fix in the current 2.9 version that would be good to get on CRAN" 😄 This one is important.
Just got confirmation that radiant is on its way to CRAN with the workaround!
@vnijs glad it help you in the short term. We'll get back to you when the fix is on CRAN so that you can change back to a more traditional YAML syntax.
Just to chime in, we noticed this at our company where we take advantage of using a url for the css arg in the yaml header, to get our company themes/colors in all of our Rmarkdown reporting.
A release would be greatly appreciated 🙇🏻 👍🏻
Hi @pwildenhain !
You're right in time! We already pushed to CRAN (today!) the release with this fix : https://github.com/rstudio/rmarkdown/releases/tag/v2.9
On CRAN already: https://cran.r-project.org/web/packages/rmarkdown/index.html
Should be available as binaries in a few days.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.
This is a regression we have
Reproducible example :
It must come from the new sass support in css arg I believe.
This was first reported in https://github.com/yihui/knitr/issues/1864#issuecomment-855301382