Skip to content

Commit

Permalink
update license.
Browse files Browse the repository at this point in the history
  • Loading branch information
jianhong committed Jul 25, 2024
1 parent 9c38abc commit b5f4f2a
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 41 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/basic_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,35 @@ jobs:
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
CRAN: https://packagemanager.posit.co/cran/__linux__/jammy/latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Query dependencies and update old packages
run: |
BiocManager::install(ask=FALSE)
install.packages('remotes')
dir.create(".github")
saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2)
shell: Rscript {0}

- name: Cache R packages
if: runner.os != 'Windows'
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: /usr/local/lib/R/site-library
key: ${{ env.cache-version }}-${{ runner.os }}-r-${{ hashFiles('.github/depends.Rds') }}
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-r-

# This lets us augment with additional dependencies
- name: Install system dependencies
if: runner.os == 'Linux'
env:
RHUB_PLATFORM: linux-x86_64-ubuntu-gcc
run: |
Rscript -e "remotes::install_github('r-hub/sysreqs')"
sysreqs=$(Rscript -e "cat(sysreqs::sysreq_commands('DESCRIPTION'))")
sudo -s eval "$sysreqs"
# - name: Install system dependencies
# if: runner.os == 'Linux'
# env:
# RHUB_PLATFORM: linux-x86_64-ubuntu-gcc
# run: |
# Rscript -e "remotes::install_github('r-hub/sysreqs')"
# sysreqs=$(Rscript -e "cat(sysreqs::sysreq_commands('DESCRIPTION'))")
# sudo -s eval "$sysreqs"

- name: Install dependencies
run: |
Expand Down
28 changes: 0 additions & 28 deletions .github/workflows/push_docker.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Package: basicBioinformaticsDRC2023
Package: basicBioinformaticsDRC2024
Type: Package
Version: 1.0.6
Title: DRC2024 basic bioinformatics
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
YEAR: 2023
YEAR: 2024
COPYRIGHT HOLDER: Jianhong Ou
Binary file removed inst/images/dockerhub_result.png
Binary file not shown.

0 comments on commit b5f4f2a

Please sign in to comment.