In Windows using vscode, opening a file outside the workspace might cause the following error:
R Language Server (2880) started
Error: evaluation nested too deeply: infinite recursion / options(expressions=)?
Execution halted
R Language Server (2880) exited with exit code 1