Skip to content

Commit

Permalink
knitr issue in container "%||%"
Browse files Browse the repository at this point in the history
  • Loading branch information
vnijs committed Jul 25, 2024
1 parent c5c8d5d commit 72f75c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inst/app/global.R
Original file line number Diff line number Diff line change
Expand Up @@ -646,3 +646,5 @@ onStop(function() {
# options("DT.TOJSON_ARGS" = list(na = "string"))
## Sorting on client-side would be as a string, not a numeric
## https://github.com/rstudio/DT/pull/536#issuecomment-385223433

if (getRversion() < "4.4.0") `%||%` <- function(x, y) if (is.null(x)) y else x

0 comments on commit 72f75c2

Please sign in to comment.