1
0
mirror of https://github.com/msberends/AMR.git synced 2025-03-13 11:23:06 +01:00

Compare commits

..

No commits in common. "55457d0ab6ad752cc3912ac0ddfc7ae9a5e2e8f5" and "ac73a8d849f30150c955f7eb6e7b9879f80a8e0c" have entirely different histories.

2 changed files with 1 additions and 13 deletions

View File

@ -1,12 +0,0 @@
// Pandoc 2.9 adds attributes on both header and div. We remove the former (to
// be compatible with the behavior of Pandoc < 2.8).
document.addEventListener('DOMContentLoaded', function(e) {
var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
var i, h, a;
for (i = 0; i < hs.length; i++) {
h = hs[i];
if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
a = h.attributes;
while (a.length > 0) h.removeAttribute(a[0].name);
}
});

View File

@ -45,7 +45,7 @@ expect_equal(summary(as.rsi(c("S", "R"))),
"- %S" = "50.0% (n=1)",
"- %I" = " 0.0% (n=0)"), class = c("summaryDefault", "table")))
expect_identical(as.logical(lapply(example_isolates, is.rsi.eligible)),
as.logical(lapply(example_isolates, is.rsi)))
rep(FALSE, length(example_isolates)))
expect_error(as.rsi.mic(as.mic(16)))
expect_error(as.rsi.disk(as.disk(16)))
expect_error(get_guideline("this one does not exist"))