gcube

Simulation framework for biodiversity data cubes

https://github.com/b-cubed-eu/gcube

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 5 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (20.0%) to scientific vocabulary

Keywords

biodiversity-informatics data-cubes r r-package simulations
Last synced: 6 months ago · JSON representation ·

Repository

Simulation framework for biodiversity data cubes

Basic Info
Statistics
  • Stars: 10
  • Watchers: 1
  • Forks: 2
  • Open Issues: 7
  • Releases: 18
Topics
biodiversity-informatics data-cubes r r-package simulations
Created almost 2 years ago · Last pushed 9 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation Codemeta Zenodo

README.Rmd

---
output: github_document
editor_options: 
  chunk_output_type: console
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = file.path("man", "figures", "readme-"),
  out.width = "80%",
  dpi = 300
)
```

# gcube gcube website



[![repo status](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
[![Release](https://img.shields.io/github/release/b-cubed-eu/gcube.svg)](https://github.com/b-cubed-eu/gcube/releases)
[![gcube status badge](https://b-cubed-eu.r-universe.dev/gcube/badges/version)](https://b-cubed-eu.r-universe.dev/gcube)
[![CRAN status](https://www.r-pkg.org/badges/version/gcube)](https://CRAN.R-project.org/package=gcube)
[![R-CMD-check](https://github.com/b-cubed-eu/gcube/actions/workflows/check_on_different_r_os.yml/badge.svg)](https://github.com/b-cubed-eu/gcube/actions/workflows/check_on_different_r_os.yml)
[![codecov](https://codecov.io/gh/b-cubed-eu/gcube/branch/main/graph/badge.svg)](https://app.codecov.io/gh/b-cubed-eu/gcube/)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.14038996.svg)](https://doi.org/10.5281/zenodo.14038996)
[![name status badge](https://b-cubed-eu.r-universe.dev/badges/:name?color=6CDDB4)](https://b-cubed-eu.r-universe.dev/)



The goal of **gcube** is to provide a simulation framework for biodiversity data cubes using the R programming language. This can start from simulating multiple species distributed in a landscape over a temporal scope. In a second phase, the simulation of a variety of observation processes and effort can generate actual occurrence datasets. Based on their (simulated) spatial uncertainty, occurrences can then be designated to a grid to form a data cube.

Simulation studies offer numerous benefits due to their ability to mimic real-world scenarios in controlled and customizable environments. Ecosystems and biodiversity data are very complex and involve a multitude of interacting factors. Simulations allow researchers to model and understand the complexity of ecological systems by varying parameters such as spatial and/or temporal clustering, species prevalence, etc.

## Installation

Install **gcube** in R:

```r
install.packages("gcube", repos = "https://b-cubed-eu.r-universe.dev")
```

You can install the development version from [GitHub](https://github.com/) with:

``` r
# install.packages("remotes")
remotes::install_github("b-cubed-eu/gcube")
```

## Package name rationale and origin story

The name **gcube** stands for "generate cube" since it can be used to generate biodiversity data cubes from minimal input.
It was first developed during the hackathon "Hacking Biodiversity Data Cubes for Policy", where it won the first price in the category "Visualization and training".
You can read the full story here: 

## Example

This is a basic example which shows the workflow for simulating a biodiversity data cube.
It is divided in three steps or processes:

1.  Occurrence process
2.  Detection process
3.  Grid designation process

The functions are set up such that a single polygon as input is enough to go through this workflow using default arguments.
The user can change these arguments to allow for more flexibility.


```{r packages, message=FALSE, warning=FALSE}
# Load packages
library(gcube)

library(sf)      # working with spatial objects
library(dplyr)   # data wrangling
library(ggplot2) # visualisation with ggplot
```

We create a polygon as input. It represents the spatial extend of the species.

```{r polygon}
#| fig.alt: >
#|   Spatial extend in which we will simulate species occurrences.
# Create a polygon to simulate occurrences within
polygon <- st_polygon(list(cbind(c(5, 10, 8, 2, 3, 5), c(2, 1, 7,9, 5, 2))))

# Visualise
ggplot() + 
  geom_sf(data = polygon) +
  theme_minimal()
```

### Occurrence process

We generate occurrence points within the polygon using the `simulate_occurrences()` function.
In this function, the user can specify different levels of spatial clustering, and define the trend of number of occurrences over time.
The default is a random spatial pattern and a single time point with `rpois(1, 50)` occurrences.

```{r simulate-occurrences}
#| fig.alt: >
#|   Spatial distribution of occurrences within the polygon.
# Simulate occurrences within polygon
occurrences_df <- simulate_occurrences(
  species_range = polygon,
  initial_average_occurrences = 50,
  spatial_pattern = c("random", "clustered"),
  n_time_points = 1,
  seed = 123)

# Visualise
ggplot() + 
  geom_sf(data = polygon) +
  geom_sf(data = occurrences_df) +
  theme_minimal()
```

### Detection process

In the second step we define the sampling process, based on the detection probability of the species and the sampling bias.
This is done using the `sample_observations()` function.
The default sampling bias is `"no_bias"`, but bias can be added using a polygon or a grid as well.

```{r detect-occurrences}
#| fig.alt: >
#|   Spatial distribution of occurrences with indication of sampling status.
# Detect occurrences
detections_df_raw <- sample_observations(
  occurrences = occurrences_df,
  detection_probability = 0.5,
  sampling_bias = c("no_bias", "polygon", "manual"),
  seed = 123)

# Visualise
ggplot() + 
  geom_sf(data = polygon) +
  geom_sf(data = detections_df_raw,
          aes(colour = observed)) +
  theme_minimal()
```

We select the detected occurrences and add an uncertainty to these observations.
This can be done using the `filter_observations()` and `add_coordinate_uncertainty()` functions, respectively.

```{r uncertainty-occurrences}
#| fig.alt: >
#|   Spatial distribution of detected occurrences with coordinate uncertainty.
# Select detected occurrences only
detections_df <- filter_observations(
  observations_total = detections_df_raw)

# Add coordinate uncertainty
set.seed(123)
coord_uncertainty_vec <- rgamma(nrow(detections_df), shape = 2, rate = 6)
observations_df <- add_coordinate_uncertainty(
  observations = detections_df,
  coords_uncertainty_meters = coord_uncertainty_vec)

# Created and sf object with uncertainty circles to visualise
buffered_observations <- st_buffer(
  observations_df,
  observations_df$coordinateUncertaintyInMeters)

# Visualise
ggplot() + 
  geom_sf(data = polygon) +
  geom_sf(data = buffered_observations,
          fill = alpha("firebrick", 0.3)) +
  geom_sf(data = observations_df, colour = "firebrick") +
  theme_minimal()
```

### Grid designation process

Finally, observations are designated to a grid with `grid_designation()` to create an occurrence cube.
We create a grid over the spatial extend using `sf::st_make_grid()`. 

```{r create-grid}
# Define a grid over spatial extend
grid_df <- st_make_grid(
    buffered_observations,
    square = TRUE,
    cellsize = c(1.2, 1.2)
  ) %>%
  st_sf() %>%
  mutate(intersect = as.vector(st_intersects(geometry, polygon,
                                             sparse = FALSE))) %>%
  dplyr::filter(intersect == TRUE) %>%
  dplyr::select(-"intersect")
```

To create an occurrence cube, `grid_designation()` will randomly take a point within the uncertainty circle around the observations.
These points can be extracted by setting the argument `aggregate = FALSE`.

```{r grid-designation}
#| fig.alt: >
#|   Distribution of random samples within uncertainty circle.
# Create occurrence cube
occurrence_cube_df <- grid_designation(
  observations = observations_df,
  grid = grid_df,
  seed = 123)

# Get sampled points within uncertainty circle
sampled_points <- grid_designation(
  observations = observations_df,
  grid = grid_df,
  aggregate = FALSE,
  seed = 123)

# Visualise grid designation
ggplot() +
  geom_sf(data = occurrence_cube_df, linewidth = 1) +
  geom_sf_text(data = occurrence_cube_df, aes(label = n)) +
  geom_sf(data = buffered_observations,
          fill = alpha("firebrick", 0.3)) +
  geom_sf(data = sampled_points, colour = "blue") +
  geom_sf(data = observations_df, colour = "firebrick") +
  labs(x = "", y = "", fill = "n") +
  theme_minimal()
```

The output gives the number of observations per grid cell and minimal coordinate uncertainty per grid cell.

```{r visualise-designation}
#| fig.alt: >
#|   Distribution of minimal coordinate uncertainty.
# Visualise minimal coordinate uncertainty
ggplot() +
  geom_sf(data = occurrence_cube_df, aes(fill = min_coord_uncertainty),
          alpha = 0.5, linewidth = 1) +
  geom_sf_text(data = occurrence_cube_df, aes(label = n)) +
  scale_fill_continuous(type = "viridis") +
  labs(x = "", y = "") +
  theme_minimal()
```

### Cubes for multiple species

Each cube simulation function mentioned earlier has a corresponding mapping function.
These mapping functions are designed to handle operations for multiple species simultaneously by using the `purrr::pmap()` function.
Please consult the documentation for detailed information on how these mapping functions are implemented.

| single species              | multiple species                |
|-----------------------------|---------------------------------|
| simulate_occurrences()      | map_simulate_occurrences()      |
| sample_observations()       | map_sample_observations()       |
| filter_observations()       | map_filter_observations()       |
| add_coordinate_uncertainty()| map_add_coordinate_uncertainty()|
| grid_designation()          | map_grid_designation()          |

Owner

  • Name: B-Cubed
  • Login: b-cubed-eu
  • Kind: organization

Biodiversity Building Blocks for Policy

Citation (CITATION.cff)

cff-version: 1.2.0
message: If you use this software, please cite it using these metadata.
title: "gcube: Simulating Biodiversity Data Cubes"
authors:
- given-names: Ward
  family-names: Langeraert
  affiliation: Research Institute for Nature and Forest (INBO)
  orcid: 0000-0002-5900-8109
keywords:
- simulation
- data cubes
- B-Cubed
- biodiversity
- Monte-Carlo
contact:
- given-names: Ward
  family-names: Langeraert
  affiliation: Research Institute for Nature and Forest (INBO)
  orcid: 0000-0002-5900-8109
doi: 10.5281/zenodo.14038996
license: MIT
repository-code: https://github.com/b-cubed-eu/gcube/
type: software
abstract: "This R package provides a simulation framework for biodiversity data cubes.
  This can start from simulating multiple species distributed in a landscape over
  a temporal scope. In a second phase, the simulation of a variety of observation
  processes and effort can generate actual occurrence datasets. Based on their (simulated)
  spatial uncertainty, occurrences can then be designated to a grid to form a data
  cube."
identifiers:
- type: doi
  value: 10.5281/zenodo.14038996
- type: url
  value: https://b-cubed-eu.github.io/gcube/
version: 1.3.7

CodeMeta (codemeta.json)

{
  "@context": "https://doi.org/10.5063/schema/codemeta-2.0",
  "@type": "SoftwareSourceCode",
  "identifier": "gcube",
  "description": "This R package provides a simulation framework for biodiversity data cubes. This can start from simulating multiple species distributed in a landscape over a temporal scope. In a second phase, the simulation of a variety of observation processes and effort can generate actual occurrence datasets. Based on their (simulated) spatial uncertainty, occurrences can then be designated to a grid to form a data cube.",
  "name": "gcube: Simulating Biodiversity Data Cubes",
  "relatedLink": [
    "https://b-cubed-eu.github.io/gcube/",
    "https://doi.org/10.5281/zenodo.14038996"
  ],
  "codeRepository": "https://github.com/b-cubed-eu/gcube",
  "issueTracker": "https://github.com/b-cubed-eu/gcube/issues",
  "license": "https://spdx.org/licenses/MIT",
  "version": "1.3.7",
  "programmingLanguage": {
    "@type": "ComputerLanguage",
    "name": "R",
    "url": "https://r-project.org"
  },
  "runtimePlatform": "R version 4.4.3 (2025-02-28 ucrt)",
  "author": [
    {
      "@type": "Person",
      "givenName": "Ward",
      "familyName": "Langeraert",
      "email": "ward.langeraert@inbo.be",
      "@id": "https://orcid.org/0000-0002-5900-8109"
    }
  ],
  "contributor": [
    {
      "@type": "Person",
      "givenName": "Wissam",
      "familyName": "Barhdadi",
      "@id": "https://orcid.org/0000-0001-9304-3971"
    },
    {
      "@type": "Person",
      "givenName": "Dimitri",
      "familyName": "Brosens",
      "@id": "https://orcid.org/0000-0002-0846-9116"
    },
    {
      "@type": "Person",
      "givenName": "Roco",
      "familyName": "Corts",
      "@id": "https://orcid.org/0009-0004-8440-958X"
    },
    {
      "@type": "Person",
      "givenName": "Peter",
      "familyName": "Desmet",
      "@id": "https://orcid.org/0000-0002-8442-8025"
    },
    {
      "@type": "Person",
      "givenName": "Michele",
      "familyName": "Di Musciano",
      "@id": "https://orcid.org/0000-0002-3130-7270"
    },
    {
      "@type": "Person",
      "givenName": "Chandra",
      "familyName": "Earl",
      "@id": "https://orcid.org/0000-0001-9850-882X"
    },
    {
      "@type": "Person",
      "givenName": "Sanne",
      "familyName": "Govaert",
      "@id": "https://orcid.org/0000-0002-8939-1305"
    },
    {
      "@type": "Person",
      "givenName": "Pieter",
      "familyName": "Huybrechts",
      "@id": "https://orcid.org/0000-0002-6658-6062"
    },
    {
      "@type": "Person",
      "givenName": "Matilde",
      "familyName": "Martini",
      "@id": "https://orcid.org/0009-0003-5612-925X"
    },
    {
      "@type": "Person",
      "givenName": "Arthur",
      "familyName": "Rodrigues",
      "@id": "https://orcid.org/0000-0003-2656-558X"
    },
    {
      "@type": "Person",
      "givenName": "Toon",
      "familyName": "Van Daele",
      "@id": "https://orcid.org/0000-0002-1362-853X"
    },
    {
      "@type": "Person",
      "givenName": "Annegreet",
      "familyName": "Veeken",
      "@id": "https://orcid.org/0000-0003-4291-5981"
    },
    {
      "@type": "Person",
      "givenName": "Mukhtar Muhammed",
      "familyName": "Yahaya",
      "@id": "https://orcid.org/0009-0008-9200-0863"
    }
  ],
  "copyrightHolder": [
    {
      "@type": "Organization",
      "name": "Research Institute for Nature and Forest (INBO)"
    }
  ],
  "funder": [
    {
      "@type": "Organization",
      "name": "European Union"
    }
  ],
  "maintainer": [
    {
      "@type": "Person",
      "givenName": "Ward",
      "familyName": "Langeraert",
      "email": "ward.langeraert@inbo.be",
      "@id": "https://orcid.org/0000-0002-5900-8109"
    }
  ],
  "softwareSuggestions": [
    {
      "@type": "SoftwareApplication",
      "identifier": "frictionless",
      "name": "frictionless",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=frictionless"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "geodata",
      "name": "geodata",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=geodata"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "ggExtra",
      "name": "ggExtra",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=ggExtra"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "ggplot2",
      "name": "ggplot2",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=ggplot2"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "knitr",
      "name": "knitr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=knitr"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "rmarkdown",
      "name": "rmarkdown",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=rmarkdown"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "testthat",
      "name": "testthat",
      "version": ">= 3.0.0",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=testthat"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "tidyterra",
      "name": "tidyterra",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=tidyterra"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "virtualspecies",
      "name": "virtualspecies",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=virtualspecies"
    }
  ],
  "softwareRequirements": {
    "1": {
      "@type": "SoftwareApplication",
      "identifier": "assertthat",
      "name": "assertthat",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=assertthat"
    },
    "2": {
      "@type": "SoftwareApplication",
      "identifier": "dplyr",
      "name": "dplyr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=dplyr"
    },
    "3": {
      "@type": "SoftwareApplication",
      "identifier": "gstat",
      "name": "gstat",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=gstat"
    },
    "4": {
      "@type": "SoftwareApplication",
      "identifier": "methods",
      "name": "methods"
    },
    "5": {
      "@type": "SoftwareApplication",
      "identifier": "mnormt",
      "name": "mnormt",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=mnormt"
    },
    "6": {
      "@type": "SoftwareApplication",
      "identifier": "purrr",
      "name": "purrr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=purrr"
    },
    "7": {
      "@type": "SoftwareApplication",
      "identifier": "rlang",
      "name": "rlang",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=rlang"
    },
    "8": {
      "@type": "SoftwareApplication",
      "identifier": "sf",
      "name": "sf",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=sf"
    },
    "9": {
      "@type": "SoftwareApplication",
      "identifier": "stats",
      "name": "stats"
    },
    "10": {
      "@type": "SoftwareApplication",
      "identifier": "terra",
      "name": "terra",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=terra"
    },
    "11": {
      "@type": "SoftwareApplication",
      "identifier": "tidyr",
      "name": "tidyr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=tidyr"
    },
    "12": {
      "@type": "SoftwareApplication",
      "identifier": "vegan",
      "name": "vegan",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=vegan"
    },
    "SystemRequirements": null
  },
  "fileSize": "575.752KB",
  "citation": [
    {
      "@type": "SoftwareSourceCode",
      "datePublished": "2025",
      "author": {
        "author": {
          "@type": "Person",
          "givenName": "Ward",
          "familyName": "Langeraert"
        }
      },
      "name": "gcube: Simulating Biodiversity Data Cubes. Version 1.3.7",
      "identifier": "10.5281/zenodo.14038996",
      "url": "https://b-cubed-eu.github.io/gcube/",
      "@id": "https://doi.org/10.5281/zenodo.14038996",
      "sameAs": "https://doi.org/10.5281/zenodo.14038996"
    }
  ],
  "releaseNotes": "https://github.com/b-cubed-eu/gcube/blob/master/NEWS.md",
  "readme": "https://github.com/b-cubed-eu/gcube/blob/main/README.md",
  "contIntegration": [
    "https://github.com/b-cubed-eu/gcube/actions/workflows/check_on_different_r_os.yml",
    "https://app.codecov.io/gh/b-cubed-eu/gcube/"
  ],
  "developmentStatus": "https://www.repostatus.org/#active",
  "keywords": [
    "r",
    "r-package",
    "biodiversity-informatics",
    "data-cubes",
    "simulations"
  ]
}

GitHub Events

Total
  • Create event: 29
  • Issues event: 29
  • Release event: 12
  • Watch event: 6
  • Delete event: 15
  • Issue comment event: 21
  • Push event: 62
  • Pull request review event: 5
  • Pull request event: 33
Last Year
  • Create event: 29
  • Issues event: 29
  • Release event: 12
  • Watch event: 6
  • Delete event: 15
  • Issue comment event: 21
  • Push event: 62
  • Pull request review event: 5
  • Pull request event: 33

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 46
  • Total pull requests: 94
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 1 day
  • Total issue authors: 7
  • Total pull request authors: 11
  • Average comments per issue: 0.67
  • Average comments per pull request: 0.5
  • Merged pull requests: 92
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 16
  • Pull requests: 34
  • Average time to close issues: 23 days
  • Average time to close pull requests: 1 day
  • Issue authors: 2
  • Pull request authors: 2
  • Average comments per issue: 0.56
  • Average comments per pull request: 0.32
  • Merged pull requests: 33
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • wlangera (26)
  • PietrH (3)
  • avrodrigues (1)
  • KatelynFaulkner (1)
  • sannegovaert (1)
  • Mmyahaya (1)
  • sunray1 (1)
Pull Request Authors
  • wlangera (85)
  • peterdesmet (10)
  • PietrH (9)
  • sunray1 (6)
  • avrodrigues (5)
  • ToonVanDaele (4)
  • DimEvil (4)
  • sannegovaert (3)
  • Annegreet (2)
  • sangovae (2)
  • rociobeatrizc (1)
  • wbarhdad (1)
Top Labels
Issue Labels
documentation (12) enhancement (9) bug (5) invalid (1)
Pull Request Labels
enhancement (1)

Dependencies

.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v4 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.5.0 composite
  • actions/checkout v4 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v4 composite
  • actions/upload-artifact v4 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION cran
  • cli * imports
  • dplyr * imports
  • magrittr * imports
  • mnormt * imports
  • rlang * imports
  • sf * imports
  • stats * imports
  • testthat >= 3.0.0 suggests