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.
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
andloadMCMCObjects
objects are being loaded correctly. This test would involve creating small Rda objects that can be loaded in thetestthat
code. We can then load these and make sure all the information stored in the objects is correct.