yonicd
yonicd
so i saw that i on purpose wrote that the height and width are expected to be character. there are a few options to force this class - use checkmate...
you are welcome to PR an update. I do not know if i will get to a patch today
Can you please attach an example of a svg you are using so I can test on it? Thanks
Try this patch. https://github.com/metrumresearchgroup/slickR/commit/43a6a4e75e30e7b9b6a61993ae789410e1b89475
I didn't get an email. can you `cat(readLines(PATH_TO_FILE))` and paste in the output thanks
you can use this commit (https://github.com/metrumresearchgroup/slickR/commit/e8d3e0e7d2278eebe56ff528e5b6204d6d957da5) to test your file. it solves the problem a different way that is more robust ```r remotes::install_github('metrumresearchgroup/slickR@e8d3e0e') ``` ht @dmi3kno
It looks like the mail should be sent not using the body attribute, but as a html attachment and that is used for the body currently. https://stackoverflow.com/questions/15828226/sending-messages-with-html-contents-using-the-mapi-control-in-vb6
looks like this is a more basic problem. The email is sent out internally by [curl::send_mail](https://github.com/jeroen/curl/blob/79a9305081742dfbd2f4e91848a1898e45694eba/R/email.R#L4) which converts the message into a format called `RF 2822` Searching for that format...
option b would be to port the table to an image and embed the image in the mail a la {reprex}
``` library(dplyr) library(gt) df % mutate( Total = `Non Risky` + Risky, `At Risk Percentage` = round(Risky / Total, 2) ) # create table object for email attachment img_file_html %...