Screenshot inserted into the Rmarkdown document of rstudio session showing the current R version of 4.1.2
this is my R
Screenshot inserted into the Rmarkdown document of QGIS installation showing the current QGIS version of 3.16
this is my QGIS