Create a custom namespace string.
ns_custom.RdUseful for referencing objects nested in adjacent modules
Usage
ns_custom(levels, add = NULL, .ns = ns_find())Arguments
- levels
- numindicating what segments of the namespace to keep.
- add
- chrsegments to append to the result
- .ns
- funns function. Typically found automatically.
Details
No - can be used in user supplied namespace names as this is the separator shiny uses to separate namespace sections and is how this function splits apart sections.
See also
Other general: 
browser_server(),
browser_ui(),
is_shiny.tag(),
ns_find(),
path_strip_shiny(),
path_strip_to(),
tab_ns_extract(),
warn_id()
Examples
.ns <- function(x) paste0("body-vulnerability-vuln_num_summary-vuln_summary_nums", "-", x)
ns_custom(-2, add = "blah", .ns = .ns)
#> body-vulnerability-vuln_num_summary-blah