Skip to content

fix: RCeattle convert_output #400

Open

Description

@JZahner1

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

  1. JZahner1 commented on Oct 8, 2026

    @JZahner1
    CollaboratorAuthor

    Looks like this might be solved by #401

  2. added 3 commits that reference this issue on Oct 8, 2026
    bb4476f
    03e1619
    0ab4bef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions