/dports/devel/R-cran-crayon/crayon/tests/testthat/ |
H A D | test-operations.R | 21 expect_equal(strip_style(col_substr(s, i, j)), 29 expect_equal(col_substr("\033[31mred\033[39m", 1, 1), 31 expect_equal(col_substr("foo\033[31mred\033[39m", 4, 4), 33 expect_equal(col_substr("foo\033[31mred\033[39mbar", 4, 4), 40 expect_equal(col_substr("red", 4, 4), "") 41 expect_equal(col_substr("red", 4, 5), "") 45 expect_equal(col_substr("red", 3, 4), "d") 46 expect_equal(col_substr("red", 3, 5), "d") 59 r1 <- strip_style(col_substr(strs, starts, stops)) 71 expect_identical(col_substr(c0, 1, 1), substr(c0, 1, 1)) [all …]
|
/dports/devel/R-cran-crayon/crayon/man/ |
H A D | col_substr.Rd | 3 \name{col_substr} 4 \alias{col_substr} 7 col_substr(x, start, stop) 37 cat(col_substr(str, 1, 5), "\n") 38 cat(col_substr(str, 1, 15), "\n") 39 cat(col_substr(str, 3, 7), "\n") 50 cat(col_substr(c(str, str2), c(3,5), c(7, 18)), sep = "\n")
|
H A D | col_align.Rd | 39 \code{\link{col_substr}()}
|
H A D | col_nchar.Rd | 42 \code{\link{col_substr}()}
|
H A D | col_substring.Rd | 59 \code{\link{col_substr}()}
|
H A D | col_strsplit.Rd | 50 \code{\link{col_substr}()}
|
/dports/devel/R-cran-crayon/crayon/ |
H A D | NEWS.md | 60 * `col_strsplit` and `col_substr` corner cases: 68 * handle zero length `x` argument in `col_substr`, and 71 * Some performance improvements to `col_substr` (@brodieG)
|
H A D | NAMESPACE | 26 export(col_substr)
|
H A D | MD5 | 31 071c125b30d48aae1d03fe312eb5721a *man/col_substr.Rd
|
/dports/devel/R-cran-diffobj/diffobj/tests/_helper/objs/diffFile/ |
H A D | s.o.30dbe0.R | 110 col_substr <- function(x, start, stop) { function 182 col_substr(text, as.integer(first), as.integer(last))
|
H A D | s.o.3f1f68.R | 110 col_substr <- function(x, start, stop) { function 176 col_substr(text, as.integer(first), as.integer(last))
|
/dports/devel/R-cran-progress/progress/ |
H A D | NAMESPACE | 6 importFrom(crayon,col_substr)
|
/dports/devel/R-cran-crayon/crayon/R/ |
H A D | string_operations.r | 110 col_substr <- function(x, start, stop) { function 182 col_substr(text, as.integer(first), as.integer(last))
|
/dports/devel/R-cran-progress/progress/R/ |
H A D | progress.R | 439 str <- paste0(col_substr(str, 1, private$width - 3), "...") 472 paste0(col_substr(msg[too_long], 1, private$width - 3), "...")
|
/dports/devel/R-cran-testthat/testthat/R/ |
H A D | reporter-progress.R | 168 message <- crayon::col_substr(message, 1, self$width) 484 message <- crayon::col_substr(message, 1, self$width)
|
/dports/devel/R-cran-diffobj/diffobj/R/ |
H A D | misc.R | 360 res[has.ansi] <- crayon::col_substr(
|
/dports/math/R-cran-haven/haven/R/ |
H A D | labelled-pillar.R | 179 paste0(crayon::col_substr(item, 1, wid - 1), continue_symbol)
|