I encountered this warning:
Warning: The working directory was changed to C:/Users/data inside a notebook chunk. The working directory will be reset when the chunk is finished running. Use the knitr root.dir option in the setup chunk to change the working directory for notebook chunks.
I used the knitr::opts_knit$set option, but the warning still appears. I was wondering what the best way is to resolve this warning.
I encountered this warning:
Warning: The working directory was changed to C:/Users/data inside a notebook chunk. The working directory will be reset when the chunk is finished running. Use the knitr root.dir option in the setup chunk to change the working directory for notebook chunks.
I used the knitr::opts_knit$set option, but the warning still appears. I was wondering what the best way is to resolve this warning.