acope3 / RibModelFramework

1 stars 14 forks source link

Error in `loadParameterObject` for CRAN version #385

Open acope3 opened 2 years ago

acope3 commented 2 years ago

One of my students was working with the CRAN version and got an error when trying to load a Parameter object from a previous run.

Error in tempEnv$paramBase$synthesisOffsetTrace[[j]] : attempt to select less than one element in integerOneIndex

I don't know how this slipped by and isn't an issue with my current version of AnaCoDa. We should probably resubmit an updated version soon. Before we do, I think we need to add testing to make sure the loadParameterObject and loadMCMCObjects objects are being loaded correctly. This test would involve creating small Rda objects that can be loaded in the testthat code. We can then load these and make sure all the information stored in the objects is correct.

mikegilchrist commented 1 year ago

As a work around, you can load parameter objects created with the current CRAN code using code from the develop branch here.