-
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 branch 'development' of github.com:saezlab/MetaProViz into deve…
…lopment
- Loading branch information
Showing
15 changed files
with
350 additions
and
110 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,7 @@ | ||
[bumpversion] | ||
current_version = 2.1.1 | ||
commit = True | ||
tag = True | ||
files = DESCRIPTION README.md README.Rmd | ||
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+) | ||
serialize = {major}.{minor}.{patch} |
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,38 @@ | ||
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples and adapted | ||
on: | ||
push: | ||
branches: [main] | ||
|
||
name: Build_gh-pages.yml #shown when action is run | ||
|
||
jobs: | ||
pkgdown: | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} #to push results to gh-pages branch! | ||
steps: #Series of steps that is executed sequencially: https://github.com/r-lib/actions/ | ||
- uses: actions/checkout@v4 # goes to gh-pages branch to work there | ||
|
||
- uses: r-lib/actions/setup-pandoc@v2 #installs pandoc | ||
|
||
- uses: r-lib/actions/setup-r@v2 #installs R | ||
with: | ||
use-public-rspm: true | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
extra-packages: any::pkgdown, local::. | ||
needs: website | ||
|
||
- name: Build site | ||
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE) | ||
shell: Rscript {0} | ||
|
||
- name: Deploy to GitHub pages 🚀 | ||
if: github.event_name != 'pull_request' | ||
uses: JamesIves/[email protected] | ||
with: | ||
clean: false | ||
branch: gh-pages | ||
folder: docs |
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/v2/examples | ||
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | ||
# This workflow tests if the package can be installed from github from within | ||
# a github action. | ||
on: | ||
push: | ||
branches: [development, main] | ||
|
||
name: R-CMD-check | ||
|
||
jobs: | ||
R-CMD-check: | ||
runs-on: ${{ matrix.config.os }} | ||
|
||
name: ${{ matrix.config.os }} (${{ matrix.config.r }}) | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
config: | ||
- {os: macos-latest, r: 'release'} | ||
- {os: ubuntu-latest, r: 'release'} | ||
|
||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
R_KEEP_PKG_SOURCE: yes | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: r-lib/actions/setup-pandoc@v2 | ||
|
||
- name: Install libglpk40 | ||
if: ${{ matrix.config.os == 'ubuntu-latest' }} | ||
run: sudo apt-get install -y libglpk40 | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
r-version: ${{ matrix.config.r }} | ||
http-user-agent: ${{ matrix.config.http-user-agent }} | ||
use-public-rspm: true | ||
|
||
- name: Install pak | ||
run: Rscript -e 'install.packages("pak")' | ||
|
||
- name: Install MetaProViz from git by pak | ||
run: Rscript -e 'pak::pkg_install("saezlab/MetaProViz")' #we install from GitHub as if we are a random user |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Package: MetaProViz | ||
Title: METabolomics pre-PRocessing, functiOnal analysis and VIZualisation | ||
Version: 2.1.0 | ||
Version: 2.1.1 | ||
Authors@R: c( | ||
person("Christina", "Schmidt", , "[email protected]", role = c("aut", "cre"), | ||
comment = c(ORCID = "0000-0002-3867-0881")), | ||
|
@@ -31,16 +31,24 @@ Depends: | |
R (>= 4.4.1), | ||
ggplot2 (>= 3.3.5) | ||
Imports: | ||
clusterProfiler, | ||
cosmosR, | ||
dplyr, | ||
EnhancedVolcano, | ||
factoextra, | ||
ggbeeswarm, | ||
ggfortify, | ||
ggplot2, | ||
ggupset, | ||
ggVennDiagram, | ||
grid, | ||
gridExtra, | ||
gtools, | ||
hash, | ||
inflection, | ||
kableExtra, | ||
KEGGREST, | ||
limma, | ||
logger, | ||
magrittr, | ||
OmnipathR, | ||
|
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
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
Oops, something went wrong.