Skip to content

Commit

Permalink
changes some basic stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
grantdadams committed Aug 21, 2019
1 parent bbb994e commit 4961afe
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified BS2017SS.xlsx
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/Rceattle_install_run_w_projections.R
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ ms_run <- Rceattle::fit_mod(data_list = BS2017MS,
random_rec = FALSE, # No random recruitment
msmMode = 1, # MSVPA based
suitMode = 0, # empirical suitability
silent = FALSE)
silent = TRUE)

# We can plot both runs as well:
mod_list <- list(ss_run, ms_run)
Expand Down
20 changes: 17 additions & 3 deletions examples/Rceattle_install_source.R
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
# Steps to install Rceattle from the source file
# Grant D. Adams [email protected]

# Step 1 - Download Rceattle_0.0.0.9000.tar.gz from:
# Step 1 - install compilers
# Windows install rtools: https://cran.r-project.org/bin/windows/Rtools/
# Mac install clang and gfortran https://cran.r-project.org/bin/macosx/tools/
# Macs will also need to update makevars file

# Step 2 - Install TMB
# Instructions can be found here for non-pc: https://github.com/kaskr/adcomp/wiki/Download
install.packages('TMB', type = 'source')
# Try "TMB::runExample(all = TRUE)" to see if TMB works

# Step 3 - Install dependencies
install.packages(c("TMB", "testthat", "reshape2", "oce", "plyr", "readxl", "writexl", "tidyr"))

# Step 4 - Download Rceattle_0.0.0.9000.tar.gz file from:
# https://drive.google.com/drive/folders/1sHe_KxvKZi7UyjnWB4Oz9HmKY6CWGWoM

# Step 2 - set "file_directory" to the directory where the download is
# Step 5 - set "file_directory" to the directory where the download is
file_directory <- "your_download_directory"
path_to_file <- paste(file_directory, "/", "Rceattle_0.0.0.9000.tar.gz", sep = "")

# Step 3 - Install
# Step 6 - Install Rceattle from source
install.packages(path_to_file, repos = NULL, type="source", dependencies = TRUE)

0 comments on commit 4961afe

Please sign in to comment.