Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
204 commits
Select commit Hold shift + click to select a range
f4b91fe
Update version to 0.99.2
adeschen Jan 31, 2017
9219c12
Add validation for function arguments offering canditate values. Upda…
adeschen Feb 1, 2017
4b29079
Update to 0.99.3
adeschen Feb 2, 2017
d2e60e0
Update R version to devel
adeschen Feb 14, 2017
aaa9cff
Remove packages caching in travis
adeschen Feb 14, 2017
2ca8028
Using r devel
adeschen Feb 14, 2017
65d5849
Remove methods package from travis
adeschen Feb 14, 2017
98ae67a
Adding Rhtslib package in travis
adeschen Feb 14, 2017
336d214
add env global in travis
adeschen Feb 14, 2017
bde1994
Change indent in man page examples section. This closes #4.
adeschen Feb 16, 2017
79aa17d
Correct misspelled function names in vignette. This closes #5.
adeschen Feb 16, 2017
4df78e0
Change dir() use to system.file(). This closes #6.
adeschen Feb 16, 2017
82b00b6
Add trusty distribution to travis file
adeschen Feb 17, 2017
cb6310f
Remove r_build_args and r_check_args in travis file
adeschen Feb 17, 2017
137f761
Remove slot() function in vignette. This closes #7.
adeschen Feb 17, 2017
ed80b50
Clean travis file
adeschen Feb 17, 2017
cac24a8
Merge runPermutationUsingMethylKitInfo() and runPermutationUsingRDSFi…
adeschen Feb 17, 2017
6ddb9b3
Add example using using RDS file name
adeschen Feb 17, 2017
35cd71b
Merge runObservationUsingMethylKitInfo() and runObservationUsingRDSFi…
adeschen Feb 20, 2017
5ec3ecb
Adding suppressWarnings() to calculateDiffMeth() function. This close…
adeschen Feb 21, 2017
1bed918
Correct problem in the calculation of the number of generations in pr…
adeschen Feb 21, 2017
da4b4e2
Remove \dontrun from examples
adeschen Feb 21, 2017
763c0a6
Remove \dontrun from examples. This closes #11.
adeschen Feb 21, 2017
bfd90e6
Correct problem in saveInterGenerationResults() example. Correct typos.
adeschen Feb 22, 2017
1988749
Correct typos in vignette
adeschen Feb 22, 2017
1282746
Correct typos in datasets man pages and package man page
adeschen Feb 22, 2017
006c816
Correct typo in loadAllRDSResults(), runObservation() and run Permuta…
adeschen Feb 23, 2017
4f42ff0
Change permutated to shuffled in man pages and vignette
adeschen Feb 23, 2017
09efa24
Update extractInfo() man page
adeschen Feb 23, 2017
66c8833
Add detail information of the returned value in mergePermutationAndOb…
adeschen Feb 24, 2017
ce1ed33
Remove detail description of returned value in loadAllRDSResults() ma…
adeschen Feb 24, 2017
a979503
Merge pull request #13 from adeschen/R_Version_Update
adeschen Feb 24, 2017
92bb576
Move from version 0.99.3 to 0.99.4
adeschen Feb 24, 2017
2fb8cce
Adding RaggedExperiment, basecallQC, CATALYST, GenomicScores, IMAS, s…
Apr 7, 2017
ab850fd
Adding RaggedExperiment, basecallQC, CATALYST, GenomicScores, IMAS, s…
Apr 7, 2017
3860a5d
Add checkpoint possibility
adeschen Apr 12, 2017
5b43371
Better description of restartCalculation parameter
adeschen Apr 13, 2017
f442fd2
Merge pull request #14 from adeschen/restartCalculation
adeschen Apr 13, 2017
3c50e95
Solve problem in plotGraph() function
adeschen Apr 13, 2017
c799105
Add validation for new parameter restartCalculation
adeschen Apr 13, 2017
1532e95
Adding URL and BugReports fields to DESCRIPTION
adeschen Apr 13, 2017
063dd3f
Solve note caused by plotgraph() function
adeschen Apr 13, 2017
5c18c1d
Add new section to vignette
adeschen Apr 13, 2017
1a38495
Merge branch 'restartCalculation'
adeschen Apr 13, 2017
3599adf
Change name of one parameter in calculateDiffMeth()
adeschen Apr 18, 2017
7b522f9
Update link to methylInheritance package
adeschen Apr 18, 2017
46f12b8
Save temp file
adeschen Apr 18, 2017
0e9fafb
Update vignette. Correct typo in man pages.
adeschen Apr 19, 2017
acfa507
Merge pull request #15 from adeschen/calculateDiffMeth
adeschen Apr 19, 2017
efab8fd
Adding saveInfoByGeneration parameter
adeschen Apr 20, 2017
42eb46b
Merge with master
adeschen Apr 20, 2017
78375b6
Merge with master
Apr 20, 2017
67b0236
Merge with master
Apr 20, 2017
a802e15
Update version
Apr 20, 2017
7f31667
Update version
Apr 20, 2017
f53df0b
Merge branch 'devel'
adeschen Apr 20, 2017
71b0557
Change param used by bplapply
adeschen Apr 23, 2017
c9be540
Change to mclapply
adeschen Apr 23, 2017
3155a8c
Temporary remove output
adeschen Apr 24, 2017
d29efc0
bump x.y.z versions to even y prior to creation of 3_5 branch
Apr 24, 2017
92eabbf
bump x.y.z versions to odd y after creation of 3_5 branch
Apr 24, 2017
854f667
Split by nbre of cores
adeschen Apr 27, 2017
65e67e5
Correction in acknowledgment
adeschen May 8, 2017
45f6d7e
Adding plotConvergence() function
adeschen May 8, 2017
9dad395
Merge
adeschen May 8, 2017
a8176bb
Correction in plotConvergence()
adeschen May 8, 2017
530bcb5
Update convergence functions
adeschen May 10, 2017
16ecbb3
Adding unit tests. Cleaning code of plotConvergenceGraph().
adeschen May 10, 2017
d41f7e1
Adding unit tests
adeschen May 11, 2017
cbfd01a
Adding unit tests
adeschen May 12, 2017
b758b69
Adding unit test
adeschen May 12, 2017
aa024a6
Adding unit test
adeschen May 12, 2017
795c4f5
Adding unit tests for interGeneration() function
adeschen May 15, 2017
c1b3f17
Fixed conflicts in version change.
adeschen Oct 3, 2017
d131144
Adding Bioconductor section to README
adeschen Oct 3, 2017
9557f16
Update README.md
adeschen Oct 3, 2017
4fdd2ab
Merge branch 'master' of https://github.com/adeschen/methylInheritanc…
adeschen Oct 9, 2017
27fd8fb
Validating that DME analysis has been processed on data before saving…
adeschen Oct 11, 2017
2986110
Changing code to fit the new output of runObservation() and runPermut…
adeschen Oct 12, 2017
9c516d2
Remove messages generated by methylKit. Update documentation.
adeschen Oct 12, 2017
fed658b
Update NEWS and package version
adeschen Oct 12, 2017
4fc1dc2
Update name of methInheritSim package and add it to the description file
adeschen Oct 12, 2017
8c1ea24
Updating documentation related to methods
adeschen Oct 13, 2017
018fdaf
Update doc for runObservation() and runPermutation()
adeschen Oct 13, 2017
c3fd20d
Update version
adeschen Oct 13, 2017
b83cd5a
Adding unit test for runPermutation
adeschen Oct 13, 2017
6c99488
Update .travis.yml
adeschen Oct 13, 2017
fae5465
Update .travis.yml
adeschen Oct 13, 2017
423ee94
Update documentation. Add unit tests.
adeschen Oct 13, 2017
aba0ca6
Update .travis.yml
adeschen Oct 13, 2017
0e2c584
Update version to 1.1.3
adeschen Oct 13, 2017
79fb3f8
Add URL and BugReport to DESCRIPTION. Update version.
adeschen Oct 14, 2017
afeb6cc
bump x.y.z versions to even y prior to creation of RELEASE_3_6 branch
hpages Oct 30, 2017
717cd4e
bump x.y.z versions to odd y after creation of RELEASE_3_6 branch
hpages Oct 30, 2017
3804614
Update unit tests that were failing due to modifications in Bioconductor
adeschen Feb 24, 2018
4575dca
Update .travis.yml
adeschen Feb 26, 2018
3056e3e
Update to version 1.3.1
adeschen Feb 26, 2018
777ea0c
Update README.md
adeschen Mar 22, 2018
19774e8
Merge branch 'master' of https://github.com/adeschen/methylInheritance
adeschen Mar 25, 2018
9a3ac22
Adding README text file
adeschen Mar 25, 2018
82dec2d
Updating version to 1.3.2
adeschen Mar 25, 2018
99a0dd5
Update README file
adeschen Mar 25, 2018
cf3b4e9
bump x.y.z versions to even y prior to creation of RELEASE_3_7 branch
Apr 30, 2018
ba941c6
bump x.y.z versions to odd y after creation of RELEASE_3_7 branch
Apr 30, 2018
3706eda
Merge remote-tracking branch 'upstream/master'
adeschen Jul 18, 2018
18e9522
Update README
adeschen Jul 18, 2018
c392039
Remove README file
adeschen Jul 18, 2018
728d510
Adding CITATION file
adeschen Jul 20, 2018
6a512fa
Update readme file
adeschen Aug 7, 2018
3ee796e
Update citing section of README
adeschen Aug 21, 2018
ba2db05
Update citing section in vignette
adeschen Aug 21, 2018
d97c3ce
Update man page with latest roxygen2
adeschen Aug 22, 2018
a866c6f
Update CITATION file
adeschen Aug 22, 2018
3ae4f7c
Update version and news file
adeschen Sep 29, 2018
c7fcdc1
Update package description
adeschen Sep 29, 2018
938b9ce
Update version to 1.5.2
adeschen Sep 29, 2018
54709a0
bump x.y.z versions to even y prior to creation of RELEASE_3_8 branch
vobencha Oct 30, 2018
27085af
bump x.y.z versions to odd y after creation of RELEASE_3_8 branch
vobencha Oct 30, 2018
219bf63
Update vignette so every section run
adeschen Nov 30, 2018
8862ccc
Adding ImmunoOncology to biocViews
adeschen Nov 30, 2018
9abe3d4
Update version to 1.7.1
adeschen Nov 30, 2018
0e5ea1e
Add license badge
adeschen Dec 5, 2018
a36360c
Update unit test to fit new version of methylKit
adeschen Apr 2, 2019
8560c11
Update release version to 1.7.2
adeschen Apr 2, 2019
3440afc
bump x.y.z versions to even y prior to creation of RELEASE…
nturaga May 2, 2019
f1eeeca
bump x.y.z versions to odd y after creation of RELEASE_3_9 branch
nturaga May 2, 2019
6822d45
bump x.y.z version to even y prior to creation of RELEASE_3_10 branch
nturaga Oct 29, 2019
f22c734
bump x.y.z version to odd y after creation of RELEASE_3_10 branch
nturaga Oct 29, 2019
1034a83
bump x.y.z version to even y prior to creation of RELEASE_3_11 branch
nturaga Apr 27, 2020
75d5d67
bump x.y.z version to odd y following creation of RELEASE_3_11 branch
nturaga Apr 27, 2020
ef7dbdb
bump x.y.z version to even y prior to creation of RELEASE_3_12 branch
nturaga Oct 27, 2020
97f8995
bump x.y.z version to odd y following creation of RELEASE_3_12 branch
nturaga Oct 27, 2020
976175d
New demo permutation/observation files in two different sub-directories
adeschen Apr 6, 2021
2e7dc1f
Correct bug in loadConvergenceData() when permutation files and obser…
adeschen Apr 6, 2021
c476def
Use bioc-release with travis
adeschen Apr 6, 2021
e6e22c8
Run roxygenise()
adeschen Apr 6, 2021
480c241
Change 1:... to seq_len()
adeschen Apr 6, 2021
985fca8
Change class() for is() and T/F to TRUE/FALSE in test units
adeschen Apr 6, 2021
29da895
Merge remote-tracking branch 'upstream/master'
adeschen Apr 7, 2021
8537c71
Update package to version 1.15.1
adeschen Apr 7, 2021
71a2022
Remove space around = when using named arguments in functions
adeschen Apr 7, 2021
a082ccc
Add github action bioc-check
adeschen Apr 7, 2021
257421c
Update cache in check-bioc.yml
adeschen Apr 19, 2021
0c4894a
bump x.y.z version to even y prior to creation of RELEASE_3_13 branch
nturaga May 19, 2021
8d56889
bump x.y.z version to odd y following creation of RELEASE_3_13 branch
nturaga May 19, 2021
0387c10
bump x.y.z version to even y prior to creation of RELEASE_3_14 branch
nturaga Oct 26, 2021
006bb9b
bump x.y.z version to odd y following creation of RELEASE_3_14 branch
nturaga Oct 26, 2021
1683f01
Pass serialized S4 instances thru updateObject()
hpages Nov 21, 2021
8a86ab8
bump x.y.z version to even y prior to creation of RELEASE_3_15 branch
nturaga Apr 26, 2022
bb91e6b
bump x.y.z version to odd y following creation of RELEASE_3_15 branch
nturaga Apr 26, 2022
e34c4cc
bump x.y.z version to even y prior to creation of RELEASE_3_16 branch
jwokaty Nov 1, 2022
4002def
bump x.y.z version to odd y following creation of RELEASE_3_16 branch
jwokaty Nov 1, 2022
4c831cb
bump x.y.z version to even y prior to creation of RELEASE_3_17 branch
jwokaty Apr 25, 2023
943d9f7
bump x.y.z version to odd y following creation of RELEASE_3_17 branch
jwokaty Apr 25, 2023
a5e1dc0
bump x.y.z version to even y prior to creation of RELEASE_3_18 branch
jwokaty Oct 24, 2023
352fa30
bump x.y.z version to odd y following creation of RELEASE_3_18 branch
jwokaty Oct 24, 2023
b0feb33
bump x.y.z version to even y prior to creation of RELEASE_3_19 branch
jwokaty Apr 30, 2024
9bfdd08
bump x.y.z version to odd y following creation of RELEASE_3_19 branch
jwokaty Apr 30, 2024
1d09366
bump x.y.z version to even y prior to creation of RELEASE_3_20 branch
jwokaty Oct 29, 2024
9150e3e
bump x.y.z version to odd y following creation of RELEASE_3_20 branch
jwokaty Oct 29, 2024
9a4cf58
bump x.y.z version to even y prior to creation of RELEASE_3_21 branch
jwokaty Apr 15, 2025
87b54aa
bump x.y.z version to odd y following creation of RELEASE_3_21 branch
jwokaty Apr 15, 2025
469f5a1
Merge remote-tracking branch 'upstream/devel'
adeschen Sep 15, 2025
0aad880
Update code to remove ggplot2 error and update doc
adeschen Sep 16, 2025
c7cf218
Update github action
adeschen Sep 16, 2025
5e932d1
Update github action
adeschen Sep 16, 2025
fae5e21
Update github action
adeschen Sep 16, 2025
de613d0
Update github action
adeschen Sep 16, 2025
fb7df38
Update github action
adeschen Sep 16, 2025
1125526
Update github action
adeschen Sep 16, 2025
3b7b9a3
Update github action
adeschen Sep 16, 2025
8f4cc23
Update github action
adeschen Sep 16, 2025
b453fed
Update github action
adeschen Sep 16, 2025
0e8550c
Update github action
adeschen Sep 16, 2025
4f1e67d
Update github action
adeschen Sep 16, 2025
d3b43af
Update items in doc
adeschen Sep 16, 2025
3fd5d59
Update items in doc
adeschen Sep 16, 2025
7eeef55
Update doc vor saveIneterGenrationResults()
adeschen Sep 16, 2025
be0c261
Update github action
adeschen Sep 16, 2025
a5daeb2
Update doc for readInterGenerationResults()
adeschen Sep 16, 2025
e60293c
Update runOnePermutationOnAllGenerations() doc
adeschen Sep 16, 2025
44405da
Update github action
adeschen Sep 16, 2025
8499da7
Update github action
adeschen Sep 16, 2025
b120837
Update github action
adeschen Sep 16, 2025
43f8772
Update github action
adeschen Sep 16, 2025
829a146
Update github action
adeschen Sep 16, 2025
5550b73
Update doc for demoForTransgenerationalAnalysis dataset
adeschen Sep 16, 2025
b1f4269
Update github action
adeschen Sep 16, 2025
c3790e2
Update github action
adeschen Sep 16, 2025
0f51649
Update github action
adeschen Sep 16, 2025
24a6d84
Update github action
adeschen Sep 16, 2025
5a99560
Update check-bioc.yml
adeschen Sep 16, 2025
7c66874
Merge pull request #19 from adeschen/adeschen-patch-1
adeschen Sep 16, 2025
5fe7c8b
Update doc
adeschen Sep 16, 2025
7be3026
Update doc
adeschen Sep 16, 2025
8bce9e0
Update package version to 1.33.1
adeschen Sep 16, 2025
341e6c1
Update doc
adeschen Sep 16, 2025
63ee792
Update github action
adeschen Sep 16, 2025
123991a
Update github action
adeschen Sep 16, 2025
903325d
Update github action
adeschen Sep 16, 2025
2aeef88
Update github action
adeschen Sep 16, 2025
08c285e
Update github action
adeschen Sep 16, 2025
7d618f3
Update github action
adeschen Sep 16, 2025
6ea2771
New github test coverage action
adeschen Sep 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
^.*\.Rproj$
^\.Rproj\.user$

## Ignore travis config file
^\.travis\.yml$
^\.travis\.yml$
^\.github$
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
283 changes: 283 additions & 0 deletions .github/workflows/check-bioc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,283 @@
## Read more about GitHub actions the features of this GitHub Actions workflow
## at https://lcolladotor.github.io/biocthis/articles/biocthis.html#use_bioc_github_action
##
## For more details, check the biocthis developer notes vignette at
## https://lcolladotor.github.io/biocthis/articles/biocthis_dev_notes.html
##
## You can add this workflow to other packages using:
## > biocthis::use_bioc_github_action()
##
## Using GitHub Actions exposes you to many details about how R packages are
## compiled and installed in several operating system.s
### If you need help, please follow the steps listed at
## https://github.com/r-lib/actions#where-to-find-help
##
## If you found an issue specific to biocthis's GHA workflow, please report it
## with the information that will make it easier for others to help you.
## Thank you!

## Acronyms:
## * GHA: GitHub Action
## * OS: operating system

on:
push:
pull_request:

name: R-CMD-check-bioc

## These environment variables control whether to run GHA code later on that is
## specific to testthat, covr, and pkgdown.
##
## If you need to clear the cache of packages, update the number inside
## cache-version as discussed at https://github.com/r-lib/actions/issues/86.
## Note that you can always run a GHA test without the cache by using the word
## "/nocache" in the commit message.
env:
has_testthat: 'false'
run_covr: 'false'
run_pkgdown: 'true'
has_RUnit: 'true'
cache-version: 'cache-v9'

jobs:
build-check:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (R ${{ matrix.config.r }}) (Bioc ${{ matrix.config.bioc }})
container: ${{ matrix.config.cont }}
## Environment variables unique to this job.

strategy:
fail-fast: false
matrix:
config:
##- { os: ubuntu-latest, r: 'devel', bioc: '3.22', cont: "bioconductor/bioconductor_docker:RELEASE_3_22", rspm: "https://packagemanager.posit.co/cran/__linux__/jammy/latest" }
- { os: ubuntu-latest, r: 'devel', bioc: '3.22'}
- { os: ubuntu-latest, r: '4.5.1', bioc: '3.21', cont: "bioconductor/bioconductor_docker:RELEASE_3_21"}
- { os: macOS-latest, r: '4.5.1', bioc: '3.21'}
- { os: windows-latest, r: '4.5.1', bioc: '3.21'}

env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
RSPM: ${{ matrix.config.rspm }}
NOT_CRAN: true
TZ: UTC
_R_CHECK_SYSTEM_CLOCK_: FALSE
R_LIBS_USER: tempdir/Library
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:

## Set the R library to the directory matching the
## R packages cache step further below when running on Docker (Linux).
- name: Set R Library home on Linux
if: runner.os == 'Linux'
uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
## run: |
## mkdir -p /__w/_temp/Library
## echo ".libPaths('/__w/_temp/Library')" > ~/.Rprofile

## Most of these steps are the same as the ones in
## https://github.com/r-lib/actions/blob/master/examples/check-standard.yaml
## If they update their steps, we will also need to update ours.
- name: Checkout Repository
uses: actions/checkout@v4

## R is already included in the Bioconductor docker images
- name: Setup R from r-lib
if: runner.os != 'Linux'
uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}


## pandoc is already included in the Bioconductor docker images
- name: Setup pandoc from r-lib
if: runner.os != 'Linux'
uses: r-lib/actions/setup-pandoc@v2

- name: Query dependencies
run: |
install.packages('remotes')
saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2)
shell: Rscript {0}

- name: Cache R packages
if: "!contains(github.event.head_commit.message, '/nocache') && runner.os != 'Linux'"
uses: actions/cache@v4
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_$${{ matrix.config.bioc }}-$${{ matrix.config.r }}-${{ hashFiles('.github/depends.Rds') }}
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_$${{ matrix.config.bioc }}-r-${{ matrix.config.r }}-

- name: Cache R packages on Linux
if: "!contains(github.event.head_commit.message, '/nocache') && runner.os == 'Linux' "
uses: actions/cache@v4
with:
path: /home/runner/work/_temp/Library
key: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_$${{ matrix.config.bioc }}-r-${{ matrix.config.r }}--${{ hashFiles('.github/depends.Rds') }}
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-biocversion-RELEASE_$${{ matrix.config.bioc }}-r-${{ matrix.config.r }}-

- name: Install Linux system dependencies
if: runner.os == 'Linux'
run: |
##sysreqs=$(Rscript -e 'remotes::system_requirements("ubuntu", "20.04")')
##echo $sysreqs
##sudo -s eval "$sysreqs"

## sysreqs=$(Rscript -e 'cat("apt-get update -y && apt-get install -y", paste(gsub("apt-get install -y ", "", remotes::system_requirements("ubuntu", "20.04")), collapse = " "))')
## echo $sysreqs
## sudo -s eval "$sysreqs"

- name: Install macOS system dependencies
if: matrix.config.os == 'macOS-latest'
run: |
## Enable installing XML from source if needed
brew install libxml2
echo "XML_CONFIG=/usr/local/opt/libxml2/bin/xml2-config" >> $GITHUB_ENV

## Required to install magick as noted at
## https://github.com/r-lib/usethis/commit/f1f1e0d10c1ebc75fd4c18fa7e2de4551fd9978f#diff-9bfee71065492f63457918efcd912cf2
brew install imagemagick@6

## For textshaping, required by ragg, and required by pkgdown
brew install harfbuzz fribidi

## For installing usethis's dependency gert
brew install libgit2

- name: Install Windows system dependencies
if: runner.os == 'Windows'
run: |
## Edit below if you have any Windows system dependencies
shell: Rscript {0}

- name: Install BiocManager
run: |
message(paste('****', Sys.time(), 'installing BiocManager ****'))
remotes::install_cran("BiocManager")
shell: Rscript {0}

- name: Set BiocVersion
run: |
BiocManager::install(version = "${{ matrix.config.bioc }}", update = FALSE, ask = FALSE)
shell: Rscript {0}

- name: Install dependencies pass 1
run: |
## Try installing the package dependencies in steps. First the local
## dependencies, then any remaining dependencies to avoid the
## issues described at
## https://stat.ethz.ch/pipermail/bioc-devel/2020-April/016675.html
## https://github.com/r-lib/remotes/issues/296
## Ideally, all dependencies should get installed in the first pass.

## Pass #1 at installing dependencies
message(paste('****', Sys.time(), 'pass number 1 at installing dependencies: local dependencies ****'))
remotes::install_local(dependencies = TRUE, repos = BiocManager::repositories(), build_vignettes = TRUE, upgrade = TRUE, force = TRUE)
continue-on-error: true
shell: Rscript {0}

- name: Install dependencies pass 2
run: |
## Pass #2 at installing dependencies
message(paste('****', Sys.time(), 'pass number 2 at installing dependencies: any remaining dependencies ****'))
remotes::install_local(dependencies = TRUE, repos = BiocManager::repositories(), build_vignettes = TRUE, upgrade = TRUE, force = TRUE)

## For running the checks
message(paste('****', Sys.time(), 'installing rcmdcheck and BiocCheck ****'))
remotes::install_cran("rcmdcheck")
BiocManager::install("BiocCheck")
shell: Rscript {0}

- name: Install BiocGenerics
if: env.has_RUnit == 'true'
run: |
## Install BiocGenerics
BiocManager::install("BiocGenerics")
shell: Rscript {0}

- name: Install covr
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' && env.run_covr == 'true' && runner.os == 'Linux'
run: |
remotes::install_cran("covr")
shell: Rscript {0}

- name: Install pkgdown
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' && env.run_pkgdown == 'true' && runner.os == 'Linux'
run: |
remotes::install_cran("pkgdown")
shell: Rscript {0}

- name: Session info
run: |
options(width = 100)
pkgs <- installed.packages()[, "Package"]
sessioninfo::session_info(pkgs, include_base = TRUE)
shell: Rscript {0}

- name: Run CMD check
env:
_R_CHECK_CRAN_INCOMING_: false
run: |
rcmdcheck::rcmdcheck(
args = c("--no-build-vignettes", "--no-manual", "--timings"),
build_args = c("--no-manual", "--no-resave-data"),
error_on = "error",
check_dir = "check"
)
shell: Rscript {0}

## Might need an to add this to the if: && runner.os == 'Linux'
- name: Reveal testthat details
if: env.has_testthat == 'true'
run: find . -name testthat.Rout -exec cat '{}' ';'

- name: Run RUnit tests
if: env.has_RUnit == 'true'
run: |
BiocGenerics:::testPackage()
shell: Rscript {0}

- name: Run BiocCheck
run: |
BiocCheck::BiocCheck(
dir('check', 'tar.gz$', full.names = TRUE),
`quit-with-status` = TRUE,
`no-check-R-ver` = TRUE,
`no-check-bioc-help` = TRUE
)
shell: Rscript {0}

- name: Test coverage
if: github.ref == 'refs/heads/main' && env.run_covr == 'true' && runner.os == 'Linux'
run: |
covr::codecov()
shell: Rscript {0}

- name: Install package
if: github.ref == 'refs/heads/main' && env.run_pkgdown == 'true' && runner.os == 'Linux'
run: R CMD INSTALL .

- name: Deploy package
if: github.ref == 'refs/heads/main' && env.run_pkgdown == 'true' && runner.os == 'Linux'
run: |
git config --global --add safe.directory '*'
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com"
Rscript -e "pkgdown::deploy_to_branch(new_process = FALSE)"
shell: bash {0}
## Note that you need to run pkgdown::deploy_to_branch(new_process = FALSE)
## at least one locally before this will work. This creates the gh-pages
## branch (erasing anything you haven't version controlled!) and
## makes the git history recognizable by pkgdown.

- name: Upload check results
if: failure()
uses: actions/upload-artifact@master
with:
name: ${{ runner.os }}-biocversion-RELEASE_3_15-r-4.2.2-results
path: check
31 changes: 31 additions & 0 deletions .github/workflows/test-coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
pull_request:

name: test-coverage

jobs:
test-coverage:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v4

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

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::covr
needs: coverage

- name: Test coverage
run: covr::codecov(quiet = FALSE)
shell: Rscript {0}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
30 changes: 7 additions & 23 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,21 @@ sudo: required
r: bioc-release

# Package caching only makes sense for the release versions.
cache: packages
#cache: packages

# Packages from Bioconductor needed
#bioc_packages:
# - BiocParallel
# - GenomicRanges
# - IRanges
# - S4Vectors
# - methods
# - gridExtra
# - BiocStyle
# - BiocGenerics
bioc_required: true

# Be strict when checking package
warnings_are_errors: true

r_build_args: "--no-manual --no-resave-data --keep-empty-dirs"
r_build_args: "--no-manual --no-resave-data"
r_check_args: "--no-build-vignettes --no-manual --timings"

# Package dependencies from CRAN not in DESCRIPTION file
r_binary_packages:
- covr
# - RUnit
# - knitr
# - rmarkdown
# - ggplot2
# Package dependencies from CRAN
r_packages:
- covr

#r_github_packages:
# - Bioconductor-mirror/rtracklayer@release-3.3
# - al2na/methylKit

# To send info to codecov
# When travis end with success, call codecov
after_success:
- Rscript -e 'library(covr);codecov()'
Loading