(v1.4.0.9005) bugfix

v1.8.2
parent ade9f8bafd
commit 9109b9dd62
  1. 2
      DESCRIPTION
  2. 2
      NEWS.md
  3. 10
      R/ggplot_rsi.R
  4. 2
      docs/404.html
  5. 2
      docs/LICENSE-text.html
  6. 2
      docs/articles/index.html
  7. 2
      docs/authors.html
  8. 2
      docs/index.html
  9. 8
      docs/news/index.html
  10. 2
      docs/pkgdown.yml
  11. 6
      docs/reference/ggplot_rsi.html
  12. 2
      docs/reference/index.html
  13. 2
      docs/survey.html
  14. 4
      man/ggplot_rsi.Rd

@ -1,5 +1,5 @@
Package: AMR
Version: 1.4.0.9004
Version: 1.4.0.9005
Date: 2020-10-21
Title: Antimicrobial Resistance Analysis
Authors@R: c(

@ -1,4 +1,4 @@
# AMR 1.4.0.9004
# AMR 1.4.0.9005
## <small>Last updated: 21 October 2020</small>
### New

@ -162,7 +162,7 @@ ggplot_rsi <- function(data,
R = "#ff6961"),
datalabels = TRUE,
datalabels.size = 2.5,
datalabels.colour = "gray15",
datalabels.colour = "grey15",
title = NULL,
subtitle = NULL,
caption = NULL,
@ -184,7 +184,7 @@ ggplot_rsi <- function(data,
meet_criteria(minimum, allow_class = c("numeric", "integer"), has_length = 1)
meet_criteria(language, has_length = 1, is_in = c(LANGUAGES_SUPPORTED, ""), allow_NULL = TRUE, allow_NA = TRUE)
meet_criteria(nrow, allow_class = c("numeric", "integer"), has_length = 1, allow_NULL = TRUE)
meet_criteria(colours, allow_class = "character")
meet_criteria(colours, allow_class = c("character", "logical"))
meet_criteria(datalabels, allow_class = "logical", has_length = 1)
meet_criteria(datalabels.size, allow_class = c("numeric", "integer"), has_length = 1)
meet_criteria(datalabels.colour, allow_class = "character", has_length = 1)
@ -226,8 +226,8 @@ ggplot_rsi <- function(data,
if (fill == "interpretation") {
# set RSI colours
if (isFALSE(colours) & missing(datalabels.colour)) {
# set datalabel colour to middle gray
datalabels.colour <- "gray50"
# set datalabel colour to middle grey
datalabels.colour <- "grey50"
}
p <- p + scale_rsi_colours(colours = colours)
}
@ -410,7 +410,7 @@ labels_rsi_count <- function(position = NULL,
combine_SI = TRUE,
combine_IR = FALSE,
datalabels.size = 3,
datalabels.colour = "gray15") {
datalabels.colour = "grey15") {
stop_ifnot_installed("ggplot2")
meet_criteria(position, allow_class = "character", has_length = 1, is_in = c("fill", "stack", "dodge"), allow_NULL = TRUE)
meet_criteria(x, allow_class = "character", has_length = 1)

@ -81,7 +81,7 @@
</button>
<span class="navbar-brand">
<a class="navbar-link" href="https://msberends.github.io/AMR//index.html">AMR (for R)</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.4.0.9004</span>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.4.0.9005</span>
</span>
</div>

@ -81,7 +81,7 @@
</button>
<span class="navbar-brand">
<a class="navbar-link" href="index.html">AMR (for R)</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.4.0.9004</span>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.4.0.9005</span>
</span>
</div>

@ -81,7 +81,7 @@
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">AMR (for R)</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.4.0.9004</span>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.4.0.9005</span>
</span>
</div>

@ -81,7 +81,7 @@
</button>
<span class="navbar-brand">
<a class="navbar-link" href="index.html">AMR (for R)</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.4.0.9004</span>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.4.0.9005</span>
</span>
</div>

@ -43,7 +43,7 @@
</button>
<span class="navbar-brand">
<a class="navbar-link" href="index.html">AMR (for R)</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.4.0.9004</span>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.4.0.9005</span>
</span>
</div>

@ -81,7 +81,7 @@
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">AMR (for R)</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.4.0.9004</span>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.4.0.9005</span>
</span>
</div>
@ -236,9 +236,9 @@
<small>Source: <a href='https://github.com/msberends/AMR/blob/master/NEWS.md'><code>NEWS.md</code></a></small>
</div>
<div id="amr-1409004" class="section level1">
<h1 class="page-header" data-toc-text="1.4.0.9004">
<a href="#amr-1409004" class="anchor"></a>AMR 1.4.0.9004<small> Unreleased </small>
<div id="amr-1409005" class="section level1">
<h1 class="page-header" data-toc-text="1.4.0.9005">
<a href="#amr-1409005" class="anchor"></a>AMR 1.4.0.9005<small> Unreleased </small>
</h1>
<div id="last-updated-21-october-2020" class="section level2">
<h2 class="hasAnchor">

@ -12,7 +12,7 @@ articles:
datasets: datasets.html
resistance_predict: resistance_predict.html
welcome_to_AMR: welcome_to_AMR.html
last_built: 2020-10-21T09:40Z
last_built: 2020-10-21T11:05Z
urls:
reference: https://msberends.github.io/AMR//reference
article: https://msberends.github.io/AMR//articles

@ -82,7 +82,7 @@
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">AMR (for R)</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.4.0.9000</span>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.4.0.9005</span>
</span>
</div>
@ -260,7 +260,7 @@
<span class='st'>"#ff6961"</span><span class='op'>)</span>,
datalabels <span class='op'>=</span> <span class='cn'>TRUE</span>,
datalabels.size <span class='op'>=</span> <span class='fl'>2.5</span>,
datalabels.colour <span class='op'>=</span> <span class='st'>"gray15"</span>,
datalabels.colour <span class='op'>=</span> <span class='st'>"grey15"</span>,
title <span class='op'>=</span> <span class='cn'>NULL</span>,
subtitle <span class='op'>=</span> <span class='cn'>NULL</span>,
caption <span class='op'>=</span> <span class='cn'>NULL</span>,
@ -301,7 +301,7 @@
combine_SI <span class='op'>=</span> <span class='cn'>TRUE</span>,
combine_IR <span class='op'>=</span> <span class='cn'>FALSE</span>,
datalabels.size <span class='op'>=</span> <span class='fl'>3</span>,
datalabels.colour <span class='op'>=</span> <span class='st'>"gray15"</span>
datalabels.colour <span class='op'>=</span> <span class='st'>"grey15"</span>
<span class='op'>)</span></pre>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>

@ -81,7 +81,7 @@
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">AMR (for R)</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.4.0.9004</span>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.4.0.9005</span>
</span>
</div>

@ -81,7 +81,7 @@
</button>
<span class="navbar-brand">
<a class="navbar-link" href="index.html">AMR (for R)</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.4.0.9004</span>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Latest development version">1.4.0.9005</span>
</span>
</div>

@ -28,7 +28,7 @@ ggplot_rsi(
"#ff6961"),
datalabels = TRUE,
datalabels.size = 2.5,
datalabels.colour = "gray15",
datalabels.colour = "grey15",
title = NULL,
subtitle = NULL,
caption = NULL,
@ -69,7 +69,7 @@ labels_rsi_count(
combine_SI = TRUE,
combine_IR = FALSE,
datalabels.size = 3,
datalabels.colour = "gray15"
datalabels.colour = "grey15"
)
}
\arguments{

Loading…
Cancel
Save