mirror of
https://github.com/msberends/AMR.git
synced 2026-06-29 19:36:19 +02:00
(v3.0.1.9074) You go girl
This commit is contained in:
2
.github/workflows/check-old-tinytest.yaml
vendored
2
.github/workflows/check-old-tinytest.yaml
vendored
@@ -49,7 +49,7 @@ jobs:
|
|||||||
# Test all old versions of R >= 3.0, we support them all!
|
# Test all old versions of R >= 3.0, we support them all!
|
||||||
# For these old versions, dependencies and vignettes will not be checked.
|
# For these old versions, dependencies and vignettes will not be checked.
|
||||||
# For recent R versions, see check-recent.yaml (r-lib and tidyverse support the latest 5 major R releases).
|
# For recent R versions, see check-recent.yaml (r-lib and tidyverse support the latest 5 major R releases).
|
||||||
- {os: ubuntu-latest, r: '3.6', allowfail: false}
|
# - {os: ubuntu-latest, r: '3.6', allowfail: false}
|
||||||
# - {os: windows-latest, r: '3.5', allowfail: false} # always fails, horrible with UTF-8
|
# - {os: windows-latest, r: '3.5', allowfail: false} # always fails, horrible with UTF-8
|
||||||
# - {os: ubuntu-latest, r: '3.4', allowfail: false} # 3.1-3.4 now always fails with Error in grep(warn_re, lines, invert = TRUE, value = TRUE) attempt to set index 46/46 in SET_STRING_ELT
|
# - {os: ubuntu-latest, r: '3.4', allowfail: false} # 3.1-3.4 now always fails with Error in grep(warn_re, lines, invert = TRUE, value = TRUE) attempt to set index 46/46 in SET_STRING_ELT
|
||||||
# - {os: ubuntu-latest, r: '3.3', allowfail: false}
|
# - {os: ubuntu-latest, r: '3.3', allowfail: false}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
Package: AMR
|
Package: AMR
|
||||||
Version: 3.0.1.9073
|
Version: 3.0.1.9074
|
||||||
Date: 2026-06-26
|
Date: 2026-06-26
|
||||||
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 3.0.1.9073
|
# AMR 3.0.1.9074
|
||||||
|
|
||||||
Planned as v3.1.0, end of June 2026.
|
Planned as v3.1.0, end of June 2026.
|
||||||
|
|
||||||
|
|||||||
@@ -73,15 +73,12 @@ base._libPaths(r_lib_path)
|
|||||||
if not isinstalled('AMR', lib_loc=r_lib_path):
|
if not isinstalled('AMR', lib_loc=r_lib_path):
|
||||||
print(f"AMR: Installing latest AMR R package to {r_lib_path}...", flush=True)
|
print(f"AMR: Installing latest AMR R package to {r_lib_path}...", flush=True)
|
||||||
utils.install_packages(
|
utils.install_packages(
|
||||||
'remotes',
|
StrVector(['remotes', 'desc']),
|
||||||
repos='https://cloud.r-project.org',
|
repos='https://cloud.r-project.org',
|
||||||
lib=r_lib_path,
|
lib=r_lib_path,
|
||||||
dependencies=True,
|
|
||||||
quiet=True
|
quiet=True
|
||||||
)
|
)
|
||||||
rint(f"AMR: Installed 'remotes'", flush=True)
|
|
||||||
remotes = importr('remotes', lib_loc=r_lib_path)
|
remotes = importr('remotes', lib_loc=r_lib_path)
|
||||||
rint(f"AMR: Loaded 'remotes'", flush=True)
|
|
||||||
remotes.install_github('msberends/AMR', lib=r_lib_path, quiet=True)
|
remotes.install_github('msberends/AMR', lib=r_lib_path, quiet=True)
|
||||||
|
|
||||||
# Retrieve Python AMR version
|
# Retrieve Python AMR version
|
||||||
@@ -99,10 +96,9 @@ if r_amr_version != python_amr_version:
|
|||||||
try:
|
try:
|
||||||
print(f"AMR: Updating AMR package in {r_lib_path}...", flush=True)
|
print(f"AMR: Updating AMR package in {r_lib_path}...", flush=True)
|
||||||
utils.install_packages(
|
utils.install_packages(
|
||||||
'remotes',
|
StrVector(['remotes', 'desc']),
|
||||||
repos='https://cloud.r-project.org',
|
repos='https://cloud.r-project.org',
|
||||||
lib=r_lib_path,
|
lib=r_lib_path,
|
||||||
dependencies=True,
|
|
||||||
quiet=True
|
quiet=True
|
||||||
)
|
)
|
||||||
remotes = importr('remotes', lib_loc=r_lib_path)
|
remotes = importr('remotes', lib_loc=r_lib_path)
|
||||||
|
|||||||
Reference in New Issue
Block a user