Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
281cc1a
Add function to create `blockData` object
Jeff-Thompson12 Dec 15, 2022
50a3d51
Add wrappers for block data object
Jeff-Thompson12 Jan 5, 2023
4b97674
Allow passing of block data object to `tg_gt()`
Jeff-Thompson12 Jan 5, 2023
31f4d48
Export block data functions
Jeff-Thompson12 Jan 5, 2023
e84365d
Account for multiple data sets containing field
Jeff-Thompson12 Jan 9, 2023
d9fd1e0
Allow NA or NULL to be passed to dropdown
Jeff-Thompson12 Jan 9, 2023
a070413
Set up the easier tables
Jeff-Thompson12 Feb 22, 2023
e263d06
Fix merge conflict with `devel`
Jeff-Thompson12 Feb 22, 2023
cc0eb85
Change `args` to `stat_arg` in JSON
Jeff-Thompson12 Feb 22, 2023
ff959a2
Add S3 methods to parse recipes
Jeff-Thompson12 Feb 24, 2023
3b242dc
Use recipes.json to populate pre-made tables
Jeff-Thompson12 Feb 24, 2023
7fcae3c
Move recipes.json to system file
Jeff-Thompson12 Feb 27, 2023
5ae15d1
Repair format to RECIPES selectize input
Jeff-Thompson12 Feb 27, 2023
3388b73
Import `jsonlite::read_json()`
Jeff-Thompson12 Feb 27, 2023
34e285a
Add classes for filters applied to ADSL and ADAE for STAN tables
Jeff-Thompson12 Feb 27, 2023
1b93413
Resolve merge conflict in recipe.js
Jeff-Thompson12 Feb 27, 2023
9350b5f
Try to keep `for_gt()` from triggering too soon
Jeff-Thompson12 Mar 1, 2023
f4836ff
Clean up reactivity instead of using `debounce()`
Jeff-Thompson12 Mar 3, 2023
b8beca8
Resolve merge conflicts with `devel`
Jeff-Thompson12 Mar 14, 2023
2455014
Add `tryCatch` back in for validation on recipes
Jeff-Thompson12 Mar 14, 2023
ce5c00e
Fix broken recipe display message
Jeff-Thompson12 Mar 14, 2023
4e24a3b
Fix `tryCatch` issue
Jeff-Thompson12 Mar 14, 2023
67e9df4
Update WORDLIST
Jeff-Thompson12 Mar 14, 2023
f836dfb
Increment version number to 0.2.1.9000
AARON-CLARK Mar 16, 2023
c518f57
move item in news file into appropriate location
AARON-CLARK Mar 16, 2023
cd3c0a0
Merge branch 'devel' into jt-152-step_one
Jeff-Thompson12 Mar 21, 2023
d8069b4
Update NEWS
Jeff-Thompson12 Mar 21, 2023
5846541
Don't override stat_options if provided
Jeff-Thompson12 Mar 21, 2023
fd234f4
Add short vignette
Jeff-Thompson12 Mar 21, 2023
fea78c3
Vignette updates
Jeff-Thompson12 Mar 24, 2023
0563c12
Merge pull request #167 from Biogen-Inc/jt-152-step_one
AARON-CLARK Mar 24, 2023
78c3a38
Fix the listeners in script.js
Jeff-Thompson12 Mar 27, 2023
3624578
Merge pull request #234 from Biogen-Inc/jt-fix_stat_dropdowns
AARON-CLARK Mar 27, 2023
7641b3a
Resolve merge conflicts with `devel`
Jeff-Thompson12 Mar 29, 2023
3f6dbf7
Update WORDLIST
Jeff-Thompson12 Mar 29, 2023
4799f21
Expand list in R6 blockData when "All" selected
Jeff-Thompson12 Mar 30, 2023
66108f2
Add remove_blocks method
Jeff-Thompson12 Mar 30, 2023
50bb363
Don't invisibly return outputs for block data wrappers
Jeff-Thompson12 Mar 30, 2023
84cc1f2
Add ATPT code to blockData
Jeff-Thompson12 Mar 30, 2023
8abe0bd
Standardize droppable processing
Jeff-Thompson12 Mar 30, 2023
7e09979
Clean up droppable processor
Jeff-Thompson12 Mar 30, 2023
e866e26
Add argument for time points
Jeff-Thompson12 Mar 30, 2023
ae92094
Get failing test passing
Jeff-Thompson12 Mar 30, 2023
cb8577b
Update documentation
Jeff-Thompson12 Mar 30, 2023
14bb3ce
Add AVISIT function
Jeff-Thompson12 Mar 30, 2023
479aa4c
Implement `create_avisit()`
Jeff-Thompson12 Mar 30, 2023
2432128
Implement `create_all_cols()`
Jeff-Thompson12 Mar 30, 2023
564b3be
Implement `create_avals()`
Jeff-Thompson12 Mar 30, 2023
8a4ae38
Fix issue with example for `addBlock()`
Jeff-Thompson12 Mar 30, 2023
11e4984
Create options group if block options are an object
Jeff-Thompson12 Mar 30, 2023
a839784
Add `var_options()`
Jeff-Thompson12 Mar 30, 2023
a2b4d22
Fix blank line in `stat_options.avisit()`
Jeff-Thompson12 Mar 30, 2023
f894607
Remove comment in recipe.js
Jeff-Thompson12 Mar 30, 2023
edc3373
Little reorganization of js and css files
Jeff-Thompson12 Mar 30, 2023
3993e42
Update NEWS
Jeff-Thompson12 Mar 31, 2023
e511c34
Add tests for blockData
Jeff-Thompson12 Mar 31, 2023
794ab2c
Import R6
Jeff-Thompson12 Mar 31, 2023
923c1d5
Add blockData function references to pkgdown site
Jeff-Thompson12 Mar 31, 2023
157f111
Update WORDLIST
Jeff-Thompson12 Mar 31, 2023
3809aa7
Fix issues with spelling test
Jeff-Thompson12 Mar 31, 2023
d376997
Import R6
Jeff-Thompson12 Mar 31, 2023
535a29c
Add set title
Jeff-Thompson12 Mar 31, 2023
1eb77cc
Add set group
Jeff-Thompson12 Mar 31, 2023
35c6125
Add JSON export functionality
Jeff-Thompson12 Mar 31, 2023
19989ff
Allow selection of options in recipes
Jeff-Thompson12 Mar 31, 2023
6d6aaab
Make normal script.js behave similarly
Jeff-Thompson12 Mar 31, 2023
a3ba837
Merge branch 'jt-recipe_var_options' into jt126-blockdata
Jeff-Thompson12 Mar 31, 2023
4b3a5ae
Clean up block data function returns
Jeff-Thompson12 Mar 31, 2023
269e9f7
Return option group for ATPT
Jeff-Thompson12 Mar 31, 2023
2b7bad2
Replace `_arg` with `_selection`
Jeff-Thompson12 Apr 18, 2023
7d62c4c
Simplistic checks on drop down selections for recipes
Jeff-Thompson12 Apr 18, 2023
093b8e0
Update RECIPE vignette
Jeff-Thompson12 Apr 18, 2023
8f75bea
Hard code demo recipe JSON
Jeff-Thompson12 Apr 18, 2023
b207e80
Fix spelling error
Jeff-Thompson12 Apr 18, 2023
3f07115
Fix variable recipe check
Jeff-Thompson12 Apr 18, 2023
e0476a9
Add example for ATPT
Jeff-Thompson12 Apr 19, 2023
384908d
Include `{htmltools}` in Suggests
Jeff-Thompson12 Apr 19, 2023
7d18651
Another attempt
Jeff-Thompson12 Apr 19, 2023
9eeb06f
Fix issue with doing processing all ATPT values
Jeff-Thompson12 Apr 19, 2023
dff0228
Add the HTML file...
Jeff-Thompson12 Apr 19, 2023
646add8
Merge pull request #235 from Biogen-Inc/jt-recipe_var_options
AARON-CLARK Apr 19, 2023
760d41c
Merge branch 'devel' into jt126-blockdata
Jeff-Thompson12 Apr 19, 2023
996fceb
Change `_arg` to `_selection` in blockData
Jeff-Thompson12 Apr 19, 2023
a066663
Update NEWS
Jeff-Thompson12 Apr 19, 2023
83d252d
Update WORDLIST
Jeff-Thompson12 Apr 19, 2023
6bfc249
Add "ATPT" and "ATPTN" to list of global variables
Jeff-Thompson12 Apr 19, 2023
aaf0ae4
Fix issue with `setGroup()` and `setTitle()`
Jeff-Thompson12 Apr 20, 2023
6937054
Only compute added blocks instead of whole list
Jeff-Thompson12 Apr 20, 2023
beef286
Add `filter` to initialized value of `blocks`
Jeff-Thompson12 Apr 20, 2023
e6aa107
Switch to append functions allowing for placement
Jeff-Thompson12 Apr 20, 2023
34752f6
Allow insertion of table blocks into specified row
Jeff-Thompson12 Apr 21, 2023
e9f4ad8
Fix issues with inaccurate returns from user input
Jeff-Thompson12 Apr 21, 2023
7ca29c6
Return call when user input requested
Jeff-Thompson12 Apr 21, 2023
7a43f56
Oops
Jeff-Thompson12 Apr 21, 2023
d2b774f
Change from `readline` to `readLines` so that testing can be created
Jeff-Thompson12 Apr 21, 2023
aa37926
Update text to explicitly tell the user to type their response
Jeff-Thompson12 Apr 21, 2023
1051824
Fix buggy messaging
Jeff-Thompson12 Apr 21, 2023
b9be894
Add a hanful more tests
Jeff-Thompson12 Apr 21, 2023
6896f88
Update documentation for `addBlock()`
Jeff-Thompson12 Apr 21, 2023
8832279
Test specifying R version
Jeff-Thompson12 Apr 25, 2023
3d94360
Use `renv` R version for other Github Actions
Jeff-Thompson12 Apr 25, 2023
15952c2
Correct inputs to Github Actions
Jeff-Thompson12 Apr 25, 2023
0d0a3d4
Don't output `cat` when running tests
Jeff-Thompson12 Apr 25, 2023
b542ca3
Add couple basic tests for blockData
Jeff-Thompson12 Apr 25, 2023
0c665e4
Remove `{rcmdcheck}` because it's already included in renv.lock
Jeff-Thompson12 Apr 25, 2023
7bea3d2
Use `renv` R version and packages for tests on `devel`
Jeff-Thompson12 Apr 25, 2023
429d21d
Invalidate the cache
Jeff-Thompson12 Apr 25, 2023
8e2baaa
Add cache back in
Jeff-Thompson12 Apr 25, 2023
53f1b5e
Install `gcc`
Jeff-Thompson12 Apr 25, 2023
5eb4fdb
Oops
Jeff-Thompson12 Apr 25, 2023
418a6e6
Don't use `renv` for devel check
Jeff-Thompson12 Apr 26, 2023
c92465d
Reset workflows to `devel`
Jeff-Thompson12 Apr 26, 2023
ccab09a
Update test-coverage
Jeff-Thompson12 Apr 26, 2023
5db0a23
Update pkgdown
Jeff-Thompson12 Apr 26, 2023
7a8e25d
Update devel R-CMD check
Jeff-Thompson12 Apr 26, 2023
65e3326
setup-renv not setup-r-renv
Jeff-Thompson12 Apr 26, 2023
5a37465
Merge pull request #244 from Biogen-Inc/jt-243-fix_gha
Jeff-Thompson12 Apr 26, 2023
c10464a
Merge branch 'master' into devel
Jeff-Thompson12 Apr 26, 2023
8bbc84d
Merge branch 'devel' into jt126-blockdata
Jeff-Thompson12 Apr 26, 2023
b389210
Display `group_by` and `title`
Jeff-Thompson12 Apr 28, 2023
ef757ee
Add `label` and `label_source` to blocks
Jeff-Thompson12 Apr 28, 2023
8498ed8
Oops
Jeff-Thompson12 Apr 28, 2023
ebadc42
Maybe update documents and not just roxygen
Jeff-Thompson12 Apr 28, 2023
b373abf
Merge pull request #145 from Biogen-Inc/jt126-blockdata
AARON-CLARK May 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions .github/workflows/R-CMD-check-devel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ jobs:
fail-fast: false
matrix:
config:
- {os: macOS-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}
- {os: macOS-latest, r: 'renv'}
- {os: windows-latest, r: 'renv'}
- {os: ubuntu-latest, r: 'renv'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -43,16 +41,11 @@ jobs:
- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-renv@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true
extra-packages: rcmdcheck

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: rcmdcheck
- uses: r-lib/actions/setup-renv@v2

# likely not needed since 'r-lib/actions/check-r-package@v2' will build
# the pkg, but including it for consistency with other workflows
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,12 @@ jobs:
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
r-version: 'renv'

- uses: r-lib/actions/setup-renv@v2
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)
run: remotes::install_version("pkgdown", version = "2.0.3", repos = "cran.rstudio.com", dependencies = FALSE)
shell: Rscript {0}

- name: Install tidyCDISC
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ jobs:
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
r-version: 'renv'

- uses: r-lib/actions/setup-renv@v2
with:
extra-packages: covr

- name: Install tidyCDISC
shell: bash
Expand Down
4 changes: 3 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: tidyCDISC
Title: Quick Table Generation & Exploratory Analyses on ADaM-Ish Datasets
Version: 0.2.1
Version: 0.2.1.9003
Authors@R: c(
person("Aaron", "Clark", , "clark.aaronchris@gmail.com", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-0123-0970")),
Expand Down Expand Up @@ -50,8 +50,10 @@ Imports:
gt,
haven,
IDEAFilter,
jsonlite,
plotly,
purrr,
R6,
rlang,
rmarkdown,
shiny,
Expand Down
10 changes: 10 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
# Generated by roxygen2: do not edit by hand

export(addBlock)
export(app_methods)
export(col_for_list_expr)
export(common_rownames)
export(createBlockdata)
export(data_to_filter)
export(data_to_use_str)
export(get_levels)
export(prep_adae)
export(prep_adsl)
export(prep_bds)
export(pretty_IDs)
export(removeBlock)
export(run_app)
export(setGroup)
export(setTitle)
export(std_footnote)
export(tg_gt)
export(varN_fctr_reorder)
export(writeJSON)
import(R6)
import(dplyr)
import(shiny)
importFrom(GGally,ggsurv)
Expand Down Expand Up @@ -65,6 +72,9 @@ importFrom(gt,text_transform)
importFrom(haven,read_sas)
importFrom(haven,zap_formats)
importFrom(haven,zap_label)
importFrom(jsonlite,read_json)
importFrom(jsonlite,toJSON)
importFrom(jsonlite,write_json)
importFrom(plotly,add_annotations)
importFrom(plotly,config)
importFrom(plotly,ggplotly)
Expand Down
8 changes: 7 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# tidyCDISC (development version)
* Moved "recipe" for standard table creation from JavaScript to JSON file (#167)
* Improved code determining which standard tables to provide as options based on data uploaded (#167)
* Fixed bug causing standard tables to run twice when grouping selected (#167)
* Added var option functionality to "recipe" creation
* Added a new R6 class to create blockData (#126)

# tidyCDISC 0.2.1 (CRAN Release)

Expand All @@ -17,7 +23,7 @@
* Fixed bug where selected filters were not being applied when 'Apply Filters' was toggled on (#175)
* Fixed bug where plots' visual appeal was destroyed when faceting variable labels were too long (#200)
* Fixed bug where scatter plot wouldn't display by categorical variable with `NA` values (#192)
- Allowed for one-element lists in heatmap axis dropdowns (#214)
* Allowed for one-element lists in heatmap axis dropdowns (#214).

### Individual Explorer
* Updated the look of the time visualization (#194)
Expand Down
Loading