Read built-in object from package
Consistent wrapper around data()
that forces the promise. This is also a
stronger parallel to loading data from a file.
read_builtin(x, package = NULL)
x |
Name (character string) of data set to read. |
package |
Name of package from which to find data set. By default, all attached packages are searched and then the 'data' subdirectory (if present) of the current working directory. |
An object of the built-in class of x
.
if (requireNamespace("dplyr")) { read_builtin("starwars", "dplyr") read_builtin("storms", "dplyr") }
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.