Skip to content

Commit

Permalink
Merge pull request #81 from Biogen-Inc/for_cranny
Browse files Browse the repository at this point in the history
For cranny
  • Loading branch information
AARON-CLARK authored Aug 31, 2022
2 parents 9e43293 + 2f1d419 commit 94db35a
Show file tree
Hide file tree
Showing 138 changed files with 4,636 additions and 2,043 deletions.
14 changes: 13 additions & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
^renv$
^renv\.lock$
^.*\.Rproj$
^\.Rproj\.user$
^data-raw$
Expand All @@ -11,7 +13,17 @@ $run_dev.*
^rsconnect$
^_pkgdown\.yml$
^docs$
^doc$
^pkgdown$
^\.github$
cran-comments.md
^cran-comments\.md$
^revdep$
vignettes/announcing-tidycdisc-0-0-1-1.Rmd
vignettes/Blog.Rmd
vignettes/figures$
vignettes/tidyCDISC.Rmd
vignettes/dev0*
vignettes/x0*
^doc$
^Meta$
^CRAN-SUBMISSION$
2 changes: 2 additions & 0 deletions .Rprofile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
options(repos = structure(c(CRAN = "https://cran.rstudio.com/"), RStudio = TRUE))
source("renv/activate.R")
2 changes: 1 addition & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
branches: [main, master, for_cranny]

name: R-CMD-check

Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
branches: [main, master, for_cranny]
release:
types: [published]
workflow_dispatch:
Expand Down Expand Up @@ -32,6 +32,10 @@ jobs:
with:
extra-packages: any::pkgdown, local::.
needs: website

- name: Install specific pkgdown version
run: install.packages("remotes") ; remotes::install_version("pkgdown", version = "2.0.3", repos = "cran.rstudio.com", dependencies = FALSE)
shell: Rscript {0}

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@
inst/doc
rsconnect/
docs/
revdep/
/doc/
/Meta/
3 changes: 3 additions & 0 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Version: 0.1.0
Date: 2022-08-29 17:42:49 UTC
SHA: 159e03405e689075e62917d43b735ab39f033dfd
112 changes: 61 additions & 51 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,65 +1,75 @@
Package: tidyCDISC
Title: tidyCDISC: Quick Exploratory Data Analyses on ADaM-ish Datasets
Version: 0.0.4
Authors@R: as.person(c(
"Aaron Clark <clark.aaronchris@gmail.com> [aut, cre]",
"Maya Gans <maya.gans@biogen.com> [aut]",
"Robert Krajcik <robert.krajcik@biogen.com> [aut]",
"Marly Gotti <marly.cormar@biogen.com> [aut]",
"Biogen Inc [cph]"
))
Description: The tidyCDISC application relies on sas7bdat files in the ADaM-ish data structure to provide users a quick exploratory dive into common visualizations without writing a sinlge line of code. Prominent modules/ features of the application are the Table Generator, Population Explorer, and the Individual Explorer. The Table Generator allows users to drag and drop variables and desired statistics (frequencies, means, Anova, t-test, and other summary statistics) into bins that automagically create stunning tables with validated information. The Population Explorer offers various plots to visualize general trends in the population from various vantage points. Plot modules currently include scatter plot, spaghetti plot, box plot, histogram, means plot, and bar plot. Each plot type allows the user to plot uploaded variables against one another, and dissect the population by filtering out certain subjects. Last, the Individual Explorer establishes a cohesive patient narrative, allowing the user to interact with patient metrics (params) by visit or plotting important patient events on a timeline. All modules allow for concise filtering & downloading bulk outputs into html or pdf formats to save for later.
License: AGPL (>= 3) + file LICENSE
Title: Quick Table Generation & Exploratory Analyses on ADaM-Ish Datasets
Version: 0.1.0
Authors@R: c(
person("Aaron", "Clark", , "clark.aaronchris@gmail.com",
role = c("aut", "cre"), comment = c(ORCID = "0000-0002-0123-0970")),
person("Nate", "Mockler", , "nate.mockler@biogen.com", role = c("ccp", "led")),
person("Maya", "Gans", , "maya.gans@biogen.com", role = "aut"),
person("Robert", "Krajcik", , "robert.krajcik@biogen.com", role = "ctb"),
person("Marly", "Gotti", , "marly.cormar@biogen.com", role = "ctb"),
person(given = "Jeff", family = "Thompson",
email = "jeff.thompson51317@gmail.com", role = "ctb"),
person("Biogen", "Inc", role = "cph")
)
Description: Provides users a quick exploratory dive into common
visualizations without writing a single line of code given the users
data follows the Analysis Data Model (ADaM) standards put forth by
the Clinical Data Interchange Standards Consortium
(CDISC) <https://www.cdisc.org>. Prominent modules/ features of the application are the Table
Generator, Population Explorer, and the Individual Explorer. The Table
Generator allows users to drag and drop variables and desired statistics
(frequencies, means, ANOVA, t-test, and other summary statistics) into
bins that automagically create stunning tables with validated
information. The Population Explorer offers various plots to visualize
general trends in the population from various vantage points. Plot
modules currently include scatter plot, spaghetti plot, box plot,
histogram, means plot, and bar plot. Each plot type allows the user to
plot uploaded variables against one another, and dissect the
population by filtering out certain subjects. Last, the Individual
Explorer establishes a cohesive patient narrative, allowing the user
to interact with patient metrics (params) by visit or plotting
important patient events on a timeline. All modules allow for concise
filtering & downloading bulk outputs into html or pdf formats to save
for later.
License: AGPL (>= 3)
URL: https://Biogen-Inc.github.io/tidyCDISC/
BugReports: https://github.com/Biogen-Inc/tidyCDISC/issues
Depends:
R (>= 2.10)
Imports:
cicerone,
config,
golem,
shiny,
dplyr,
DT,
GGally,
ggcorrplot,
ggplot2,
glue,
htmltools,
shinyjs,
tippy (>= 1.0.0),
golem,
gt,
haven,
shinyWidgets,
IDEAFilter,
plotly,
RColorBrewer,
purrr,
rlang,
rmarkdown,
timevis,
shiny,
shinyjs,
shinyWidgets,
sjlabelled,
data.table,
gt,
rlang,
stringi,
ggplot2,
dplyr,
stringr,
purrr,
forcats,
tidyr,
tibble,
magrittr,
cicerone,
tidyselect,
broom,
GGally,
survival,
ggcorrplot,
IDEAFilter (>= 0.1.0.9000)
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.1.2
URL: https://Biogen-Inc.github.io/tidyCDISC/
BugReports: https://github.com/Biogen-Inc/tidyCDISC/issues
tidyr,
timevis,
tippy (== 0.1.0)
Suggests:
testthat,
lazyeval,
scales,
knitr,
spelling
Remotes:
JohnCoene/tippy,
Biogen-Inc/IDEAFilter
Depends:
R (>= 2.10)
VignetteBuilder: knitr
pkgdown,
spelling,
testthat
Encoding: UTF-8
Language: en-US
LazyData: true
RoxygenNote: 7.2.0
VignetteBuilder: knitr
2 changes: 0 additions & 2 deletions LICENSE

This file was deleted.

84 changes: 40 additions & 44 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,73 +1,68 @@
# Generated by roxygen2: do not edit by hand

export("%>%")
export(app_anova)
export(app_boxplot)
export(app_chg)
export(app_freq)
export(app_heatmap)
export(app_km_curve)
export(app_lineplot)
export(app_max_freq)
export(app_mean)
export(app_methods)
export(app_nested_freq)
export(app_non_missing)
export(app_scatterplot)
export(app_spaghettiplot)
export(app_y)
export(cleanADAE)
export(col_for_list_expr)
export(combineBDS)
export(common_rownames)
export(data_to_filter)
export(data_to_use_str)
export(getLevels)
export(get_levels)
export(prep_adae)
export(prep_adsl)
export(prep_sas_table)
export(prep_tg_table)
export(pretty_blocks)
export(readData)
export(prep_bds)
export(pretty_IDs)
export(run_app)
export(tg_data)
export(varN_fctr_reorder)
import(IDEAFilter)
import(dplyr)
import(ggplot2)
import(gt)
import(shiny)
import(tidyr)
importFrom(GGally,ggsurv)
importFrom(IDEAFilter,shiny_data_filter)
importFrom(IDEAFilter,shiny_data_filter_ui)
importFrom(RColorBrewer,brewer.pal)
importFrom(broom,tidy)
importFrom(cicerone,Cicerone)
importFrom(cicerone,use_cicerone)
importFrom(data.table,":=")
importFrom(data.table,rbindlist)
importFrom(data.table,setDT)
importFrom(dplyr,"%>%")
importFrom(dplyr,case_when)
importFrom(forcats,fct_count)
importFrom(forcats,fct_reorder)
importFrom(dplyr,mutate)
importFrom(dplyr,rename)
importFrom(ggcorrplot,cor_pmat)
importFrom(ggplot2,aes)
importFrom(ggplot2,annotate)
importFrom(ggplot2,geom_hline)
importFrom(ggplot2,geom_line)
importFrom(ggplot2,geom_point)
importFrom(ggplot2,geom_vline)
importFrom(ggplot2,ggplot)
importFrom(ggplot2,labs)
importFrom(ggplot2,scale_color_manual)
importFrom(ggplot2,scale_x_continuous)
importFrom(glue,glue)
importFrom(golem,activate_js)
importFrom(golem,add_resource_path)
importFrom(golem,bundle_resources)
importFrom(golem,favicon)
importFrom(golem,with_golem_options)
importFrom(gt,cell_text)
importFrom(gt,cells_body)
importFrom(gt,cells_row_groups)
importFrom(gt,cells_stub)
importFrom(gt,cells_stubhead)
importFrom(gt,cols_align)
importFrom(gt,cols_hide)
importFrom(gt,cols_label)
importFrom(gt,fmt_markdown)
importFrom(gt,gt)
importFrom(gt,gt_output)
importFrom(gt,gtsave)
importFrom(gt,local_image)
importFrom(gt,md)
importFrom(gt,render_gt)
importFrom(gt,tab_header)
importFrom(gt,tab_options)
importFrom(gt,tab_stubhead)
importFrom(gt,tab_style)
importFrom(gt,text_transform)
importFrom(haven,read_sas)
importFrom(haven,zap_formats)
importFrom(haven,zap_label)
importFrom(htmltools,HTML)
importFrom(htmltools,tagAppendAttributes)
importFrom(htmltools,tagList)
importFrom(htmltools,tags)
importFrom(magrittr,"%>%")
importFrom(plotly,add_annotations)
importFrom(plotly,config)
importFrom(plotly,ggplotly)
Expand All @@ -80,6 +75,7 @@ importFrom(purrr,map2)
importFrom(purrr,map_chr)
importFrom(purrr,pmap)
importFrom(purrr,reduce)
importFrom(purrr,transpose)
importFrom(purrr,update_list)
importFrom(purrr,walk2)
importFrom(rlang,"!!")
Expand All @@ -95,8 +91,11 @@ importFrom(shiny,actionButton)
importFrom(shiny,column)
importFrom(shiny,shinyApp)
importFrom(shiny,tagList)
importFrom(shinyWidgets,checkboxGroupButtons)
importFrom(shinyWidgets,dropdownButton)
importFrom(shinyWidgets,materialSwitch)
importFrom(shinyWidgets,pickerInput)
importFrom(shinyWidgets,tooltipOptions)
importFrom(shinyWidgets,updatePickerInput)
importFrom(shinyjs,alert)
importFrom(shinyjs,disable)
Expand All @@ -110,8 +109,6 @@ importFrom(shinyjs,useShinyjs)
importFrom(sjlabelled,get_label)
importFrom(sjlabelled,set_label)
importFrom(stats,as.formula)
importFrom(stringi,"%s+%")
importFrom(stringi,stri_replace_all_regex)
importFrom(stringr,str_detect)
importFrom(stringr,str_locate_all)
importFrom(stringr,str_remove)
Expand All @@ -121,12 +118,11 @@ importFrom(stringr,str_to_title)
importFrom(stringr,str_trim)
importFrom(survival,Surv)
importFrom(survival,survfit)
importFrom(tibble,as_tibble)
importFrom(tibble,tibble)
importFrom(tidyr,as_tibble)
importFrom(tidyr,pivot_longer)
importFrom(tidyr,pivot_wider)
importFrom(tidyr,replace_na)
importFrom(tidyr,separate_rows)
importFrom(tidyselect,any_of)
importFrom(timevis,renderTimevis)
importFrom(timevis,setOptions)
importFrom(timevis,timevis)
Expand Down
9 changes: 8 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
# tidyCDISC 0.0.4 (CRAN Release)
# tidyCDISC 0.1.0 (CRAN Release)
* cleaning up `devtools::check()` & preparing for CRAN release.

* unfortunately, had to revert back to importing `tippy 0.1.0` since it is the latest available version on CRAN and CRAN pkgs cannot depend on package versions under development.

* created a new toggle on the `Data` tab that allows users to select which CDISC pilot study data sources they wish to use in the app.

* Minor bug improvements

# tidyCDISC 0.0.4
* cleaning up `devtools::check()` & preparing for CRAN release.

# tidyCDISC 0.0.3

Expand Down
3 changes: 3 additions & 0 deletions R/app_server.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
#' @noRd
app_server <- function( input, output, session ) {

old <- options()
on.exit(options(old))

observeEvent(input$myBrowser , {
if(str_detect(input$myBrowser, "IE")){
showModal(tags$div(id="browserModal", modalDialog(footer = NULL,
Expand Down
Loading

0 comments on commit 94db35a

Please sign in to comment.