silent_library | R Documentation |
attach library as silent as possible
silent_library(package_name, mywarnings = FALSE)
package_name |
Character string with name of package or |
mywarnings |
Boolean indicating if warnings should be displayed. This argument is left in for compatibility reason but will be ignored. |
NULL (invisible)
## Not run:
silent_library('knitr')
silent_library(knitr)
packages_to_load <- c('glue','FactoMineR','curl')
purrr::walk(packages_to_load[1:2],silent_library)
silent_library(packages_to_load[[3]])
silent_library(c('glue','FactoMineR','curl'))
# silent_library(packages_to_load) # won't work: "there is no package called 'packages_to_load'"
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.