christianparobek / skeleSim

Null models, performance testing, and power estimation with population simulations
3 stars 6 forks source link

test.params@timing slot missing #12

Closed christianparobek closed 9 years ago

christianparobek commented 9 years ago

In both testRunMetaSim.R and test.RunSim.R the code declared a new skeleSim.params S4 object then attempts to fill the @timing slot. This throws an error saying such a slot doesn't exist - going back to the skeleSim.classes.R, I can see where the slots for skeleSim.params are defined, and there's not a timing slot there. Should I add it - or am I look at this wrong?

EricArcher commented 9 years ago

Good catch! I've added the @timing slot to the skeleSim class definition and use it in the first (timing) call to runSim.