Rstudio Server Restart R (CTRL+SHIFT+F10) now closes all open documents

Not sure if this is a feature:

But it used to be that CTRL+SHIFT+F10 would just restart my R session.

Now it still restarts the R-session but also refreshes the page (Only on rstudio server, this does not appear to be a chrome shortcut) and closes all open documents. (Usually I'm just refreshing to get a fresh session to test my code)

Is this expected behavior?

EDIT: It does not appear to happen in all rstudio server projects.... I opened a different session and it doesn't crash the rstudio-session... not sure what's up here.

EDIT2: There's a possible usethis interaction, as I used that to create the skeleton for this package

EDIT3: I think I confirmed its something in the Rproj file, I moved the existing one to a temporary file and created a new "existing project" from the GUI, now it restarts normally on CTRL+SHIFT+F10

here's the offending Rproj:

Version: 1.0

RestoreWorkspace: No
SaveWorkspace: No
AlwaysSaveHistory: Default

EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 4
Encoding: UTF-8

RnwWeave: Sweave
LaTeX: pdfLaTeX

AutoAppendNewline: Yes
StripTrailingWhitespace: Yes

BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source
PackageRoxygenize: rd,collate,namespace

Looks like a slightly older version of usethis (1.3.0) while newest version is (1.4.0)

But I don't see anything weird in the above file

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.