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

good start-up practice

This commit is contained in:
dr. M.S. (Matthijs) Berends 2022-12-29 16:23:57 +01:00
parent 61c0bdb7af
commit 1db74e86cd
4 changed files with 7 additions and 5 deletions

View File

@ -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()

View File

@ -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

View File

@ -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!)*

View File

@ -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)