/dports/sysutils/R-cran-fs/fs/tests/testthat/ |
H A D | test-path.R | 6 expect_equal(Encoding(path("föö")), "UTF-8") 15 expect_equal(path(""), "") 35 expect_equal(path("", "foo"), "/foo") 65 expect_equal(x, path(getwd())) 231 expect_equal(path_ext("."), "") 232 expect_equal(path_ext(".."), "") 234 expect_equal(path_ext(""), "") 335 expect_equal(path_norm(""), ".") 336 expect_equal(path_norm(""), ".") 364 expect_equal(path_norm(""), ".") [all …]
|
H A D | test-sanitize.R | 22 expect_equal(path_sanitize("h?w"), "hw") 23 expect_equal(path_sanitize("h/w"), "hw") 24 expect_equal(path_sanitize("h*w"), "hw") 42 expect_equal(path_sanitize("."), "") 43 expect_equal(path_sanitize(".."), "") 44 expect_equal(path_sanitize("./"), "") 45 expect_equal(path_sanitize("../"), "") 46 expect_equal(path_sanitize("/.."), "") 47 expect_equal(path_sanitize("/../"), "") 48 expect_equal(path_sanitize("*.|."), "") [all …]
|
/dports/devel/R-cran-lubridate/lubridate/tests/testthat/ |
H A D | test-parsers.R | 243 expect_equal(y1, y2) 258 expect_equal(y1, y2) 569 expect_equal(ymd_h(x), 574 expect_equal(ymd_hm(x), 604 expect_equal({ 688 expect_equal( 691 expect_equal( 694 expect_equal( 700 expect_equal( 819 expect_equal(oposix, opdt1) [all …]
|
H A D | test-accessors.R | 9 expect_equal(second(poslt), 59) 10 expect_equal(second(posct), 59) 11 expect_equal(second(date), 0) 23 expect_equal(minute(date), 0) 35 expect_equal(hour(date), 0) 44 expect_equal(day(poslt), 3) 45 expect_equal(day(posct), 3) 46 expect_equal(day(date), 3) 50 expect_equal(mday(date), 3) 58 expect_equal(wday(date), 4) [all …]
|
H A D | test-settors.R | 13 expect_equal(second(poslt), 10) 14 expect_equal(second(posct), 10) 15 expect_equal(second(date), 10) 31 expect_equal(hour(poslt), 0) 32 expect_equal(mday(poslt), 1) 33 expect_equal(wday(poslt), 7) 34 expect_equal(yday(poslt), 1) 41 expect_equal(hour(posct), 0) 42 expect_equal(mday(posct), 1) 51 expect_equal(hour(date), 0) [all …]
|
H A D | test-update.R | 245 expect_equal(hour(date), 2) 246 expect_equal(mday(date), 2) 247 expect_equal(wday(date), 4) 248 expect_equal(yday(date), 33) 249 expect_equal(month(date), 2) 256 expect_equal(hour(date2), 2) 257 expect_equal(mday(date2), 2) 258 expect_equal(wday(date2), 4) 274 expect_equal(hour(poslt), 2) 275 expect_equal(mday(poslt), 2) [all …]
|
H A D | test-periods.R | 24 expect_equal( 28 expect_equal( 32 expect_equal( 36 expect_equal( 46 expect_equal( 49 expect_equal( 52 expect_equal( 58 expect_equal( 61 expect_equal( 64 expect_equal( [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/r/tests/testthat/ |
H A D | test-data-type.R | 22 expect_equal(x$id, 0L) 23 expect_equal(x$name, "null") 27 expect_equal(x$num_fields, 0L) 33 expect_equal(x$id, Type$BOOL) 34 expect_equal(x$name, "bool") 40 expect_equal(x$bit_width, 1L) 46 expect_equal(x$name, "uint8") 56 expect_equal(x$name, "int8") 333 expect_equal( 349 expect_equal( [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/r/tests/testthat/ |
H A D | test-data-type.R | 22 expect_equal(x$id, 0L) 23 expect_equal(x$name, "null") 33 expect_equal(x$id, Type$BOOL) 34 expect_equal(x$name, "bool") 40 expect_equal(x$bit_width, 1L) 46 expect_equal(x$name, "uint8") 52 expect_equal(x$bit_width, 8L) 56 expect_equal(x$name, "int8") 333 expect_equal( 349 expect_equal( [all …]
|
/dports/databases/arrow/apache-arrow-6.0.1/r/tests/testthat/ |
H A D | test-data-type.R | 20 expect_equal(x$id, 0L) 21 expect_equal(x$name, "null") 31 expect_equal(x$id, Type$BOOL) 32 expect_equal(x$name, "bool") 38 expect_equal(x$bit_width, 1L) 44 expect_equal(x$name, "uint8") 54 expect_equal(x$name, "int8") 331 expect_equal( 347 expect_equal( 351 expect_equal( [all …]
|
H A D | test-type.R | 35 expect_equal( 39 expect_equal( 43 expect_equal( 47 expect_equal( 76 expect_equal( 85 expect_equal( 93 expect_equal( 101 expect_equal( 135 expect_equal( 139 expect_equal( [all …]
|
/dports/devel/R-cran-tibble/tibble/tests/testthat/ |
H A D | test-zzz-msg.R | 4 expect_equal( 11 expect_equal( 18 expect_equal( 25 expect_equal( 32 expect_equal( 39 expect_equal( 49 expect_equal( 60 expect_equal( 71 expect_equal( 82 expect_equal( [all …]
|
/dports/textproc/R-cran-readr/readr/tests/testthat/ |
H A D | test-parsing-numeric.R | 4 expect_equal(n_problems(parse_double("d")), 1) 38 expect_equal(probs$row, 3) 40 expect_equal(probs$actual, "x") 63 expect_equal(n_problems(x), 2) 69 expect_equal(parse_number("X1"), 1) 72 expect_equal(parse_number("1X"), 1) 85 expect_equal(out$x, 1.5) 90 expect_equal(out$x, 1.5) 96 expect_equal(parse_number("-2"), -2) 120 expect_equal(parse_number("3e0"), 3) [all …]
|
H A D | test-parsing-datetime.R | 8 expect_equal( 36 expect_equal( 40 expect_equal( 100 expect_equal( 105 expect_equal( 110 expect_equal( 144 expect_equal( 211 expect_equal( 216 expect_equal( 233 expect_equal( [all …]
|
/dports/devel/R-cran-glue/glue/tests/testthat/ |
H A D | test-glue.R | 111 expect_equal( 178 expect_equal( 182 expect_equal( 186 expect_equal( 190 expect_equal( 194 expect_equal( 198 expect_equal( 202 expect_equal( 233 expect_equal( 312 expect_equal( [all …]
|
/dports/graphics/R-cran-pROC/pROC/tests/testthat/ |
H A D | test-power.roc.test.R | 11 expect_equal(res$sig.level, 0.05) 20 expect_equal(res$sig.level, 0.05) 27 expect_equal(res$ncases, 41) 28 expect_equal(res$ncontrols, 72) 44 expect_equal(res$power, 0.95) 52 expect_equal(res$ncases, 41) 54 expect_equal(res$power, 0.95) 60 expect_equal(res$ncases, 41) 69 expect_equal(res$ncases, 41) 81 expect_equal(res$ncases, 41) [all …]
|
/dports/devel/R-cran-prettyunits/prettyunits/tests/testthat/ |
H A D | test-ms.r | 6 expect_equal(pretty_ms(0), '0ms') 7 expect_equal(pretty_ms(0.1), '1ms') 8 expect_equal(pretty_ms(1), '1ms') 9 expect_equal(pretty_ms(1000 + 400), '1.4s') 11 expect_equal(pretty_ms(1000 * 55), '55s') 12 expect_equal(pretty_ms(1000 * 67), '1m 7s') 13 expect_equal(pretty_ms(1000 * 60 * 5), '5m') 36 expect_equal(pretty_ms(v), v2) 43 expect_equal(pretty_sec(0 / 1000), '0ms') 45 expect_equal(pretty_sec(1 / 1000), '1ms') [all …]
|
/dports/japanese/R-cran-zipangu/zipangu/tests/testthat/ |
H A D | test-jholiday.R | 2 expect_equal( 6 expect_equal( 10 expect_equal( 14 expect_equal( 18 expect_equal( 22 expect_equal( 30 expect_equal( 34 expect_equal( 38 expect_equal( 43 expect_equal( [all …]
|
/dports/devel/R-cran-pillar/pillar/tests/testthat/ |
H A D | test-options.R | 8 expect_equal(get_pillar_option_print_max(), value) 12 expect_equal(pillar_options$print_max(), value) 33 expect_equal(pillar_options$print_min(), value) 50 expect_equal(get_pillar_option_width(), value) 54 expect_equal(pillar_options$width(), value) 61 expect_equal(get_pillar_option_width(), orig) 117 expect_equal(pillar_options$bold(), value) 124 expect_equal(get_pillar_option_bold(), orig) 180 expect_equal(pillar_options$neg(), value) 187 expect_equal(get_pillar_option_neg(), orig) [all …]
|
/dports/graphics/R-cran-viridisLite/viridisLite/tests/testthat/ |
H A D | test-palettes.R | 5 expect_equal(dim(viridis.map), c(2048, 4)) 8 expect_equal(viridis(1, option = "D"), "#440154FF") 16 expect_equal(viridis(1, option = "C"), "#0D0887FF") 24 expect_equal(viridis(1, option = "B"), "#000004FF") 32 expect_equal(viridis(1, option = "A"), "#000004FF") 40 expect_equal(viridis(1, option = "E"), "#00204DFF") 48 expect_equal(viridis(1, option = "F"), "#03051AFF") 56 expect_equal(viridis(1, option = "G"), "#0B0405FF") 80 expect_equal(viridis(0), character(0)) 81 expect_equal(mako(0), character(0)) [all …]
|
/dports/devel/R-cran-memoise/memoise/tests/testthat/ |
H A D | test-memoise.R | 8 expect_equal(fn(), 1) 9 expect_equal(fn(), 2) 10 expect_equal(fnm(), 3) 11 expect_equal(fnm(), 3) 12 expect_equal(fn(), 4) 13 expect_equal(fnm(), 3) 18 expect_equal(fnm(), 5) 29 expect_equal(fn(1), 1) 30 expect_equal(fn(1), 2) 33 expect_equal(fn(1), 4) [all …]
|
/dports/math/R-cran-sf/sf/tests/testthat/ |
H A D | test_read.R | 6 expect_equal(dim(nc), c(100, 15)) 51 expect_equal(guess_driver("nc.bna"), c("bna" = "BNA")) 52 expect_equal(guess_driver("nc.csv"), c("csv" = "CSV")) 56 expect_equal(guess_driver("nc.gml"), c("gml" = "GML")) 57 expect_equal(guess_driver("nc.gmt"), c("gmt" = "GMT")) 62 expect_equal(guess_driver("nc.kml"), c("kml" = "KML")) 63 expect_equal(guess_driver("nc.jml"), c("jml" = "JML")) 67 expect_equal(guess_driver("nc.ods"), c("ods" = "ODS")) 77 expect_equal(guess_driver("nc.notsupported"), NA) 109 expect_equal(guess_driver("notsupported:nc"), NA) [all …]
|
/dports/devel/R-cran-Rcpp/Rcpp/inst/tinytest/ |
H A D | test_sugar.R | 248 expect_equal(fx( x, y), 306 expect_equal(fx(1:10) , 408 expect_equal(fx(1:10) , 415 expect_equal(fx(1:10) , 435 expect_equal( fx(x), 460 expect_equal(fx(1:10), 496 expect_equal( res, target ) 506 expect_equal( res, target ) 533 expect_equal(fx(10:6,5:1), 557 expect_equal(fx(10:6,5:1), [all …]
|
H A D | test_as.R | 24 expect_equal( as_int(10), 10L, info = "as<int>( REALSXP ) " ) 25 expect_equal( as_int(10L), 10L, info = "as<int>( INTSXP ) " ) 26 expect_equal( as_int(as.raw(10L)), 10L, info = "as<int>( RAWSXP ) " ) 27 expect_equal( as_int(TRUE), 1L, info = "as<int>( LGLSXP ) " ) 30 expect_equal( as_double(10), 10.0, info = "as<double>( REALSXP ) " ) 31 expect_equal( as_double(10L), 10.0, info = "as<double>( INTSXP ) " ) 33 expect_equal( as_double(TRUE), 1.0, info = "as<double>( LGLSXP ) " ) 36 expect_equal( as_raw(10), as.raw(10), info = "as<Rbyte>( REALSXP ) " ) 37 expect_equal( as_raw(10L), as.raw(10), info = "as<Rbyte>( INTSXP ) " ) 39 expect_equal( as_raw(TRUE), as.raw(1), info = "as<Rbyte>( LGLSXP ) " ) [all …]
|
/dports/textproc/R-cran-stringr/stringr/tests/testthat/ |
H A D | test-replace.r | 30 expect_equal(str_replace("aba", "b", "$"), "a$a") 40 expect_equal(y, c("11", "22")) 46 expect_equal(y, c("a", "y")) 58 expect_equal(str_replace_na(NA), "NA") 60 expect_equal(str_replace_na(NA_complex_), "NA") 61 expect_equal(str_replace_na(NA_integer_), "NA") 62 expect_equal(str_replace_na(NA_real_), "NA") 85 expect_equal(fix_replacement("$"), "\\$") 86 expect_equal(fix_replacement("\\$"), "\\\\$") 90 expect_equal(fix_replacement("\\1"), "$1") [all …]
|