browse_checks: developer report on package check process in shiny

Description Usage Arguments Note Examples

View source: R/app_support.R

Description

developer report on package check process in shiny

Usage

1
browse_checks(con, pnet_list)

Arguments

con

SQLiteConnection where tables of check results from rcmdcheck, etc., are stored

pnet_list

named list of pkgnet outputs

Note

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.

Examples

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)
}

vjcitn/BiocQE documentation built on Dec. 30, 2021, 12:20 a.m.