Skip to content
Snippets Groups Projects
Commit 585c3493 authored by Gael  MILLOT's avatar Gael MILLOT
Browse files

fun_test updated

parent 4d562e4b
No related branches found
No related tags found
No related merge requests found
Showing
with 7429 additions and 1 deletion
No preview for this file type
...@@ -1408,7 +1408,7 @@ cat("\nfun_test JOB IGNITION\n") ...@@ -1408,7 +1408,7 @@ cat("\nfun_test JOB IGNITION\n")
ini.date <- Sys.time() ini.date <- Sys.time()
ini.time <- as.numeric(ini.date) # time of process begin, converted into seconds ini.time <- as.numeric(ini.date) # time of process begin, converted into seconds
if(export == TRUE){ if(export == TRUE){
res.path <- paste0(res.path, "/fun_test_res_", ini.time) res.path <- paste0(res.path, "/fun_test_res_", trunc(ini.time))
if(dir.exists(res.path)){ if(dir.exists(res.path)){
tempo.cat <- paste0("\n\n================\n\nERROR IN ", function.name, ": FOLDER ALREADY EXISTS\n", res.path, "\nPLEASE RERUN ONCE\n\n============\n\n") tempo.cat <- paste0("\n\n================\n\nERROR IN ", function.name, ": FOLDER ALREADY EXISTS\n", res.path, "\nPLEASE RERUN ONCE\n\n============\n\n")
stop(tempo.cat, call. = FALSE) stop(tempo.cat, call. = FALSE)
......
No preview for this file type
File added
File added
File added
File added
File added
File added
File added
This diff is collapsed.
File added
File added
File added
This diff is collapsed.
File added
This diff is collapsed.
File added
This diff is collapsed.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment