Rpres can't use fontawesome anymore
The following code doesn't work anymore in .Rpres (I put '' everywhere in order to turn off markdown formatting)
test1 ok
'===================================='
'{r}' 'iris[1:2,1:2]' ''
test2 ko
'===================================='
'<'p style="text-align:center">r fontawesome::fa("r-project", fill = "blue", height = "60px")</p'>'
'{r}' iris[1:2,1:2] ''
Error message :
Erreur dans if (to %in% c("html", "html4", "html5", "slidy", "revealjs", :
l'argument est de longueur nulle
Appels : knit ... inline_exec -> hook_eval -> knit_print -> knit_print.fontawesome
Thanks for the report.
Indeed knit_print method does not support Rpres output for now. And the error message is not helpful here - this needs to be improve.
@rich-iannone reach out to me if you need help with if you want to tackle it.
Thanks for reporting @sebastien-foulle and thanks @cderv for the offer of help . This package is on my radar again and so I'll be getting to this soon.