-
Notifications
You must be signed in to change notification settings - Fork 138
Description
System: Fedora 35 (but also failed with Fedora 34)
What happens: Knitting a file in the current R terminal (radian) works fine. When I try to use the extension to preview the resulting file (or if I use the background process i.e., smart knitting) to knit my rmarkdown file, I instead get the following error
Error in cat(lim, eval(parse(text = knit_command)), lim, sep = "") :
object 'lim' not found
Which I deduce from vscode-R/R/rmarkdown/knit.R has to do with the line
lim <- Sys.getenv("VSCR_LIM")
The same also occurs with a "fresh" install of VSCode (deleting all config / extensions, loading the vscode-R extension only). Maybe some explanation of the logic in the knit.R file can assist in debugging.
EDIT: The extension was previously working fine for me. Possibly this recent PR #784 broke functionality for me. Confirmed that reverting to extension version 2.2.0 fixed this functionality regression for me.