Skip to content

Commit

Permalink
Allow more files
Browse files Browse the repository at this point in the history
  • Loading branch information
richfitz committed Jun 3, 2024
1 parent b60844b commit 7f75930
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/root.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7f75930

Please sign in to comment.