Skip to content

Commit f62df88

Browse files
authored
Merge pull request #50 from jasenfinch/devel
v0.9.5
2 parents b4df361 + b111c1a commit f62df88

File tree

111 files changed

+86
-22630
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+86
-22630
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ on:
55
branches: [main, master, devel]
66
pull_request:
77
branches: [main, master]
8-
schedule:
9-
- cron: '0 0 * * *'
108

119
name: R-CMD-check
1210

@@ -40,29 +38,13 @@ jobs:
4038
r-version: ${{ matrix.config.r }}
4139
http-user-agent: ${{ matrix.config.http-user-agent }}
4240
use-public-rspm: true
43-
41+
4442
- name: Install system dependencies
4543
if: runner.os == 'Linux'
4644
run: sudo apt-get install -y libgit2-dev
47-
45+
4846
- uses: r-lib/actions/setup-r-dependencies@v1
4947
with:
5048
extra-packages: rcmdcheck
5149

5250
- uses: r-lib/actions/check-r-package@v1
53-
54-
- name: Show testthat output
55-
if: always()
56-
run: find check -name 'testthat.Rout*' -exec cat '{}' \; || true
57-
shell: bash
58-
59-
- name: Test coverage
60-
run: covr::codecov()
61-
shell: Rscript {0}
62-
63-
- name: Upload check results
64-
if: failure()
65-
uses: actions/upload-artifact@main
66-
with:
67-
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
68-
path: check

.github/workflows/pkgdown.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
on:
4+
push:
5+
branches: [main, master]
6+
release:
7+
types: [published]
8+
workflow_dispatch:
9+
10+
name: pkgdown
11+
12+
jobs:
13+
pkgdown:
14+
runs-on: ubuntu-latest
15+
env:
16+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
17+
steps:
18+
- uses: actions/checkout@v2
19+
20+
- uses: r-lib/actions/setup-pandoc@v1
21+
22+
- uses: r-lib/actions/setup-r@v1
23+
with:
24+
use-public-rspm: true
25+
26+
- name: Install system dependencies
27+
if: runner.os == 'Linux'
28+
run: sudo apt-get install -y libgit2-dev
29+
30+
- uses: r-lib/actions/setup-r-dependencies@v1
31+
with:
32+
extra-packages: pkgdown
33+
needs: website
34+
35+
- name: Deploy package
36+
run: |
37+
git config --local user.name "$GITHUB_ACTOR"
38+
git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com"
39+
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
branches: [main, master]
8+
9+
name: test-coverage
10+
11+
jobs:
12+
test-coverage:
13+
runs-on: ubuntu-latest
14+
env:
15+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
20+
- uses: r-lib/actions/setup-r@v1
21+
with:
22+
use-public-rspm: true
23+
24+
- name: Install system dependencies
25+
if: runner.os == 'Linux'
26+
run: sudo apt-get install -y libgit2-dev
27+
28+
- uses: r-lib/actions/setup-r-dependencies@v1
29+
with:
30+
extra-packages: covr
31+
32+
- name: Test coverage
33+
run: covr::codecov()
34+
shell: Rscript {0}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ inst/doc
66
/doc/
77
/Meta/
88
Example_project
9+
docs

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: metaboWorkflows
22
Title: Workflow Project Templates for Metabolomics Analyses
3-
Version: 0.9.4
3+
Version: 0.9.5
44
Authors@R: person("Jasen", "Finch", email = "jsf9@aber.ac.uk", role = c("aut", "cre"))
55
Description: Reproducible workflow project templates for metabolomics analyses using the `hrm` <https://jasenfinch.github.io/hrm/> R package ecosystem.
66
URL: https://jasenfinch.github.io/metaboWorkflows

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# metaboWorkflows 0.9.5
2+
3+
* The correct sample information table is now exported for the pre-treated data.
4+
15
# metaboWorkflows 0.9.4
26

37
* Plotting and summary targets added to the spectral processing module for profiling workflows.

R/targets.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,8 @@ pre_treatment_commands <- list(
349349
type = "pre-treated",
350350
outPath = "exports/pre-treated")',
351351
export_pre_treatment_sample_info = 'metaboMisc::exportSampleInfo(results_pre_treatment,
352-
outPath = "exports/pre-treated")',
352+
type = "pre-treated",
353+
outPath = "exports/pre-treated")',
353354
plot_PCA = 'metabolyseR::plotPCA(results_pre_treatment,
354355
type = "pre-treated")',
355356
plot_LDA = 'metabolyseR::plotLDA(results_pre_treatment,

_pkgdown.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
url: https://jasenfinch.github.io/metaboWorkflows/
2+
template:
3+
bootstrap: 5
4+

docs/404.html

Lines changed: 0 additions & 118 deletions
This file was deleted.

0 commit comments

Comments
 (0)