-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
executable file
·66 lines (47 loc) · 1.52 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
output:
github_document:
df_print: kable
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
library(mallaRd)
```
# mallaRd
<!-- badges: start -->
<!-- badges: end -->
The goal of mallaRd is to reproduces the analyses and results from the paper "Breeding site fidelity in the concrete jungle: implications for the management of urban mallards." by Engler et al. (accepted in Journal of Urban Ecology).
## Installation and usage
You can install our package mallaRd from [GitHub](https://github.com/) with:
```{r, eval=FALSE}
install.packages("remotes") ## install the package remotes if you don't have it
remotes::install_github("courtiol/mallaRd") ## install our package
```
Then load the package in your R session and check the main help page where we placed all analyses:
```{r, eval=FALSE}
load("mallaRd")
?mallaRd
```
## Raw data
You can access the raw data used for the paper [here](inst/extdata/raw_data.csv) or via the R package:
```{r, eval=TRUE}
head(data_raw) ## first 6 rows
```
## Developer corner
Our package relies on the following packages:
```{r, eval=TRUE}
pkgs <- desc::desc_get_deps()
pkgs <- pkgs[pkgs$package != "R", ]
pkgs$version_used <- sapply(pkgs$package, \(pkg) paste(packageVersion(pkg), sep = "."))
pkgs
```
Here is the information of the R & RStudio environment used to run all the analyses:
```{r, eval=TRUE}
sessionInfo()
```