I am trying to open rmarkdown but when it asks me to download it this happens:

<U+2714> Package 'rmarkdown' successfully installed.
Warning messages:
1: In utils::install.packages("bslib", repos = "https:/ /cran. rstudio. com/") :
installation of package 'bslib' had non-zero exit status
2: In utils::install.packages("rmarkdown", repos = "https:/ /cran. rstudio. com/", :
installation of package 'htmltools' had non-zero exit status
3: In utils::install.packages("rmarkdown", repos = "https:/ /cran. rstudio. com/", :
installation of package 'bslib' had non-zero exit status
4: In utils::install.packages("rmarkdown", repos = "https:/ /cran. rstudio. com/", :
installation of package 'rmarkdown' had non-zero exit status

Welcome aboard.

This means rmarkdown is not installed.
It looks like you have a cascading set of failures where the failure to install bslib is causing all sorts of problems.

Try restarting R and RStudio and then:

install.packages("bslib")

If that works then retry rmarkdown.

If it does not work or it installs but you get more of these messages when you try to install rmarkdown, would you paste them here again and also give us the output from

https://forum.posit.co

To give us good formatting please paste any code or output between
```

```

It make it much easier to read and troubleshoot.

Thanks

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.