Home
last modified time | relevance | path

Searched refs:col_substr (Results 1 – 17 of 17) sorted by relevance

/dports/devel/R-cran-crayon/crayon/tests/testthat/
H A Dtest-operations.R21 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 Dcol_substr.Rd3 \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 Dcol_align.Rd39 \code{\link{col_substr}()}
H A Dcol_nchar.Rd42 \code{\link{col_substr}()}
H A Dcol_substring.Rd59 \code{\link{col_substr}()}
H A Dcol_strsplit.Rd50 \code{\link{col_substr}()}
/dports/devel/R-cran-crayon/crayon/
H A DNEWS.md60 * `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 DNAMESPACE26 export(col_substr)
H A DMD531 071c125b30d48aae1d03fe312eb5721a *man/col_substr.Rd
/dports/devel/R-cran-diffobj/diffobj/tests/_helper/objs/diffFile/
H A Ds.o.30dbe0.R110 col_substr <- function(x, start, stop) { function
182 col_substr(text, as.integer(first), as.integer(last))
H A Ds.o.3f1f68.R110 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 DNAMESPACE6 importFrom(crayon,col_substr)
/dports/devel/R-cran-crayon/crayon/R/
H A Dstring_operations.r110 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 Dprogress.R439 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 Dreporter-progress.R168 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 Dmisc.R360 res[has.ansi] <- crayon::col_substr(
/dports/math/R-cran-haven/haven/R/
H A Dlabelled-pillar.R179 paste0(crayon::col_substr(item, 1, wid - 1), continue_symbol)