shiny.gosling icon indicating copy to clipboard operation
shiny.gosling copied to clipboard

JS errors to r

Open federiva opened this issue 1 year ago • 2 comments

Closes #105

Changes description

  • Now we are catching errors in JS and sending them to a server function image

Steps to reproduce

Right now we are loading the library from a cdn. In order to test this PR before updating the file used in the CDN please do the following

  1. Download this and extract it to the inst/www folder
  2. Edit the goslingDependency function in components.R and replace it with the following in order to use a local version of it
goslingDependency <- function() {
  htmltools::htmlDependency(
    name = "gosling",
    version = "0.1.0",
    src = "www",
    package = "shiny.gosling",
    script = "gosling.js"
  )
}
  1. Run devtools::load_all()
  2. Run an example

federiva avatar Aug 25 '23 14:08 federiva