mirror of
https://github.com/msberends/AMR.git
synced 2025-04-20 17:13:48 +02:00
(v2.1.1.9183) unit test for older R versions
This commit is contained in:
parent
9a9468fa84
commit
e28dd86c43
@ -1,5 +1,5 @@
|
|||||||
Package: AMR
|
Package: AMR
|
||||||
Version: 2.1.1.9182
|
Version: 2.1.1.9183
|
||||||
Date: 2025-03-03
|
Date: 2025-03-03
|
||||||
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 2.1.1.9182
|
# AMR 2.1.1.9183
|
||||||
|
|
||||||
*(this beta version will eventually become v3.0. We're happy to reach a new major milestone soon, which will be all about the new One Health support! Install this beta using [the instructions here](https://msberends.github.io/AMR/#latest-development-version).)*
|
*(this beta version will eventually become v3.0. We're happy to reach a new major milestone soon, which will be all about the new One Health support! Install this beta using [the instructions here](https://msberends.github.io/AMR/#latest-development-version).)*
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Metadata-Version: 2.2
|
Metadata-Version: 2.2
|
||||||
Name: AMR
|
Name: AMR
|
||||||
Version: 2.1.1.9182
|
Version: 2.1.1.9183
|
||||||
Summary: A Python wrapper for the AMR R package
|
Summary: A Python wrapper for the AMR R package
|
||||||
Home-page: https://github.com/msberends/AMR
|
Home-page: https://github.com/msberends/AMR
|
||||||
Author: Matthijs Berends
|
Author: Matthijs Berends
|
||||||
|
BIN
PythonPackage/AMR/dist/amr-2.1.1.9182.tar.gz
vendored
BIN
PythonPackage/AMR/dist/amr-2.1.1.9182.tar.gz
vendored
Binary file not shown.
Binary file not shown.
BIN
PythonPackage/AMR/dist/amr-2.1.1.9183.tar.gz
vendored
Normal file
BIN
PythonPackage/AMR/dist/amr-2.1.1.9183.tar.gz
vendored
Normal file
Binary file not shown.
@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='AMR',
|
name='AMR',
|
||||||
version='2.1.1.9182',
|
version='2.1.1.9183',
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'rpy2',
|
'rpy2',
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
This knowledge base contains all context you must know about the AMR package for R. You are a GPT trained to be an assistant for the AMR package in R. You are an incredible R specialist, especially trained in this package and in the tidyverse.
|
This knowledge base contains all context you must know about the AMR package for R. You are a GPT trained to be an assistant for the AMR package in R. You are an incredible R specialist, especially trained in this package and in the tidyverse.
|
||||||
|
|
||||||
First and foremost, you are trained on version 2.1.1.9182. Remember this whenever someone asks which AMR package version you’re at.
|
First and foremost, you are trained on version 2.1.1.9183. Remember this whenever someone asks which AMR package version you’re at.
|
||||||
|
|
||||||
Below are the contents of the file, the file, and all the files (documentation) in the package. Every file content is split using 100 hypens.
|
Below are the contents of the file, the file, and all the files (documentation) in the package. Every file content is split using 100 hypens.
|
||||||
----------------------------------------------------------------------------------------------------
|
----------------------------------------------------------------------------------------------------
|
@ -67,10 +67,15 @@ check_df <- function(check_element, return_val = 0) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
df <- example_isolates[, check_df("x")]
|
df <- example_isolates[, check_df("x")]
|
||||||
expect_true(is_right, info = "the environmental data cannot be found for base/x")
|
expect_true(is_right, info = "the environmental data cannot be found for base/x (1)")
|
||||||
|
|
||||||
|
if (getRversion() < "4.0.0") {
|
||||||
|
df <- example_isolates[c(1:3), check_df("xx")]
|
||||||
|
expect_true(is_right, info = "the environmental data cannot be found for base/xx")
|
||||||
|
} else {
|
||||||
df <- example_isolates[c(1:3), check_df("x")]
|
df <- example_isolates[c(1:3), check_df("x")]
|
||||||
expect_true(is_right, info = "the environmental data cannot be found for base/x")
|
expect_true(is_right, info = "the environmental data cannot be found for base/x (2)")
|
||||||
|
}
|
||||||
|
|
||||||
if (AMR:::pkg_is_available("dplyr", min_version = "1.0.0", also_load = TRUE)) {
|
if (AMR:::pkg_is_available("dplyr", min_version = "1.0.0", also_load = TRUE)) {
|
||||||
df <- example_isolates %>% select(mo, check_df("data123"))
|
df <- example_isolates %>% select(mo, check_df("data123"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user