mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 20:41:58 +02:00
(v0.7.1.9071) p_symbol()
This commit is contained in:
@ -35,4 +35,7 @@ test_that("deprecated functions work", {
|
||||
AMC_ED20 = "S"),
|
||||
as.atc("augmentin"))),
|
||||
"AMC_ED20")
|
||||
|
||||
expect_identical(suppressWarnings(p.symbol(seq(0, 1, 0.001))),
|
||||
p_symbol(seq(0, 1, 0.001)))
|
||||
})
|
||||
|
@ -19,9 +19,9 @@
|
||||
# Visit our website for more info: https://msberends.gitlab.io/AMR. #
|
||||
# ==================================================================== #
|
||||
|
||||
context("p.symbol.R")
|
||||
context("p_symbol.R")
|
||||
|
||||
test_that("P symbol works", {
|
||||
expect_identical(p.symbol(c(0.001, 0.01, 0.05, 0.1, 1, NA, 3)),
|
||||
expect_identical(p_symbol(c(0.001, 0.01, 0.05, 0.1, 1, NA, 3)),
|
||||
c("***", "**", "*", ".", " ", NA, NA))
|
||||
})
|
Reference in New Issue
Block a user