knit broken, no rmarkdown, need newer pandoc to match R 4.0.0 ?

I am new to rstudio and rmarkdown. I am running R 4.0.0 from AUR on manjaro stable. In the last few weeks I installed tidyverse and a few other packages; rmarkdown seems to come with rstudio.

I updated all packages. Then when I try to knit I get these:

"Error: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available)."

and then

install.packages("pandoc")
Installing package into ‘/home/joe/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘pandoc’ is not available (for R version 4.0.0)

It seems I am caught in a loop.
Is a new version of pandoc forthcoming?
In the meantime, how can I get around this? It is not clear to me how to revert R to an earlier version, and if so, which one would be compatible with the current other packages...

Any ideas on how to repair the installation so I can use rstudio projects and rmarkdown ?

Thanks.

pandoc is not an R package but a tool that you can install separately.
As far as I know it is included in RStudio.
So if you installed a recent version of RStudio you will also have a recent version of pandoc.
So my conclusion: you have not a recent version of RStudio. (?)
Is it possible for you to install the latest (standard) version?

Seems fixed after I updated R to 4.0.1-1 with other system installs and updates, and it will knit now.

Thank you for the advice.

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