> shiny::runApp('reactlog-utf8')
Loading required package: shiny
Warning: package ‘tibble’ was built under R version 3.6.3
Warning: package ‘DT’ was built under R version 3.6.3
Attaching package: ‘DT’
The following objects are masked from ‘package:shiny’:
dataTableOutput, renderDataTable
Listening on http://127.0.0.1:6427
> shiny::reactlogShow()
Error in sub(..., fixed = TRUE) : 'replacement' is invalid UTF-8
With PR:
> shiny::runApp('reactlog-utf8')
Loading required package: shiny
Warning: package ‘tibble’ was built under R version 3.6.3
Warning: package ‘DT’ was built under R version 3.6.3
Attaching package: ‘DT’
The following objects are masked from ‘package:shiny’:
dataTableOutput, renderDataTable
Listening on http://127.0.0.1:6346
> shiny::reactlogShow()
## no error
Fixes https://github.com/rstudio/reactlog/issues/57
Test App:
Before PR:
With PR: