mirror of
https://github.com/msberends/AMR.git
synced 2024-12-25 18:46:11 +01:00
good start-up practice
This commit is contained in:
parent
61c0bdb7af
commit
1db74e86cd
2
.github/workflows/check-old.yaml
vendored
2
.github/workflows/check-old.yaml
vendored
@ -94,7 +94,7 @@ jobs:
|
|||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: ${{ env.R_LIBS_USER }}
|
path: ${{ env.R_LIBS_USER }}
|
||||||
key: ${{ matrix.config.os }}-r-${{ matrix.config.r }}-v4
|
key: ${{ matrix.config.os }}-r-${{ matrix.config.r }}-v5
|
||||||
|
|
||||||
- name: Install R dependencies
|
- name: Install R dependencies
|
||||||
if: always()
|
if: always()
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Package: AMR
|
Package: AMR
|
||||||
Version: 1.8.2.9073
|
Version: 1.8.2.9074
|
||||||
Date: 2022-12-28
|
Date: 2022-12-29
|
||||||
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)
|
||||||
data analysis and to work with microbial and antimicrobial properties by
|
data analysis and to work with microbial and antimicrobial properties by
|
||||||
|
2
NEWS.md
2
NEWS.md
@ -1,4 +1,4 @@
|
|||||||
# AMR 1.8.2.9073
|
# AMR 1.8.2.9074
|
||||||
|
|
||||||
*(this beta version will eventually become v2.0! We're happy to reach a new major milestone soon!)*
|
*(this beta version will eventually become v2.0! We're happy to reach a new major milestone soon!)*
|
||||||
|
|
||||||
|
2
R/zzz.R
2
R/zzz.R
@ -184,7 +184,9 @@ if (utf8_supported && !is_latex) {
|
|||||||
AMR_env$AB_lookup <- create_AB_lookup()
|
AMR_env$AB_lookup <- create_AB_lookup()
|
||||||
AMR_env$AV_lookup <- create_AV_lookup()
|
AMR_env$AV_lookup <- create_AV_lookup()
|
||||||
AMR_env$MO_lookup <- create_MO_lookup()
|
AMR_env$MO_lookup <- create_MO_lookup()
|
||||||
|
}
|
||||||
|
|
||||||
|
.onAttach <- function(lib, pkg) {
|
||||||
# if custom ab option is available, load it
|
# if custom ab option is available, load it
|
||||||
if (!is.null(getOption("AMR_custom_ab")) && file.exists(getOption("AMR_custom_ab", default = ""))) {
|
if (!is.null(getOption("AMR_custom_ab")) && file.exists(getOption("AMR_custom_ab", default = ""))) {
|
||||||
packageStartupMessage("Adding custom antimicrobials from '", getOption("AMR_custom_ab"), "'...", appendLF = FALSE)
|
packageStartupMessage("Adding custom antimicrobials from '", getOption("AMR_custom_ab"), "'...", appendLF = FALSE)
|
||||||
|
Loading…
Reference in New Issue
Block a user