There is a newer version of the record available.

Published October 15, 2025 | Version v3
Preprint Open

Evaluating Indicators for Assessing Marine Protected Area Effects on Conservation and Catches

Authors/Creators

Description


This repository contains code needed to replicate the results and manuscript. 

 

Reproducing Results

1. This repository is enabled with `renv`, which will walk you through installing the required packages. Open R, ensure that your working directory is set to the location of the folder containing the repository information, and ensure that you have the `renv` package installed, then run `renv::restore()`. 
  - You need R version >= 4.5
  - You need to have compiler tools installed. In Windows, that means RTools (https://cran.r-project.org/bin/windows/Rtools/), on macOS I recommend https://github.com/coatless-mac/macrtools#diagnose
  - If something goes wrong with `renv`, the core dependency of this project that is not on CRAN can be installed with `remotes::install_github("danovando/marlin")`
  - `renv` is imperfect, so if you run into errors, check message and try and resolve. When in doubt, follow instructions to run script and see where package errors come up and follow given instructions!
2. Once that is done, run 01_run_mpa_indicators.R. This should take about 15 hours under the settings used in the paper

3. Once the results are produced, knit 02_mpa_indicators_paper.qmd to reproduce the manuscript

 

Reproducing Manuscript Alone

This repository contains all the results, contained in results/v1.0, used in this pre-print. To simply reproduce the manuscript rather than re-running the results, simply run render 02_mpa_indicators_paper.qmd

Files

ovando-lopazanski-mpa-effects-and-indicators.pdf

Files (10.2 GB)

Name Size Download all
md5:bce2b62ba21fc16feca693e7efe3241b
10.2 GB Preview Download
md5:7b1e0ee7e77e2f0b96c7f01dc004bf55
932.2 kB Preview Download

Additional details

Dates

Submitted
2025-10-10

Software

Programming language
R