pacific-hake / hake-assessment

:zap: :fish: Build the assessment document using latex and knitr
MIT License
13 stars 6 forks source link

Replace readLines() for control file output #973

Closed cgrandin closed 11 months ago

cgrandin commented 1 year ago

In load_ss_files()

model$ctl <- readLines() should be replaced with r4ss::SS_readctl()

this may cause unforeseen bugs so care has to be taken

kellijohnson-NOAA commented 11 months ago

readLines(ctl) is here https://github.com/pacific-hake/hake-assessment/blob/266026b16ce6e21a711021750339f88ca8d71d07/R/run-retrospectives.R#L140