From c7c57f404243329c8cc1cf8c9e4e4cf93fc78f1b Mon Sep 17 00:00:00 2001 From: "Matthijs S. Berends" Date: Mon, 1 Oct 2018 19:36:42 +0200 Subject: [PATCH] 0.4.0, just published on CRAN --- DESCRIPTION | 2 +- NEWS.md | 4 ++-- README.md | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 275b4c13..0568a45d 100755 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: AMR -Version: 0.3.0.9011 +Version: 0.4.0 Date: 2018-10-01 Title: Antimicrobial Resistance Analysis Authors@R: c( diff --git a/NEWS.md b/NEWS.md index 1df963f7..e4180390 100755 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# 0.3.0.90xx (latest development version) +# 0.4.0 #### New * The data set `microorganisms` now contains **all microbial taxonomic data from ITIS** (kingdoms Bacteria, Fungi and Protozoa), the Integrated Taxonomy Information System, available via https://itis.gov. The data set now contains more than 18,000 microorganisms with all known bacteria, fungi and protozoa according ITIS with genus, species, subspecies, family, order, class, phylum and subkingdom. The new data set `microorganisms.old` contains all previously known taxonomic names from those kingdoms. @@ -109,7 +109,7 @@ #### Other * More unit tests to ensure better integrity of functions -# 0.3.0 (latest stable version) +# 0.3.0 **Published on CRAN: 2018-08-14** #### New diff --git a/README.md b/README.md index dbe63a36..146e2c6e 100755 --- a/README.md +++ b/README.md @@ -472,7 +472,7 @@ microbenchmark(A = as.mo(repetive_results), unit = "ms") # Unit: milliseconds # expr min lq mean median uq max neval -# A 14.61282 14.6372 14.70817 14.72597 14.76124 14.78498 1 +# A 14.61282 14.6372 14.70817 14.72597 14.76124 14.78498 10 ``` So transforming 25,000 times (!) `"Staphylococcus aureus"` only takes 4 ms (0.004 seconds) more than transforming it once. You only lose time on your unique input values. @@ -489,7 +489,7 @@ microbenchmark(A = mo_fullname("B_STPHY_AUR"), # expr min lq mean median uq max neval # A 13.548652 13.74588 13.8052969 13.813594 13.881165 14.090969 10 # B 15.079781 15.16785 15.3835842 15.374477 15.395115 16.072995 10 -# C 0.171182 0.185639 0.2306307 0.2034135 0.224610 0.492312 10 +# C 0.171182 0.18563 0.2306307 0.203413 0.224610 0.492312 10 ``` So going from `mo_fullname("Staphylococcus aureus")` to `"Staphylococcus aureus"` takes 0.0002 seconds - it doesn't even start calculating *if the result would be the same as the expected resulting value*. That goes for all helper functions: