yihui / knitr

A general-purpose tool for dynamic report generation in R
https://yihui.org/knitr/
2.36k stars 873 forks source link

Error(s) in re-building vignettes: #2327

Closed metalwings-design closed 4 months ago

metalwings-design commented 4 months ago

Hello,

--- re-building 'Introduction.Rmd' using rmarkdown Quitting from lines 33-34 (Introduction.Rmd) Error: processing vignette 'Introduction.Rmd' failed with diagnostics: The function xfun::isFALSE() will be deprecated in the future. Please consider using base::isFALSE(x) or identical(x, FALSE) instead. --- failed re-building 'Introduction.Rmd'

SUMMARY: processing the following file failed: 'Introduction.Rmd'

above error occured in part of code:

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

What shall i do in thispart of code?


By filing an issue to this repo, I promise that

I understand that my issue may be closed if I don't fulfill my promises.

yihui commented 4 months ago

Some package(s) must be too old (you didn't provide session info as requested by the issue guide below your post). Anyway, when in doubt, try to update software packages.

update.packages(ask = FALSE, checkBuilt = TRUE)
metalwings-design commented 4 months ago

problem solved with knitr package update,thanks for response.