inst/unitTests/test_paste.R

test_ellipsis_forwarding_for_paste <- function()
{
    x <- list(letters, LETTERS)

    target <- sapply(x, base::paste)
    checkIdentical(target, sapply(x, paste))

    target <- sapply(x, base::paste, collapse="")
    checkIdentical(target, sapply(x, paste, collapse=""))
}

Try the BiocGenerics package in your browser

Any scripts or data that you put into this service are public.

BiocGenerics documentation built on April 17, 2021, 6:01 p.m.