Skip to content

Commit

Permalink
print file info
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Blätte authored and Andreas Blätte committed Feb 18, 2024
1 parent 1d6e3a2 commit 4a8cfd5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/cwb.R
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ cwb_huffcode <- function(corpus, p_attribute, registry = Sys.getenv("CORPUS_REGI
} else {
message("could not delete redundant file: ", fname)
print(list.files(data_dir))
print(file.info(fname))
}
}

Expand Down Expand Up @@ -181,6 +182,7 @@ cwb_compress_rdx <- function(corpus, p_attribute, registry = Sys.getenv("CORPUS_
} else {
message("could not delete redundant file: ", rev_file)
print(list.files(data_dir))
print(file.info(rev_file))
}

rdx_file <- path(data_dir, sprintf("%s.corpus.rdx", p_attribute))
Expand All @@ -191,6 +193,7 @@ cwb_compress_rdx <- function(corpus, p_attribute, registry = Sys.getenv("CORPUS_
} else {
message("could not delete redundant file: ", rdx_file)
print(list.files(data_dir))
print(file.info(rdx_file))
}
}

Expand Down

0 comments on commit 4a8cfd5

Please sign in to comment.