-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from mrc-ide/feature/pass_checks
tweaks to pass checks and added github actions
- Loading branch information
Showing
133 changed files
with
5,274 additions
and
7,843 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,5 @@ vignettes_src | |
docs | ||
vignettes/introduction_cache | ||
vignettes_src/introduction_cache | ||
^\.github$ | ||
^index.md$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# 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: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up R | ||
uses: r-lib/actions/setup-r@v2 | ||
with: | ||
r-version: ${{ matrix.config.r }} | ||
|
||
- name: Install Dependencies | ||
uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
extra-packages: any::rcmdcheck | ||
needs: check | ||
|
||
- name: Build Package | ||
uses: r-lib/actions/check-r-package@v2 | ||
with: | ||
args: 'c("--no-manual", "--ignore-vignettes")' | ||
build_args: 'c("--no-build-vignettes")' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# 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: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up R | ||
uses: r-lib/actions/setup-r@v2 | ||
with: | ||
r-version: ${{ matrix.config.r }} | ||
|
||
- name: Install Dependencies | ||
uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
extra-packages: any::rcmdcheck | ||
needs: check | ||
|
||
- name: Build Package | ||
uses: r-lib/actions/check-r-package@v2 | ||
with: | ||
args: 'c("--no-manual", "--ignore-vignettes")' | ||
build_args: 'c("--no-build-vignettes")' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#------------------------------------------------ | ||
#' @title MIPanalyzer | ||
#' | ||
#' @description This package can be used to read in raw molecular inversion | ||
#' probe (MIP) data from vcf into a format that is convenient to work with. | ||
#' Data can be filtered based on counts, frequencies, missingness or other | ||
#' criteria. Filtered data can be analysed by common methods including PCA and | ||
#' various pairwise genetic metrics, and can be visualised in multiple ways. | ||
#' This package is intended to evolve as new MIP analyses are needed, thereby | ||
#' making it easy to repeat common analyses as new data becomes available. | ||
#' | ||
#' @docType package | ||
#' @name MIPanalyzer | ||
NULL | ||
|
||
#------------------------------------------------ | ||
# link to Rcpp | ||
#' @useDynLib MIPanalyzer, .registration = TRUE | ||
#' @importFrom Rcpp sourceCpp | ||
NULL | ||
|
||
#------------------------------------------------ | ||
# unload dll when package is unloaded | ||
#' @noRd | ||
.onUnload <- function(libpath) { | ||
library.dynam.unload("MIPanalyzer", libpath) | ||
} |
Oops, something went wrong.