Code Monkey home page Code Monkey logo

foodprovision2019-reply's Introduction

Reproducing Results

This is a forked version of the repository used to produce Cabral et al. 2020 "A global network of marine protected areas for food". The repository has been modified to produce the results presented in Ovando et al. In Review "Models of Marine Protected Areas Must Explicitly Address Spatial Dynamics". The original repository for Cabral et al. 2020 can be found here, please see documentation there for details on use of their materials.

All materials needed to reproduce our results and manuscript are contained in this repository. In order to reproduce

  1. Fork the repository and clone to your machine

  2. Open R and set your working directory of the cloned repository (or just use RStudio projects)

  3. This project is set up with renv to manage package dependencies. Inside R (and with your working directory set correctly) run renv::restore(). This will install the correct versions of all the packages needed to replicate our results. Packages are installed in a stand-alone project library for this paper, and will not affect your installed R packages anywhere else.

This project has a lot of package dependencies so depending on what you already have installed the renv process might take a while (like 10-20 minutes).

Once you've successfully run renv::restore() you can reproduce our results by running cabral-etal-exploration.Rmd. This will knit the reply stored in cabral-etal-reply.Rmd.

After running the renv steps, you should not have to change anything on your end in order to reproduce our analysis (saved versions of results are pushed to github so you don't have to re-run everything). This has been tested on MacOS, Linux, and Windows.

foodprovision2019-reply's People

Contributors

danovando avatar rencabral avatar renatomolinah avatar owenrliu avatar

Watchers

James Cloos avatar  avatar  avatar  avatar  avatar  avatar

Forkers

liuqx315

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.