<% if(n_total > 0) { %> <% if(grepl("(bioc|books|annotation|experiment|workflow)", pkg$repository)) { namespace_link = paste0("https://code.bioconductor.org/browse/", pkg$package, "/blob/master/NAMESPACE") } else if(pkg$package %in% BASE_PKGS) { namespace_link = paste0("https://github.com/wch/r-source/blob/trunk/src/library/", pkg$package, "/NAMESPACE") } else { namespace_link = paste0("https://github.com/cran/", pkg$package, "/blob/master/NAMESPACE") } %>

"Import" information is from NAMESPACE of '<%=pkg$package%>'.

imports: number of imported functions/variables; importMethods: number of imported S4 methods; importClasses: number of imported S4 classes.

<% tb[, 1] = qq("@{tb[, 1]}", collapse = FALSE) html_tb = as.character(knitr::kable(tb, format = "html", row.names = FALSE, escape = FALSE, col.names = c("Parent package", "Field", "imports", "importMethods", "importClasses", "Required packages", qq("Heaviness from parent on '@{pkg$package}'")), table.attr = "class='table table-striped'")) html_tb = gsub("(]*?> Suggests \\s+)]*?> 0 \\s+]*?> 0 \\s+]*?> 0 \\s+", "\\1Namespace is not imported.\n", html_tb) html_tb = gsub("(]*?> Enhances \\s+)]*?> 0 \\s+]*?> 0 \\s+]*?> 0 \\s+", "\\1Namespace is not imported.\n", html_tb) html_tb = gsub("(]*?> Depends \\s+)]*?> 0 \\s+]*?> 0 \\s+]*?> 0 \\s+", "\\1The whole namespace is imported.\n", html_tb) html_tb = gsub("(]*?> Depends \\s+)]*?> -(\\d+) \\s+]*?> 0 \\s+]*?> 0 \\s+", "\\1The whole namespace excluding \\2 objects is imported.\n", html_tb) html_tb = gsub("(]*?> Depends \\s+)]*?> -Inf \\s+]*?> 0 \\s+]*?> 0 \\s+", "\\1Package is listed in 'Depends' but no object from the namespace is imported.\n", html_tb) html_tb = gsub("(]*?> Imports \\s+)]*?> 0 \\s+]*?> 0 \\s+]*?> 0 \\s+", "\\1The whole namespace is imported.\n", html_tb) html_tb = gsub("(]*?> Imports \\s+)]*?> -(\\d+) \\s+]*?> 0 \\s+]*?> 0 \\s+", "\\1The whole namespace excluding \\2 objects is imported.\n", html_tb) html_tb = gsub("(]*?> Imports \\s+)]*?> -Inf \\s+]*?> 0 \\s+]*?> 0 \\s+", "\\1Package is listed in 'Imports' but no object from the namespace is imported.\n", html_tb) html_tb = gsub("(]*?> LinkingTo \\s+)]*?> 0 \\s+]*?> 0 \\s+]*?> 0 \\s+", "\\1The whole namespace is imported.\n", html_tb) html_tb = gsub("(]*?> LinkingTo \\s+)]*?> -(\\d+) \\s+]*?> 0 \\s+]*?> 0 \\s+", "\\1The whole namespace excluding \\2 objects is imported.\n", html_tb) html_tb = gsub("(]*?> LinkingTo \\s+)]*?> -Inf \\s+]*?> 0 \\s+]*?> 0 \\s+", "\\1Package is listed in 'Imports' but no object from the namespace is imported.\n", html_tb) %> <%= html_tb %> <% nr = n_total if(nr > 25) { %> <%= page_select2(page, ceiling(nr/25), "parent_dependency", pkg$package) %> <% } %> <% } else { %>

No dependency found

<% } %>