1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-26 05:26:13 +01:00

(v1.6.0.9032) unit tests

This commit is contained in:
dr. M.S. (Matthijs) Berends 2021-05-15 21:54:56 +02:00
parent d8c91d5876
commit 86736ab9a7
4 changed files with 9 additions and 3 deletions

View File

@ -108,6 +108,12 @@ jobs:
run: | run: |
sudo apt install -y libssl-dev pandoc pandoc-citeproc libxml2-dev libicu-dev libcurl4-openssl-dev sudo apt install -y libssl-dev pandoc pandoc-citeproc libxml2-dev libicu-dev libcurl4-openssl-dev
- name: Install AMR package
if: always()
run: |
R CMD install data-raw/AMR_latest.tar.gz
shell: bash
- name: Update package dependencies - name: Update package dependencies
run: | run: |
source("data-raw/_install_deps.R") source("data-raw/_install_deps.R")

View File

@ -1,5 +1,5 @@
Package: AMR Package: AMR
Version: 1.6.0.9031 Version: 1.6.0.9032
Date: 2021-05-15 Date: 2021-05-15
Title: Antimicrobial Resistance Data Analysis Title: Antimicrobial Resistance Data Analysis
Authors@R: c( Authors@R: c(

View File

@ -1,4 +1,4 @@
# `AMR` 1.6.0.9031 # `AMR` 1.6.0.9032
## <small>Last updated: 15 May 2021</small> ## <small>Last updated: 15 May 2021</small>
### New ### New

View File

@ -23,7 +23,7 @@
# how to conduct AMR data analysis: https://msberends.github.io/AMR/ # # how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
# ==================================================================== # # ==================================================================== #
pkg_suggests <- trimws(unlist(strsplit(packageDescription("AMR")$Suggests, ",(\n)?"))) pkg_suggests <- AMR:::trimws(unlist(strsplit(packageDescription("AMR")$Suggests, ",(\n)?")))
to_install <- pkg_suggests[!pkg_suggests %in% rownames(utils::installed.packages())] to_install <- pkg_suggests[!pkg_suggests %in% rownames(utils::installed.packages())]
to_update <- as.data.frame(old.packages(), stringsAsFactors = FALSE) to_update <- as.data.frame(old.packages(), stringsAsFactors = FALSE)