ohexel
ohexel
The error is in `create_output_fn_dir()`. Socsim does not check whether the input rate file exists. Same for the output file (in this case, the problem is probably whether it can...
To check, check whether opening the rate file or the destination file succeeded (below). It doesn't. The error message propagates through to R (which isn't true for `fprintf(stderr, "my error")`...
`Rprintf()`: seems less cumbersome to me, but the great machine spirit informed me that `Rcpp::Rcout` is preferable in Rcpp contexts. Cause: yes. It cannot find the rate file or destination...