Skip to content

Stock Synthesis version

Kathryn Doering edited this page May 1, 2020 · 3 revisions

The current version of ss3sim is coded to work with the most recent version of Stock Synthesis. Should you want to roll back to a previous version of Stock Synthesis the following code can be used to align your version

3.24

devtools::install_github("r4ss/r4ss@2622cfe")
devtools::install_github("ss3sim/ss3sim@59cc5aa")

3.30.15

install.packages("r4ss")
install.packages("ss3sim")

Current

devtools::install_github("r4ss/r4ss", ref = "development")
devtools::install_github("ss3sim/ss3sim", ref = "development")

Updating the executables

  • Ensure the permissions for Linux and Mac are changed
    • unzip the .gz file with 7zip
    • git ls-files --stage will show you the current permissions, which should be 100755. If the permissions are 100644, the binaries are not executable and the permissions need to be modified.
    • permissions can be modified with chmod using chmod +x ss
      • can be done from the git bash on windows using git update-index --chmod=+x 'path/to/ss/binary/ss' and then commiting the change git commit -m 'make binaries executable'
      • use git ls-files --stage from git bash again to verify permissions are 100755.