Skip to content

Commit

Permalink
Merge pull request #67 from Merck/reactR-version
Browse files Browse the repository at this point in the history
Avoid using `defaultColDef` to fix the bug for reactR >= 0.6.0
  • Loading branch information
nanxstats authored Dec 21, 2024
2 parents bbb07e2 + ad2ba30 commit 217216d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, reactR@0.5.0, local::.
extra-packages: any::pkgdown, local::.
needs: website

- name: Build site
Expand Down
2 changes: 1 addition & 1 deletion R/reactable2.R
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ reactable2 <- function(
filterable = filterable,
searchable = searchable,
defaultPageSize = defaultPageSize,
defaultColDef = col_def,
# defaultColDef = col_def, # This breaks rendering under reactR >= 0.6.0
showPageSizeOptions = showPageSizeOptions,
borderless = borderless,
striped = striped,
Expand Down

0 comments on commit 217216d

Please sign in to comment.