Unable to knit to html or pdf using rmarkdown knit button

I have uninstalled and reinstalled R+Rstudio but still getting the below error when knitting an Rmd file. I have tried most suggestions provided such as including self_contained: no and even installed tinytex : tinytex::install_tinytex()

Below is the Rmarkdown error using the default R markdown example that plots from the car data

==> rmarkdown::render('trial.Rmd', encoding = 'UTF-8');
Error: evaluation nested too deeply: infinite recursion / options(expressions=)?
Execution halted

sessionInfo()
R version 3.6.1 (2019-07-05)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 17134)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages:
[1] stats graphics grDevices utils datasets
[6] methods base

other attached packages:
[1] tinytex_0.15

loaded via a namespace (and not attached):
[1] compiler_3.6.1 htmltools_0.3.6 tools_3.6.1
[4] yaml_2.2.0 Rcpp_1.0.2 rmarkdown_1.14
[7] knitr_1.24 xfun_0.8 digest_0.6.20
[10] evaluate_0.14

tinytex::tinytex_root()
[1] "C:\Users\Innocenter\AppData\Roaming\TinyTeX"

What am not understanding is if I use
rmarkdown::render("trial.Rmd") then I get the desired output - however this is not the best solution since am interested in creating posts using blogdown and this solution does not work when I use blogdown ::serve_site()

Kindly assist

For reference , this is also on GitHub

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.