Skip to content
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

Rpres can't use fontawesome anymore #60

Open
sebastien-foulle opened this issue May 18, 2021 · 2 comments
Open

Rpres can't use fontawesome anymore #60

sebastien-foulle opened this issue May 18, 2021 · 2 comments

Comments

@sebastien-foulle
Copy link

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

@cderv
Copy link
Contributor

cderv commented May 19, 2021

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.

@rich-iannone
Copy link
Member

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.

@rich-iannone rich-iannone modified the milestones: v0.3.0, v0.4.0 Jul 1, 2022
@rich-iannone rich-iannone modified the milestones: v0.4.0, v0.5.0 Oct 18, 2022
@rich-iannone rich-iannone modified the milestones: v0.5.0, v0.6.0 Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants