forrtproject / forrtproject/fred-explorer

Error running the Shiny app: The object/variable specified for the 'ri' argument is not numeric.

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Hi,

I tried getting this up and running using the command from the readme:

```
> if (!require(shiny)) install.packages("shiny")
+ shiny::runGitHub('fred_explorer', 'forrtproject')
```

But I get the following error. It looks to be something to do with the data?.

```
Error:
! The object/variable specified for the 'ri' argument is not numeric.
Hide Traceback

1. └─shiny::runGitHub("fred_explorer", "forrtproject")
2. └─shiny::runUrl(url, subdir = subdir, destdir = destdir, ...)
3. └─shiny::runApp(appdir, ...)
4. ├─shiny::as.shiny.appobj(appDir)
5. └─shiny:::as.shiny.appobj.character(appDir)
6. └─shiny::shinyAppDir(x)
7. └─shiny:::shinyAppDir_appR("app.R", appDir, options = options)
8. └─shiny (local) appObj()
9. └─shiny (local) func(fname, ...)
10. └─shiny:::sourceUTF8(fullpath, envir = new.env(parent = sharedEnv))
11. └─base::eval(exprs, envir)
12. └─base::eval(exprs, envir)
13. ├─shiny::..stacktraceon..(...)
14. └─metafor::escalc(ri = red$es_original, ni = red$n_original, measure = "COR")
15. └─metafor:::.getx("ri", mf = mf, data = data, checknumeric = TRUE)
```

This is what's being downloaded:

```
Downloading [https://github.com/forrtproject/fred_explorer/archive/HEAD.tar.gz](vscode-file://vscode-app/Applications/Positron.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/workbench.html#)
Loading data
trying URL '[https://osf.io/z5u9b/download](vscode-file://vscode-app/Applications/Positron.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/workbench.html#)'
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.