From 7f7593011cd9dc2ebea0b5165f567f2113db56c2 Mon Sep 17 00:00:00 2001 From: Rich FitzJohn Date: Mon, 3 Jun 2024 11:14:10 +0100 Subject: [PATCH] Allow more files --- R/root.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/root.R b/R/root.R index 87111d10..6c55902f 100644 --- a/R/root.R +++ b/R/root.R @@ -79,8 +79,8 @@ orderly_init <- function(root = ".", if (!file.exists(file.path(root, ".outpack")) && !force) { allowed <- c(".outpack", ".git", ".gitignore", - ".Rhistory", - "*.Rproj", ".Rproj.user") + ".vscode", + ".Rhistory", ".RData", "*.Rproj", ".Rproj.user") contents <- dir(root, all.files = TRUE, no.. = TRUE) m <- vapply(glob2rx(allowed), grepl, logical(length(contents)), contents) if (!is.matrix(m)) { # exactly one file to compare