When using the process_method = "future" argument to socsim, the following warning message appears:
Warning messages:
1: In file(logfilename, "r") :
cannot open file 'sim_results_socsim.sup_99_/logfile.log': No such file or directory
2: In value[[3L]](cond) : Error while reading file
3: In value[[3L]](cond) : sim_results_socsim.sup_99_/logfile.log
4: In value[[3L]](cond) : Error during execution of simulation!
5: In file(logfilename, "r") : cannot open the connection
This appears to be due to the same problem as #31 where the actual sim results directory does not include the socsim.sup bit. This issue does not appear when using the default argument for process_method.
Here is a repex:
library(rsocsim)
library(here)
folder <- create_simulation_folder(here(), "test")
supfile <- create_sup_file(folder)
seed <- 99
socsim(folder, "socsim.sup", seed, process_method = "future")
When using the
process_method = "future"argument tosocsim, the following warning message appears:This appears to be due to the same problem as #31 where the actual sim results directory does not include the
socsim.supbit. This issue does not appear when using the default argument forprocess_method.Here is a repex: