diff --git a/DESCRIPTION b/DESCRIPTION index 3b7bfcbc..e535bbf5 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: AMR -Version: 0.7.0 +Version: 0.7.0.9000 Date: 2019-06-03 Title: Antimicrobial Resistance Analysis Authors@R: c( diff --git a/NEWS.md b/NEWS.md index b34eeb81..0962111c 100755 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,11 @@ +# AMR 0.7.0.9000 + +#### New + +#### Changed + +#### Other + # AMR 0.7.0 #### New diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index bfe2966c..de5cd3cd 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -78,7 +78,7 @@ AMR (for R) - 0.7.0 + 0.7.0.9000 diff --git a/docs/articles/WHONET.html b/docs/articles/WHONET.html index 1381c373..4c15a0f4 100644 --- a/docs/articles/WHONET.html +++ b/docs/articles/WHONET.html @@ -40,7 +40,7 @@ AMR (for R) - 0.7.0 + 0.7.0.9000 diff --git a/docs/articles/index.html b/docs/articles/index.html index 4dffdd70..e110a408 100644 --- a/docs/articles/index.html +++ b/docs/articles/index.html @@ -78,7 +78,7 @@ AMR (for R) - 0.7.0 + 0.7.0.9000 diff --git a/docs/authors.html b/docs/authors.html index f60dbad9..b0c8c44e 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -78,7 +78,7 @@ AMR (for R) - 0.7.0 + 0.7.0.9000 diff --git a/docs/index.html b/docs/index.html index 8f6a27c2..f1d859e4 100644 --- a/docs/index.html +++ b/docs/index.html @@ -42,7 +42,7 @@ AMR (for R) - 0.7.0 + 0.7.0.9000 diff --git a/docs/news/index.html b/docs/news/index.html index b7e7d65e..ea82e73f 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -78,7 +78,7 @@ AMR (for R) - 0.7.0 + 0.7.0.9000 @@ -239,13 +239,30 @@ -
+

-AMR 0.7.0 Unreleased +AMR 0.7.0.9000 Unreleased

New

+
+
+

+Changed

+
+
+

+Other

+
+
+
+

+AMR 0.7.0 2019-06-03 +

+
+

+New

  • Support for translation of disk diffusion and MIC values to RSI values (i.e. antimicrobial interpretations). Supported guidelines are EUCAST (2011 to 2019) and CLSI (2011 to 2019). Use as.rsi() on an MIC value (created with as.mic()), a disk diffusion value (created with the new as.disk()) or on a complete date set containing columns with MIC or disk diffusion values.
  • Function mo_name() as alias of mo_fullname() @@ -253,9 +270,9 @@
  • Added guidelines of the WHO to determine multi-drug resistance (MDR) for TB (mdr_tb()) and added a new vignette about MDR. Read this tutorial here on our website.
-
+

-Changed

+Changed
  • Fixed a critical bug in first_isolate() where missing species would lead to incorrect FALSEs. This bug was not present in AMR v0.5.0, but was in v0.6.0 and v0.6.1.
  • Fixedd a bug in eucast_rules() where antibiotics from WHONET software would not be recognised
  • @@ -327,9 +344,9 @@ Please mo_shortname() where species would not be determined correctly

-
+

-Other

+Other
  • Support for R 3.6.0 and later by providing support for staged install
  • @@ -340,9 +357,9 @@ Please AMR 0.6.1 2019-03-29 -
    +

    -Changed

    +Changed
    • Fixed a critical bug when using eucast_rules() with verbose = TRUE
    • @@ -360,9 +377,9 @@ Please +

      -New

      +New
      • BREAKING: removed deprecated functions, parameters and references to ‘bactid’. Use as.mo() to identify an MO code.
      • @@ -446,9 +463,9 @@ These functions use as.atc()
      • New vignettes about how to conduct AMR analysis, predict antimicrobial resistance, use the G-test and more. These are also available (and even easier readable) on our website: https://msberends.gitlab.io/AMR.

      -
      +

      -Changed

      +Changed
      -
      +

      -Other

      +Other
      • Updated licence text to emphasise GPL 2.0 and that this is an R package.
      @@ -587,9 +604,9 @@ Using as.mo(..., allow_uncertain = 3) AMR 0.5.0 2018-11-30 -
      +

      -New

      +New
      -
      +

      -Changed

      +Changed
      • Functions MDRO, BRMO, MRGN and EUCAST_exceptional_phenotypes were renamed to mdro, brmo, mrgn and eucast_exceptional_phenotypes
      • @@ -700,9 +717,9 @@ Using as.mo(..., allow_uncertain = 3)

        Percentages will now will rounded more logically (e.g. in freq function)

      -
      +

      -Other

      +Other
      • New dependency on package crayon, to support formatted text in the console
      • Dependency tidyr is now mandatory (went to Import field) since portion_df and count_df rely on it
      • @@ -714,9 +731,9 @@ Using as.mo(..., allow_uncertain = 3) AMR 0.4.0 2018-10-01 -
        +

        -New

        +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.
        • New functions based on the existing function mo_property: @@ -785,9 +802,9 @@ Using as.mo(..., allow_uncertain = 3)

          Renamed septic_patients$sex to septic_patients$gender

        -
        +

        -Changed

        +Changed
        • Added three antimicrobial agents to the antibiotics data set: Terbinafine (D01BA02), Rifaximin (A07AA11) and Isoconazole (D01AC05)
        • @@ -837,9 +854,9 @@ Using as.mo(..., allow_uncertain = 3)
        -
        +

        -Other

        +Other
        • More unit tests to ensure better integrity of functions
        @@ -849,9 +866,9 @@ Using as.mo(..., allow_uncertain = 3) AMR 0.3.0 2018-08-14 -
        +

        -New

        +New
        • BREAKING: rsi_df was removed in favour of new functions portion_R, portion_IR, portion_I, portion_SI and portion_S to selectively calculate resistance or susceptibility. These functions are 20 to 30 times faster than the old rsi function. The old function still works, but is deprecated. @@ -922,9 +939,9 @@ Using as.mo(..., allow_uncertain = 3)
        -
        +

        -Changed

        +Changed
        • Improvements for forecasting with resistance_predict and added more examples
        • More antibiotics added as parameters for EUCAST rules
        • @@ -966,9 +983,9 @@ Using as.mo(..., allow_uncertain = 3)Other small fixes
        -
        +

        -Other

        +Other
        • Added integration tests (check if everything works as expected) for all releases of R 3.1 and higher
            @@ -986,9 +1003,9 @@ Using as.mo(..., allow_uncertain = 3) AMR 0.2.0 2018-05-03 -
            +

            -New

            +New
            • Full support for Windows, Linux and macOS
            • Full support for old R versions, only R-3.0.0 (April 2013) or later is needed (needed packages may have other dependencies)
            • @@ -1008,9 +1025,9 @@ Using as.mo(..., allow_uncertain = 3)New print format for tibbles and data.tables
            -
            +

            -Changed

            +Changed
            • Fixed rsi class for vectors that contain only invalid antimicrobial interpretations
            • Renamed dataset ablist to antibiotics @@ -1028,9 +1045,9 @@ Using as.mo(..., allow_uncertain = 3)Functions as.rsi and as.mic now add the package name and version as attributes
            -
            +

            -Other

            +Other
            • Expanded README.md with more examples
            • Added ORCID of authors to DESCRIPTION file
            • @@ -1067,6 +1084,7 @@ Using as.mo(..., allow_uncertain = 3)

              Contents

            diff --git a/docs/reference/age.html b/docs/reference/age.html index 8201d5c7..d54be194 100644 --- a/docs/reference/age.html +++ b/docs/reference/age.html @@ -80,7 +80,7 @@ AMR (for R) - 0.7.0 + 0.7.0.9000
            diff --git a/docs/reference/as.mo.html b/docs/reference/as.mo.html index ef4208e7..7b6c4c50 100644 --- a/docs/reference/as.mo.html +++ b/docs/reference/as.mo.html @@ -80,7 +80,7 @@ AMR (for R) - 0.7.0 + 0.7.0.9000
            diff --git a/docs/reference/index.html b/docs/reference/index.html index 061bfe15..7de4f598 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -78,7 +78,7 @@ AMR (for R) - 0.7.0 + 0.7.0.9000
            diff --git a/git_premaster.sh b/git_premaster.sh index ac9dd5d4..f763cb6b 100755 --- a/git_premaster.sh +++ b/git_premaster.sh @@ -26,6 +26,13 @@ current_tag=`git describe --tags --abbrev=0 | sed 's/v//'` current_commit=`git describe --tags | sed 's/.*-\(.*\)-.*/\1/'` # combine tag (e.g. 0.1.0) and commit number (like 40) increased by 9000 to indicate beta version new_version="$current_tag.$((current_commit + 9000))" # results in 0.1.0.9040 +if [ -z "$new_version" ]; then + new_version="$current_tag.9000" + echo + echo "** COULD NOT CREATE NEW VERSION NUMBER! **" + echo "Are there some unpushed changes in a new tag?? Then mind NEWS.md. Assuming sequence number 9000." + echo +fi sed -i -- "s/^Version: .*/Version: ${new_version}/" DESCRIPTION # update 1st line of NEWS.md sed -i -- "1s/.*/# AMR ${new_version}/" NEWS.md @@ -35,6 +42,12 @@ echo echo "First line of NEWS.md:" head -1 NEWS.md echo +read -p "Continue (Y/n)? " choice +case "$choice" in + n|N ) exit 1;; + * ) ;; +esac +echo echo "•••••••••••••••••••••••••••••••••" echo "• Reloading/documenting package •" echo "•••••••••••••••••••••••••••••••••"