Skip to content

Commit

Permalink
Merge pull request #1 from mrc-ide/develop
Browse files Browse the repository at this point in the history
added github actions
  • Loading branch information
bobverity authored Aug 24, 2022
2 parents 33b9364 + 7371337 commit 13ebff4
Show file tree
Hide file tree
Showing 6 changed files with 91 additions and 2 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
^\.Rproj\.user$
^ignore$
^R_ignore$
^\.github$
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
37 changes: 37 additions & 0 deletions .github/workflows/checks_develop.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches:
- develop
pull_request:
branches:
- develop

name: checks_develop

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- {os: windows-latest, r: 'release'}
- {os: macOS-latest, r: 'release'}
- {os: ubuntu-20.04, r: 'release'}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-r@v1
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v1
with:
extra-packages: rcmdcheck

- uses: r-lib/actions/check-r-package@v1
37 changes: 37 additions & 0 deletions .github/workflows/checks_master.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches:
- master
pull_request:
branches:
- master

name: checks_master

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- {os: windows-latest, r: 'release'}
- {os: macOS-latest, r: 'release'}
- {os: ubuntu-20.04, r: 'release'}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-r@v1
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v1
with:
extra-packages: rcmdcheck

- uses: r-lib/actions/check-r-package@v1
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Description: Malaria infections often contain multiple genotypes. When
assume a model of allele frequencies rather than a reference panel. We also
implement parallel tempered MCMC to ensure good mixing, and produce a
different set of outputs.
License: GPL-3
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.1.1
Expand Down
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
# Tapestry
<!-- badges: start -->
[![checks_develop](https://github.com/mrc-ide/Tapestry/workflows/checks_develop/badge.svg)](https://github.com/mrc-ide/Tapestry/actions)
[![checks_master](https://github.com/mrc-ide/Tapestry/workflows/checks_master/badge.svg)](https://github.com/mrc-ide/Tapestry/actions)
<!-- badges: end -->

# Tapestry

Malaria infections often contain multiple genotypes. When sequenced together,
these produce a complex signal that is a mixture of the individual genotypes.
Like earlier programs like DEploid, Tapestry attempts to pull these individual
genotypes apart by exploiting allele frequency imbalances within a sample. The
difference in Tapestry is that we assume a model of allele frequencies rather
than a reference panel. We also implement parallel tempered MCMC to ensure good
mixing, and produce a different set of outputs.

0 comments on commit 13ebff4

Please sign in to comment.