Skip to content

read_opop fails to find file #31

Description

@AaronGullickson

I recently updated all of my R packages and now I am getting breaking behavior with a variety of rsocsim functions that used to work fine. The main culprit at the moment is the read_opop and read_omar functions which cannot find the files. I get this error:

cannot open file '/home/aarong/projects/research/multiracial_sim/data/data_constructed/sims/uneven_hypo_baseline/sim_results_run.sup_26_/result.opop': No such file or directory

This seems to be a result of the fact that in the newer package the folder name is not sim_results_run.sup_26_ but rather just sim_results_26_. However, the read_opop and read_omar functions are still expecting the name of the supfile in the file name:

fn <- paste0(folder, "/sim_results_", supfile, "_", seed, 
            "_", suffix, "/result.opop")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions