Description Usage Arguments Note Examples
developer report on package check process in shiny
1 | browse_checks(con, pnet_list)
|
con |
SQLiteConnection where tables of check results from rcmdcheck, etc., are stored |
pnet_list |
named list of pkgnet outputs |
dbDisconnect is run if the stop button is pressed to end shiny session. If
stopped via ctrl-C or error, the connection may remain and require closure. N.B. The
source codes for this app are in inst/app1, to simplify contribution to shinyapps.io.
Interactive execution proceeds by copying the server and ui files to temporary folder
where shiny::runApp()
is executed. For some packages for which tests do not succeed
coverage statistics derived by pkgnet will be absent.
1 2 3 4 5 6 7 8 | if (interactive()) {
con = RSQLite::dbConnect(RSQLite::SQLite(),
system.file("sqlite/demo16.sqlite", package="BiocQE"), flags=RSQLite::SQLITE_RO)
print(RSQLite::dbListTables(con))
demo_pnet2 = readRDS(system.file("pkgnet/demo16_pnet.rds", package="BiocQE"))
#demo_pnet2 = system.file("pkgnet/demo2.zip", package="BiocQE")
browse_checks(con, demo_pnet2)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.