-
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.
- Loading branch information
Showing
10 changed files
with
713 additions
and
0 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
^LICENSE\.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,57 @@ | ||
name: rworkflows | ||
'on': | ||
push: | ||
branches: | ||
- master | ||
- main | ||
- devel | ||
- RELEASE_** | ||
pull_request: | ||
branches: | ||
- master | ||
- main | ||
- devel | ||
- RELEASE_** | ||
jobs: | ||
rworkflows: | ||
permissions: write-all | ||
runs-on: ${{ matrix.config.os }} | ||
name: ${{ matrix.config.os }} (${{ matrix.config.r }}) | ||
container: ${{ matrix.config.cont }} | ||
strategy: | ||
fail-fast: ${{ false }} | ||
matrix: | ||
config: | ||
- os: ubuntu-latest | ||
bioc: devel | ||
r: auto | ||
cont: ghcr.io/bioconductor/bioconductor_docker:devel | ||
rspm: ~ | ||
- os: macOS-latest | ||
bioc: release | ||
r: auto | ||
cont: ~ | ||
rspm: ~ | ||
- os: windows-latest | ||
bioc: release | ||
r: auto | ||
cont: ~ | ||
rspm: ~ | ||
steps: | ||
- uses: neurogenomics/rworkflows@master | ||
with: | ||
run_bioccheck: ${{ false }} | ||
run_rcmdcheck: ${{ true }} | ||
as_cran: ${{ true }} | ||
run_vignettes: ${{ true }} | ||
has_testthat: ${{ true }} | ||
run_covr: ${{ true }} | ||
run_pkgdown: ${{ true }} | ||
has_runit: ${{ false }} | ||
has_latex: ${{ false }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run_docker: ${{ false }} | ||
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} | ||
runner_os: ${{ runner.os }} | ||
cache_version: cache-v1 | ||
docker_registry: ghcr.io |
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,4 @@ | ||
.Rproj.user | ||
.Rhistory | ||
.RData | ||
.Ruserdata |
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,23 @@ | ||
Package: MotifStats | ||
Title: Uncover the relationship between peaks and motifs | ||
Version: 0.0.0.9000 | ||
Authors@R: | ||
person(given = "Thomas", family = "Roberts", | ||
email = "tomroberts.work15@gmail.com", | ||
role = c("aut", "cre"), | ||
comment = c(ORCID = "0009-0006-6244-8670")) | ||
Description: What the package does (one paragraph). | ||
License: GPL (>= 3) | ||
Encoding: UTF-8 | ||
LazyData: true | ||
Depends: | ||
R (>= 4.2.0) | ||
Imports: | ||
rtracklayer | ||
Suggests: | ||
knitr, | ||
rmarkdown, | ||
rworkflows, | ||
testthat (>= 3.0.0), | ||
withr | ||
RoxygenNote: 7.3.1 |
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Version: 1.0 | ||
|
||
RestoreWorkspace: Default | ||
SaveWorkspace: Default | ||
AlwaysSaveHistory: Default | ||
|
||
EnableCodeIndexing: Yes | ||
UseSpacesForTab: Yes | ||
NumSpacesForTab: 2 | ||
Encoding: UTF-8 | ||
|
||
RnwWeave: Sweave | ||
LaTeX: pdfLaTeX | ||
|
||
AutoAppendNewline: Yes | ||
StripTrailingWhitespace: Yes |
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,2 @@ | ||
# Generated by roxygen2: do not edit by hand | ||
|
Empty file.
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,12 @@ | ||
# This file is part of the standard setup for testthat. | ||
# It is recommended that you do not modify it. | ||
# | ||
# Where should you do additional test configuration? | ||
# Learn more about the roles of various files in: | ||
# * https://r-pkgs.org/testing-design.html#sec-tests-files-overview | ||
# * https://testthat.r-lib.org/articles/special-files.html | ||
|
||
library(testthat) | ||
library(MotifStats) | ||
|
||
test_check("MotifStats") |
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,3 @@ | ||
test_that("multiplication works", { | ||
expect_equal(2 * 2, 4) | ||
}) |