Closed wolski closed 4 years ago
I don't think you send the correct information. How can you have 176 loaded packages with only flextable loaded? The fast resolution you are hoping is then compromised ;)
I can not reproduce, I ran a more complex example:
rmarkdown::render(system.file(package = "flextable", "examples/rmd/demo.Rmd"), output_format = "pdf_document", output_dir = ".")
> sessionInfo()
R version 3.6.1 (2019-07-05)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Catalina 10.15.3
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib
locale:
[1] fr_FR.UTF-8/fr_FR.UTF-8/fr_FR.UTF-8/C/fr_FR.UTF-8/fr_FR.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] data.table_1.12.8 magrittr_1.5 flextable_0.5.9 knitr_1.28
loaded via a namespace (and not attached):
[1] Rcpp_1.0.3 xml2_1.2.2 uuid_0.1-4 R6_2.4.1 rlang_0.4.5 stringr_1.4.0
[7] tools_3.6.1 webshot_0.5.2 packrat_0.5.0 xfun_0.12 tinytex_0.20 htmltools_0.4.0
[13] systemfonts_0.1.1 yaml_2.2.1 digest_0.6.25 processx_3.4.2 zip_2.0.4 officer_0.3.7
[19] callr_3.4.2 base64enc_0.1-3 ps_1.3.2 evaluate_0.14 rmarkdown_2.1 stringi_1.4.6
[25] compiler_3.6.1 gdtools_0.2.1 jsonlite_1.6.1
Just upgraded to 3.6.3 and reinstalled my packages and it works. Thanks for the greate package. Closing issue.
Oh, OK
BTW, in case of, webshot is used by default to create the png, if possible, use webshot2. That's far better.
See https://davidgohel.github.io/flextable/articles/offcran/images.html
David
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
I hope this is my errror and the issue can be resolved fast.
I have a markdown file test.Rmd with just this content:
and I would like to render it to pdf. This is the error I get:
I just updated all packages from CRAN
SeesionInfo: