This helper function issues a warning if the supplied file or directory path appears to be located inside a Dropbox-synced folder. Running BEAST2 from Dropbox-backed locations may cause file-locking issues while files are being written.
Usage
warn_if_dropbox(path = getwd())Examples
warn_if_dropbox("~/Dropbox/myproject")
#> Warning: It looks like you are running babette with files in a Dropbox folder. This may cause file-locking issues (see issue #65: https://github.com/ropensci/babette/issues/65). Consider moving your project to a non-Dropbox folder.
warn_if_dropbox(tempdir())
