Skip to content

Commit 372f699

Browse files
committed
Adding skip ci
1 parent 53c0795 commit 372f699

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
on:
55
push:
6-
branches: [main, development]
7-
pull_request:
86
branches: [CRAN, main]
7+
pull_request:
8+
branches: [CRAN]
99
workflow_dispatch:
1010

1111
name: r-cmd-check

.github/workflows/Test-coverage.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ permissions: read-all
1414

1515
jobs:
1616
test-coverage:
17+
if: "!contains(github.event.commits[0].message, '[skip-ci]')"
1718
runs-on: ubuntu-latest
1819
env:
1920
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

README.Rmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ README Last updated: `r Sys.Date()`
2323
|----|-------------|------|---------|
2424
| [![R-CMD](https://github.com/r-spatialecology/shar/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/r-spatialecology/shar/actions/workflows/R-CMD-check.yaml) | [![Project-status](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active) | [![CRAN-status](https://www.r-pkg.org/badges/version/shar)](https://cran.r-project.org/package=shar) | [![DOI](https://img.shields.io/badge/JOSS-10.21105/joss.03811-yellow.svg)](https://doi.org/10.21105/joss.03811) |
2525
[![Codecov](https://codecov.io/gh/r-spatialecology/shar/graph/badge.svg)](https://app.codecov.io/gh/r-spatialecology/shar) | [![Lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable) | [![CRAN-logs](https://cranlogs.r-pkg.org/badges/grand-total/shar)](http://cran.rstudio.com/web/packages/shar/index.html) | [![License](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) |
26+
2627
<!-- badges: end -->
2728

2829
**S**pecies-**h**abitat **a**ssociations in **R** provides a toolset of functions in the `R` programming language to analyze species-habitat associations. Therefore, information about the location of the species (as a point pattern) and the environmental conditions (as a raster) is needed. In order to analyse the data for significant habitat associations either the location data or the environmental data is randomized *n*-times. Then, counts within the habitats are compared between the observed and the randomized data. Positive or negative associations are present if the observed counts are higher or lower than the randomized counts (using quantile thresholds). Methods are described in Plotkin et al. (2000), Harms et al. (2001) and Wiegand & Moloney (2014). **shar** is mainly based on the [`spatstat`](http://spatstat.org) (Baddeley et al. 2015) and [`terra`](https://rspatial.org/terra/) (Hijmans 2022) package.

0 commit comments

Comments
 (0)