print_packages | R Documentation |
print_packages() formats the output of get_libraries_tb() as HTML.
print_packages(
pkg_extensions_tb = NULL,
gh_repo_1L_chr = "ready4-dev/ready4",
gh_tag_1L_chr = "Documentation_0.0",
include_1L_chr = "modules",
module_pkgs_chr = character(0),
ns_var_nm_1L_chr = "pt_ns_chr",
project_badges_url_1L_chr = "https://img.shields.io/badge/ready4",
reference_var_nm_1L_chr = "Reference",
scroll_height_1L_chr = character(0),
scroll_width_1L_chr = character(0),
sections_chr = character(0),
url_stub_1L_chr = "https://ready4-dev.github.io/",
vignette_var_nm_1L_chr = "Vignettes",
vignette_url_var_nm_1L_chr = "Vignettes_URLs",
what_chr = "all",
...
)
pkg_extensions_tb |
Package extensions (a tibble), Default: NULL |
gh_repo_1L_chr |
Github repository (a character vector of length one), Default: 'ready4-dev/ready4' |
gh_tag_1L_chr |
Github tag (a character vector of length one), Default: 'Documentation_0.0' |
include_1L_chr |
Include (a character vector of length one), Default: 'modules' |
module_pkgs_chr |
Module packages (a character vector), Default: character(0) |
ns_var_nm_1L_chr |
Namespace variable name (a character vector of length one), Default: 'pt_ns_chr' |
project_badges_url_1L_chr |
Project badges url (a character vector of length one), Default: 'https://img.shields.io/badge/ready4' |
reference_var_nm_1L_chr |
Reference variable name (a character vector of length one), Default: 'Reference' |
scroll_height_1L_chr |
Scroll height (a character vector of length one), Default: character(0) |
scroll_width_1L_chr |
Scroll width (a character vector of length one), Default: character(0) |
sections_chr |
Sections (a character vector), Default: character(0) |
url_stub_1L_chr |
Url stub (a character vector of length one), Default: 'https://ready4-dev.github.io/' |
vignette_var_nm_1L_chr |
Vignette variable name (a character vector of length one), Default: 'Vignettes' |
vignette_url_var_nm_1L_chr |
Vignette url variable name (a character vector of length one), Default: 'Vignettes_URLs' |
what_chr |
What (a character vector), Default: 'all' |
... |
Additional arguments |
Package extensions (a kable)
# Method 1
libraries_tb <- get_libraries_tb(gh_repo_1L_chr = "ready4-dev/ready4")
## Print framework libraries
update_libraries_tb(libraries_tb,
url_stub_1L_chr = "https://ready4-dev.github.io/",
include_1L_chr = "framework") %>%
print_packages()
## Print module libraries
update_libraries_tb(libraries_tb,
url_stub_1L_chr = "https://ready4-dev.github.io/",
include_1L_chr = "modules") %>%
print_packages()
# Method 2
## Print framework libraries
print_packages(gh_repo_1L_chr = "ready4-dev/ready4",
include_1L_chr = "framework")
## Print module libraries
print_packages(gh_repo_1L_chr = "ready4-dev/ready4",
include_1L_chr = "modules")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.