Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions R/migrate.project.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ migrate.project <- function()
csv2_files_present <- any(file.exists(Sys.glob("data/*.csv2")))
no_cache_dir <- !dir.exists("cache")
other_conflicts <- any(doc_not_renamed, csv2_files_present, no_cache_dir)
print(no_cache_dir)

# Exit if everything up to date
if (!any(version_conflict, config_conflicts, other_conflicts)) {
Expand Down Expand Up @@ -119,7 +118,7 @@ migrate.project <- function()
old.config.values <- translate.dcf(.project.config)
if (!is.null(old.config.values$data_tables) &&
!is.na(as.logical(old.config.values$data_tables)) &&
as.logical(old.config.values$data_tables)
as.logical(old.config.values$data_tables)
) {
loaded.config$tables_type <- 'data_table'
} else {
Expand Down Expand Up @@ -170,7 +169,7 @@ migrate.project <- function()
message(paste("",
"Caching has become an integral part of ProjectTemplate. Even if no files are",
"explicitly cached by the user, ProjectTemplate may still create some caches",
"for perfroamcen improvement. The 'cache' directoy is now requireed. An empty",
"for performance improvement. The 'cache' directoy is now required. An empty",
"cache directory will be created.",
sep = "\n"
))
Expand Down
Loading