Skip to content

Commit

Permalink
check passing locally
Browse files Browse the repository at this point in the history
  • Loading branch information
cebarboza committed Nov 21, 2023
1 parent 6e70cf3 commit ed84f13
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 7 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Expand Up @@ -10,3 +10,4 @@
^LICENSE\.md$
^\.github$
^README\.Rmd$
^rsconnect$
6 changes: 4 additions & 2 deletions DESCRIPTION
Expand Up @@ -21,8 +21,10 @@ Imports:
shinythemes,
shinydashboard,
shinycssloaders,
shinyWidgets
here
shinyWidgets,
here,
DT,
stringr
Suggests:
testthat (>= 3.0.0),
rmarkdown,
Expand Down
7 changes: 6 additions & 1 deletion NAMESPACE
Expand Up @@ -8,7 +8,6 @@ export(runTreatmentPatterns)
import(TreatmentPatterns)
import(dplyr)
import(here)
import(shiny)
import(shinyWidgets)
import(shinycssloaders)
import(shinydashboard)
Expand All @@ -20,6 +19,12 @@ importFrom(CohortGenerator,createCohortTables)
importFrom(CohortGenerator,generateCohortSet)
importFrom(CohortGenerator,getCohortCounts)
importFrom(CohortGenerator,getCohortTableNames)
importFrom(DT,dataTableOutput)
importFrom(DT,renderDataTable)
importFrom(magrittr,"%>%")
importFrom(readr,read_csv)
importFrom(readr,write_csv)
importFrom(shiny,h4)
importFrom(shiny,shinyApp)
importFrom(shiny,uiOutput)
importFrom(stringr,str_detect)
12 changes: 11 additions & 1 deletion R/globals.R
Expand Up @@ -13,4 +13,14 @@ utils::globalVariables(c('sessionInfo',
'cohortSubjects',
'cohortId',
'cohortName',
'cohortId'))
'cohortId',
'age',
'cdmSourceName',
'indexYear',
'sex',
'targetCohort',
'reactive',
'renderUI',
'tabPanel',
'tagList',
'tabsetPanel'))
7 changes: 6 additions & 1 deletion R/runShinyAlopecia.R
@@ -1,7 +1,12 @@
#' `runAlopeciaShiny()` launches an app to visualise TreatmentPatterns results for the alopecia study.
#'
#' @import shiny shinythemes shinydashboard shinycssloaders shinyWidgets TreatmentPatterns here
#' @param resultsFolder Define the results folder path in character.
#'
#' @import shinythemes shinydashboard shinycssloaders shinyWidgets TreatmentPatterns here
#' @importFrom readr read_csv
#' @importFrom DT dataTableOutput renderDataTable
#' @importFrom stringr str_detect
#' @importFrom shiny shinyApp h4 uiOutput
#' @export
runShinyAlopecia <- function(resultsFolder = here::here("results")) {
ui <- dashboardPage(
Expand Down
7 changes: 5 additions & 2 deletions man/runShinyAlopecia.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ed84f13

Please sign in to comment.