# 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
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab