Description Usage Arguments Value Author(s) Examples
View source: R/has_examples_in_rd.R
Checks if an R documentation file supplies one or more examples
1 | has_examples_in_rds(rd_filenames)
|
rd_filenames |
names of R documentation (.Rd) files. These are commonly located in a package its 'man' folder |
a vector of which every element may be TRUE, FALSE or NA
Richel Bilderbeek
1 2 | filenames <- find_paths(c("f_with_examples.Rd", "f_without_examples.Rd"))
testit::assert(has_examples_in_rds(filenames) == c(TRUE, FALSE))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.