Skip to content

sim_trial arguments error #5

Description

@mcnis003

I should be able to pass no check information according to the documentation but I get and error asking for check rep. When I pass NULL for check rep it asks for checks.

pop_pheno <- pbsim::sim_trial(pop = pop, h2 = 0.4, n.env = 10, n.rep = 1)
Error in FUN(X[[i]], ...) :
argument "check.rep" is missing, with no default
pop_pheno <- pbsim::sim_trial(pop = pop, h2 = 0.4, n.env = 10, n.rep = 1, check.rep = NULL)
Error in pbsim::sim_trial(pop = pop, h2 = 0.4, n.env = 10, n.rep = 1, :
If 'check.rep' is passed, so too must 'check.pop'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions