Workshops given for various audiences with the SpaDES package
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
docs
man
scfmModules @ 5ee30bb
vignettes
.Rbuildignore
.Rprofile
.gitattributes
.gitignore
.gitmodules
.lintr
CHECKSUMS.txt
DESCRIPTION
LICENSE
NAMESPACE
NEWS.md
README.md
SpaDES.Workshops.Rproj
_pkgdown.yml
_pkgdownFeb2018.yml
can_age04_1km.tif
courseDevelopment.Rmd
index.md

README.md

Next SpaDES Workshop:

Sept 24-26, 2018, Pacific Forestry Centre, 9am - 4pm each day

If you are interested in being put on the email list for this or future courses, please email to eliot.mcintire at canada.ca

We have organized a set of sessions, back to back, starting from the most “general”, and ending with the most “detailed”. The hope is to attract non-modelers (e.g., managers, scientists, practitioners) to the first session, people who think they might want to see more how models work (e.g., scientists, students, technicians), and those who want to build and use models for research and operational purposes (e.g., scientists, technicians, programmers).

  • Part 1: Introducing a modular simulation platform for non-programmers - 1.5 hours – day 1 - 9 am - break - This is a high level intro for scientists, managers, policy makers, decision makers, coupled with high-level exercises in SpaDES that will take you through how to run pre-made SpaDES modules, run modules from other people, and change model parameters.

  • Part 2: Getting started with SpaDES in R - 4.5 hours – day 1 - mid morning through to end of day - This is intended to dive a little bit into the code, learn how to create relatively simple modules and establish links between modules. See below for instructions

  • Part 3: - days 2 and 3 - 9am to end of day each day – a much deeper dive for developers of models. That means that if somebody who is interested in developing, but has already a good grasp on what SpaDES does and the higher level concepts, they can join this workshop. See below for instructions

Location:

Pacific Forestry Centre - Dilbert Hall

Participants attending in person who are not known to CFS will have to sign in at the front desk. We will have name tags for each visitor.

Remote Connecting:

Password every day (may not be required): spades

Monday Sept 24: https://pwgsc-nh.webex.com/pwgsc-nh/j.php?MTID=m563024ba07f52ff94e8e84938a8170c8

Tuesday Sept 25: https://pwgsc-nh.webex.com/pwgsc-nh/j.php?MTID=m4a37b92fd12b467686442e126cf36d16

Wednesday Sept 26: https://pwgsc-nh.webex.com/pwgsc-nh/j.php?MTID=mb43e1b9e5691e45a7c04af6d9939d1f3

Installing SpaDES

PLEASE NOTE -- R must be installed as an administrator because we are using developer tools

Please pre-install the SpaDES packages and dependencies. SpaDES has many R packages that it depends on. The following approach seems to be the least prone to problems. If there are problems, read the error messages and try to deal with the error message. The most common one is that some package dependency is missing.

# Restart your R session so it is clear
# Ctrl-shift-F10 if you are in Rstudio #

###################
# Make sure your existing packages are updated, and correct for the version of R
###################
# Get latest versions of key SpaDES packages from CRAN
dependencies <- tools::package_dependencies("SpaDES", recursive = TRUE)

# Update any versions of these dependencies that are already on your machine
update.packages(oldPkgs = unlist(dependencies), ask = FALSE, checkBuilt = TRUE) 

# Install any dependencies that are missing -- 
#   install.packages is not getting correct dependencies
missingPkgs <- dependencies$SpaDES[!(dependencies$SpaDES %in% rownames(installed.packages()))]
if (length(missingPkgs))
  install.packages(missingPkgs, dependencies = FALSE)

###################
## Install all SpaDES packages 
###################
install.packages('SpaDES', dependencies = FALSE)

# For the workshop, there are a few minor bug fixes that are not in the CRAN version
# Restart your R session so it is clear
# Ctrl-shift-F10 if you are in Rstudio #
reproducible::Require("devtools") # installs (if needed) and loads
devtools::install_github("PredictiveEcology/SpaDES.core", ref = "development")

If you are comfortable with GitHub.com, you can clone the entire SpaDES.Workshops repository and thus have all the *.Rmd files used in this workshop:

https://github.com/PredictiveEcology/SpaDES.Workshops

For a direct link to the workshops, click on the top navigation bar or go here

Resources:

SpaDES wiki pages