You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Possible changes in RCeattle output objects break convert_output. Resulting error message is: Error in extract_list[[names(extract[[1]][i])]] <- df : attempt to select less than one element in OneIndex.
Rceattle::GOApollock$styr = 1977 # The SAFE model starts at 1970, so change styr to 1970 to run the full time series model (data is in there). I start them all at 1977 because thats the years with overlap.
pollock_model <- Rceattle::fit_mod(
data_list = Rceattle::GOApollock,
inits = NULL, # Initial parameters = 0
file = NULL, # Don't save
estimateMode = 0, # 0 = Estimate, 1 = Dont run estimation
random_rec = FALSE, # No random recruitment
msmMode = 0, # 0 = Single species mode, 1 = MSVPA multi-species mode
verbose = 1, # Silence optimization output
phase = TRUE) # Use default phasing
stockplotr::convert_output(pollock_model) # this throws an error
Activity
JZahner1 commentedon Oct 8, 2026
Looks like this might be solved by #401
fix: make the Rceattle branch of convert_output() work
fix: make the Rceattle branch of convert_output() work
fix(convert_output): repair the Rceattle branch