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'
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.