Skip to content

Commit

Permalink
added a CI test for PR
Browse files Browse the repository at this point in the history
  • Loading branch information
EricMarcon committed Dec 11, 2023
1 parent 5d2cafa commit 8a12e96
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
on:
pull_request:
branches:
- master

name: R-CMD-check

jobs:
R-CMD-check:
runs-on: macOS-latest
env:
GITHUB_PAT: ${{ secrets.GH_PAT }}
steps:
- uses: actions/checkout@master
- uses: r-lib/actions/setup-r@v2
- name: Install pandoc
uses: r-lib/actions/setup-pandoc@v2
- name: Install dependencies
run: |
options(pkgType = "binary")
options(install.packages.check.source = "no")
install.packages(c("remotes", "rcmdcheck", "covr", "pkgdown"))
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}
- name: Check
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "warning", check_dir = "check")
shell: Rscript {0}
- name: Install package
run: R CMD INSTALL .
- name: Pkgdown
# Build the package site locally
run: Rscript -e 'pkgdown::build_site()'
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: dbmss
Type: Package
Title: Distance-Based Measures of Spatial Structures
Version: 2.8-2.9104
Version: 2.8-2.9105
Authors@R: c(
person("Eric", "Marcon", email="[email protected]", role=c("aut", "cre"), comment = c(ORCID = "0000-0002-5249-321X")),
person("Gabriel", "Lang", email="[email protected]", role="aut", comment = c(ORCID = "0000-0002-4325-6044")),
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# dbmss 2.8-2.9104
# dbmss 2.8-2.9105

## Improvements

Expand Down

0 comments on commit 8a12e96

Please sign in to comment.