install.packages("rmarkdown", dep = T)
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/USER/AppData/Local/R/win-library/4.4’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/rmarkdown_2.28.zip'
Content type 'application/zip' length 2696373 bytes (2.6 MB)
downloaded 2.6 MB
package ‘rmarkdown’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\USER\AppData\Local\Temp\RtmpMT4OEb\downloaded_packages
library(rmarkdown)
This is how pops out even if i try to open new template and try to knit, PLEASE HELP
processing file: d.Rmd
Error in render()
:
! unused arguments (visible = TRUE, envir = parent.frame())
Backtrace:
- rmarkdown::render("C:/Users/USER/Downloads/d.Rmd", encoding = "UTF-8")
- knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
- knitr:::process_file(text, output)
- knitr:::process_group(group)
- knitr:::call_block(x)
... - evaluate:::evaluate_call(...)
- knitr (local) value_fun(ev$value, ev$visible)
- knitr (local) fun(x, options = options)
- knitr:::knit_print.default(x, ...)
- evaluate (local) normal_print(x)
Quitting from lines 19-20 [cars] (d.Rmd)
Execution halted