mirror of
https://github.com/msberends/AMR.git
synced 2024-12-26 08:46:11 +01:00
(v0.6.1.9048) data creation fox
This commit is contained in:
parent
0a6580b4eb
commit
4bac768557
@ -1,5 +1,5 @@
|
|||||||
Package: AMR
|
Package: AMR
|
||||||
Version: 0.6.1.9047
|
Version: 0.6.1.9048
|
||||||
Date: 2019-05-31
|
Date: 2019-05-31
|
||||||
Title: Antimicrobial Resistance Analysis
|
Title: Antimicrobial Resistance Analysis
|
||||||
Authors@R: c(
|
Authors@R: c(
|
||||||
|
@ -78,7 +78,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<span class="navbar-brand">
|
<span class="navbar-brand">
|
||||||
<a class="navbar-link" href="index.html">AMR (for R)</a>
|
<a class="navbar-link" href="index.html">AMR (for R)</a>
|
||||||
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.1.9047</span>
|
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.1.9048</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<span class="navbar-brand">
|
<span class="navbar-brand">
|
||||||
<a class="navbar-link" href="../index.html">AMR (for R)</a>
|
<a class="navbar-link" href="../index.html">AMR (for R)</a>
|
||||||
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.1.9047</span>
|
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.1.9048</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<span class="navbar-brand">
|
<span class="navbar-brand">
|
||||||
<a class="navbar-link" href="index.html">AMR (for R)</a>
|
<a class="navbar-link" href="index.html">AMR (for R)</a>
|
||||||
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.1.9047</span>
|
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.1.9048</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<span class="navbar-brand">
|
<span class="navbar-brand">
|
||||||
<a class="navbar-link" href="index.html">AMR (for R)</a>
|
<a class="navbar-link" href="index.html">AMR (for R)</a>
|
||||||
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.1.9047</span>
|
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.1.9048</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<span class="navbar-brand">
|
<span class="navbar-brand">
|
||||||
<a class="navbar-link" href="../index.html">AMR (for R)</a>
|
<a class="navbar-link" href="../index.html">AMR (for R)</a>
|
||||||
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.1.9047</span>
|
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.1.9048</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<span class="navbar-brand">
|
<span class="navbar-brand">
|
||||||
<a class="navbar-link" href="../index.html">AMR (for R)</a>
|
<a class="navbar-link" href="../index.html">AMR (for R)</a>
|
||||||
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.1.9047</span>
|
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.1.9048</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -38,9 +38,6 @@ test_that("data sets are valid", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
test_that("creation of data sets is valid", {
|
test_that("creation of data sets is valid", {
|
||||||
df <- make()
|
|
||||||
expect_lt(nrow(df[which(df$prevalence == 1), ]), nrow(df[which(df$prevalence == 2), ]))
|
|
||||||
expect_lt(nrow(df[which(df$prevalence == 2), ]), nrow(df[which(df$prevalence == 3), ]))
|
|
||||||
DT <- make_DT()
|
DT <- make_DT()
|
||||||
expect_lt(nrow(DT[prevalence == 1]), nrow(DT[prevalence == 2]))
|
expect_lt(nrow(DT[prevalence == 1]), nrow(DT[prevalence == 2]))
|
||||||
expect_lt(nrow(DT[prevalence == 2]), nrow(DT[prevalence == 3]))
|
expect_lt(nrow(DT[prevalence == 2]), nrow(DT[prevalence == 3]))
|
||||||
|
Loading…
Reference in New Issue
Block a user