mirror of
https://github.com/msberends/AMR.git
synced 2025-01-16 06:41:38 +01:00
Compare commits
No commits in common. "743479d46062e9e09178dc9f5b4d57274828b72b" and "b089f7a5d74f711184f2be8099df60ab029ed7ee" have entirely different histories.
743479d460
...
b089f7a5d7
@ -31,13 +31,11 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
# run in each PR in this repo
|
# run in each PR in this repo
|
||||||
branches: '**'
|
branches: '**'
|
||||||
push:
|
|
||||||
branches: '**'
|
|
||||||
|
|
||||||
name: check-devel
|
name: R-code-check-PR
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
R-code-check:
|
R-code-check-PR:
|
||||||
runs-on: ${{ matrix.config.os }}
|
runs-on: ${{ matrix.config.os }}
|
||||||
|
|
||||||
continue-on-error: ${{ matrix.config.allowfail }}
|
continue-on-error: ${{ matrix.config.allowfail }}
|
||||||
@ -49,8 +47,11 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
config:
|
config:
|
||||||
- {os: macOS-latest, r: 'devel', allowfail: true}
|
- {os: macOS-latest, r: 'devel', allowfail: true}
|
||||||
|
- {os: macOS-latest, r: 'release', allowfail: false}
|
||||||
- {os: ubuntu-latest, r: 'devel', allowfail: true}
|
- {os: ubuntu-latest, r: 'devel', allowfail: true}
|
||||||
|
- {os: ubuntu-latest, r: 'release', allowfail: false}
|
||||||
- {os: windows-latest, r: 'devel', allowfail: true}
|
- {os: windows-latest, r: 'devel', allowfail: true}
|
||||||
|
- {os: windows-latest, r: 'release', allowfail: false}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
|
@ -36,7 +36,7 @@ on:
|
|||||||
# this is to check that all dependencies are still available (see R/zzz.R)
|
# this is to check that all dependencies are still available (see R/zzz.R)
|
||||||
- cron: '0 1 * * *'
|
- cron: '0 1 * * *'
|
||||||
|
|
||||||
name: check-release
|
name: R-code-check
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
R-code-check:
|
R-code-check:
|
||||||
@ -50,21 +50,24 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
config:
|
config:
|
||||||
# test all released versions of R >= 3.0, we support them all!
|
# test all systems against all released versions of R >= 3.0, we support them all!
|
||||||
|
- {os: macOS-latest, r: 'devel', allowfail: true}
|
||||||
- {os: macOS-latest, r: '4.2', allowfail: false}
|
- {os: macOS-latest, r: '4.2', allowfail: false}
|
||||||
- {os: macOS-latest, r: '4.1', allowfail: false}
|
- {os: macOS-latest, r: '4.1', allowfail: false}
|
||||||
- {os: macOS-latest, r: '4.0', allowfail: false}
|
- {os: macOS-latest, r: '4.0', allowfail: false}
|
||||||
- {os: macOS-latest, r: '3.6', allowfail: false}
|
- {os: macOS-latest, r: '3.6', allowfail: false}
|
||||||
|
- {os: ubuntu-22.04, r: 'devel', allowfail: true, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
|
||||||
- {os: ubuntu-22.04, r: '4.2', allowfail: false, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
|
- {os: ubuntu-22.04, r: '4.2', allowfail: false, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
|
||||||
- {os: ubuntu-22.04, r: '4.1', allowfail: false, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
|
- {os: ubuntu-22.04, r: '4.1', allowfail: false, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
|
||||||
- {os: ubuntu-22.04, r: '4.0', allowfail: false, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
|
- {os: ubuntu-22.04, r: '4.0', allowfail: false, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
|
||||||
- {os: ubuntu-22.04, r: '3.6', allowfail: false, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
|
- {os: ubuntu-22.04, r: '3.6', allowfail: false, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
|
||||||
- {os: ubuntu-22.04, r: '3.5', allowfail: true, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
|
- {os: ubuntu-22.04, r: '3.5.0', allowfail: true, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
|
||||||
- {os: ubuntu-22.04, r: '3.4', allowfail: false, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
|
- {os: ubuntu-22.04, r: '3.4', allowfail: false, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
|
||||||
- {os: ubuntu-22.04, r: '3.3', allowfail: false, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
|
- {os: ubuntu-22.04, r: '3.3', allowfail: false, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
|
||||||
- {os: ubuntu-22.04, r: '3.2', allowfail: false, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
|
- {os: ubuntu-22.04, r: '3.2', allowfail: false, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
|
||||||
- {os: ubuntu-22.04, r: '3.1', allowfail: false, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
|
- {os: ubuntu-22.04, r: '3.1', allowfail: false, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
|
||||||
- {os: ubuntu-22.04, r: '3.0', allowfail: false, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
|
- {os: ubuntu-22.04, r: '3.0', allowfail: false, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
|
||||||
|
- {os: windows-latest, r: 'devel', allowfail: true}
|
||||||
- {os: windows-latest, r: '4.2', allowfail: false}
|
- {os: windows-latest, r: '4.2', allowfail: false}
|
||||||
- {os: windows-latest, r: '4.1', allowfail: false}
|
- {os: windows-latest, r: '4.1', allowfail: false}
|
||||||
- {os: windows-latest, r: '4.0', allowfail: false}
|
- {os: windows-latest, r: '4.0', allowfail: false}
|
@ -1,5 +1,5 @@
|
|||||||
Package: AMR
|
Package: AMR
|
||||||
Version: 1.8.2.9033
|
Version: 1.8.2.9031
|
||||||
Date: 2022-10-05
|
Date: 2022-10-05
|
||||||
Title: Antimicrobial Resistance Data Analysis
|
Title: Antimicrobial Resistance Data Analysis
|
||||||
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
||||||
|
2
NEWS.md
2
NEWS.md
@ -1,4 +1,4 @@
|
|||||||
# AMR 1.8.2.9033
|
# AMR 1.8.2.9031
|
||||||
|
|
||||||
This version will eventually become v2.0! We're happy to reach a new major milestone soon!
|
This version will eventually become v2.0! We're happy to reach a new major milestone soon!
|
||||||
|
|
||||||
|
2
R/rsi.R
2
R/rsi.R
@ -164,7 +164,7 @@
|
|||||||
#' as.rsi() # automatically determines urine isolates
|
#' as.rsi() # automatically determines urine isolates
|
||||||
#'
|
#'
|
||||||
#' df %>%
|
#' df %>%
|
||||||
#' mutate_at(vars(AMP:TOB), as.rsi, mo = "E. coli", uti = TRUE)
|
#' mutate_at(vars(AMP:NIT), as.rsi, mo = "E. coli", uti = TRUE)
|
||||||
#' }
|
#' }
|
||||||
#'
|
#'
|
||||||
#' # For CLEANING existing R/SI values ------------------------------------
|
#' # For CLEANING existing R/SI values ------------------------------------
|
||||||
|
@ -229,7 +229,7 @@ if (require("dplyr")) {
|
|||||||
as.rsi() # automatically determines urine isolates
|
as.rsi() # automatically determines urine isolates
|
||||||
|
|
||||||
df \%>\%
|
df \%>\%
|
||||||
mutate_at(vars(AMP:TOB), as.rsi, mo = "E. coli", uti = TRUE)
|
mutate_at(vars(AMP:NIT), as.rsi, mo = "E. coli", uti = TRUE)
|
||||||
}
|
}
|
||||||
|
|
||||||
# For CLEANING existing R/SI values ------------------------------------
|
# For CLEANING existing R/SI values ------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user