Description Usage Arguments Value Examples
Is the 1st 'dots' arg a character vector with length > 1?
1 |
... |
(Dots) |
TRUE
if ..1
is a vector or list with length > 1.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | ## Not run:
dots1_is_pkglist()
#> [1] FALSE
dots1_is_pkglist("hello", "hey", "hi")
#> [1] FALSE
dots1_is_pkglist(c("hello", "hey"), "hi")
#> [1] TRUE
dots1_is_pkglist(c(hello, hey), "hi")
#> [1] FALSE
# A common programming scenario:
pkg_list <- c("only_one_package")
dots1_is_pkglist(pkg_list)
#> [1] TRUE
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.