I'm working on an Rcpp-enabled R package as a project in RStudio (version 1.0.136, Ubuntu 16.04 64 bit), and have recently started getting an error after building the package with Tools > Build and Reload. The error dialogue box reads:
Save File
No such file or directory
The error doesn't appear straight after building and reloading. Rather, it occurs some time later while making edits to files, seemingly at random, and not necessarily while trying to save. However, after closing the dialogue box files cannot be saved without generating another error, this time with the message:
Error Saving File
No such file or directory
Following that, the only way forward is to restart RStudio without saving any files, thus losing all changes.
It doesn't seem to be a problem with either roxygen2 or devtools since I've tried building with a