mirror of
https://github.com/msberends/AMR.git
synced 2024-12-25 18:06:12 +01:00
unit test fix
This commit is contained in:
parent
e5e6d2200d
commit
3fc39198d0
2
.github/workflows/check-devel.yaml
vendored
2
.github/workflows/check-devel.yaml
vendored
@ -36,7 +36,7 @@ on:
|
|||||||
schedule:
|
schedule:
|
||||||
# run a schedule everyday at 1 AM.
|
# run a schedule everyday at 1 AM.
|
||||||
# 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-devel
|
name: check-devel
|
||||||
|
|
||||||
|
2
.github/workflows/check-release.yaml
vendored
2
.github/workflows/check-release.yaml
vendored
@ -34,7 +34,7 @@ on:
|
|||||||
schedule:
|
schedule:
|
||||||
# run a schedule everyday at 1 AM.
|
# run a schedule everyday at 1 AM.
|
||||||
# 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: check-release
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Package: AMR
|
Package: AMR
|
||||||
Version: 1.8.2.9019
|
Version: 1.8.2.9020
|
||||||
Date: 2022-10-18
|
Date: 2022-10-18
|
||||||
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.9019
|
# AMR 1.8.2.9020
|
||||||
|
|
||||||
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!
|
||||||
|
|
||||||
|
@ -124,7 +124,7 @@ add_custom_antimicrobials <- function(x) {
|
|||||||
}
|
}
|
||||||
for (col in colnames(x)) {
|
for (col in colnames(x)) {
|
||||||
# assign new values
|
# assign new values
|
||||||
new_df[, col] <- x[, col, drop = TRUE]
|
new_df[, col] <- x[, col, drop = TRUE]
|
||||||
}
|
}
|
||||||
AMR_env$AB_lookup <- unique(rbind(AMR_env$AB_lookup, new_df))
|
AMR_env$AB_lookup <- unique(rbind(AMR_env$AB_lookup, new_df))
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user