Skip to content

Commit 1389a47

Browse files
author
Kevin Cazelles
committed
research compendium ready 🔖
1 parent a5092e3 commit 1389a47

36 files changed

Lines changed: 519 additions & 216 deletions

R/pipeline.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pipeline <- function(tnr = TRUE) {
3737
figS1_outliers(an1_gain_loss(sf_bsm_ahi, rm_outlier = FALSE))
3838
figS2_abiotic(res0)
3939
# Cannot be run as exact lake locations are required
40-
#figS3_lossgain(res0)
40+
# figS3_lossgain(res0)
4141
# figS4_homogenization_panels()
4242
figS5_saturation(res0)
4343
# Cannot be run as exact lake latitudes are required

README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88

99
Analysis pipeline used in "Homogenization of freshwater lakes: recent compositional shifts in fish communities are explained by gamefish movement and not climate change" by Cazelles et al. (2019) DOI: 2Badded.
1010

11-
:warning: We are not allowed to share the exact lake locations of the lake, therefore, the context map and 2 supplementary figures cannot be reproduced.
12-
The data included (again without lake location) are released under [CC BY NC](https://creativecommons.org/licenses/by-nc/2.0/).
11+
:warning: We are not allowed to share the exact lake locations, therefore, the context map and 3 supplementary figures cannot be reproduced with this research compendium. The data included in this package are released under [CC BY NC](https://creativecommons.org/licenses/by-nc/2.0/).
1312

1413

1514
# How to reproduce the analysis?
@@ -19,16 +18,17 @@ Two options:
1918
1. use the binder;
2019
2. install and use this package.
2120

22-
Note the vignettes ["Reproduce the analysis carried out in Cazelles et. al (2019)"](http://mccannlab.ca/HomogenFishOntario/articles/homogenOntario.html) guides you through the different functions included in the package.
21+
Moreover the vignettes ["Reproduce the analysis carried out in Cazelles et. al (2019)"](http://mccannlab.ca/HomogenFishOntario/articles/homogenOntario.html) guides you through the different functions included in the package.
2322

2423

2524

2625
## Using the binder
2726

28-
Click on [![Launch Rstudio
27+
You can use [Binder](https://mybinder.readthedocs.io/en/latest/index.html#) by
28+
clicking on the following badge: [![Launch Rstudio
2929
Binder](http://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/McCannLab/HomogenFishOntario/master?urlpath=rstudio)
30-
which sets up an R environment (takes some time 15-20min :hourglass:) and then
31-
a a RStudio instance is launched. Once done, simply run :
30+
which sets up an R environment (takes 15-20min :hourglass:) and then a launches
31+
an [RStudio](https://www.rstudio.com/) instance. Once done, one can simply run:
3232

3333
```R
3434
remotes::install_github("McCannLab/HomogenFishOntario")
@@ -41,7 +41,7 @@ NB: the binder was created with the great R package [holepunch](https://karthik.
4141

4242

4343

44-
## Install and use the package
44+
## Install and use this R package
4545

4646
First, install the package:
4747

@@ -50,8 +50,8 @@ install.packages("remotes")
5050
remotes::install_github("McCannLab/HomogenFishOntario")
5151
```
5252

53-
This should install all dependencies. In case you are encountering difficulties
54-
with the R packages available on GitHub, use the following:
53+
This should install all dependencies, but in case you are encountering
54+
difficulties with the R packages available on GitHub, use the following:
5555

5656
```r
5757
remotes::install_github(
@@ -66,11 +66,10 @@ HomogenFishOntario::pipeline()
6666
```
6767

6868

69-
7069
# An R :package:?
7170

7271
The form of an R package in a GitHub repository is quite convenient:
7372

7473
- to share of the analysis pipeline;
75-
- to check code quality (even without a proper set of test, several aspect are covered when the package is checked);
74+
- to check code quality (even without a proper set of test, several aspects are covered when the package is checked);
7675
- to report potential issues.

docs/LICENSE-text.html

Lines changed: 14 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/articles/homogenOntario.html

Lines changed: 21 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
47 Bytes
Loading

docs/articles/index.html

Lines changed: 14 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/authors.html

Lines changed: 14 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)