USGS-R / WREG

Develops regional estimation equations for streamflow characteristics that can be applied at a ungaged basins.
9 stars 7 forks source link

WREGgui() doesn't work #131

Closed rwdudley-usgs closed 4 years ago

rwdudley-usgs commented 5 years ago

I get a blank open tab in the browser with the warning: Error in : $ operator is invalid for atomic vectors

> library(WREG)
> WREGgui()

Listening on http://127.0.0.1:3560
Warning: Error in : $ operator is invalid for atomic vectors
  63: tag
  62: tags$a
  59: FUN
  58: lapply
  57: buildTabset
  56: navbarPage
Warning: Error in : $ operator is invalid for atomic vectors
  63: tag
  62: tags$a
  59: FUN
  58: lapply
  57: buildTabset
  56: navbarPage
jhammondusgs commented 5 years ago

I have the same problem.

In browser tab I get this warning: ERROR: $ operator is invalid for atomic vectors

and in R studio: image

aspaetzel commented 5 years ago

I am having the same issue.

WREGgui() Loading required package: shiny

Attaching package: ‘DT’

The following objects are masked from ‘package:shiny’:

dataTableOutput, renderDataTable

Listening on http://127.0.0.1:7385 Warning: Error in : $ operator is invalid for atomic vectors 63: tag 62: tags$a 59: FUN 58: lapply 57: buildTabset 56: navbarPage Warning: Error in : $ operator is invalid for atomic vectors 63: tag 62: tags$a 59: FUN 58: lapply 57: buildTabset 56: navbarPage

wfarmer-usgs commented 4 years ago

Try running these commands before opening the GUI: install.packages("https://cran.r-project.org/src/contrib/Archive/shiny/shiny_1.0.3.tar.gz", repos = NULL, type = "source") install.packages("knitr", repos = c("http://cran.us.r-project.org")) install.packages("rmarkdown", repos = c("http://cran.us.r-project.org"))

The problem may stem from an update to the SHINY package.

wfarmer-usgs commented 4 years ago

I realize the previous message comes a year late. The WMA does not currently provide any support for this package. Better to contact the developer directly.

jhammondusgs commented 4 years ago

Thanks Will, when installing 1.0.3 Shiny and running, I get the error "must use at least Shiny 1.1", then when using Shiny 1.1.0, I get the old error "Warning: Error in $: $ operator is invalid for atomic vectors." No need to resolve, I'm using the line by line version, but just wanted to give you an update