FBartos / zcurve

zcurve R package for assessing the reliability and trustworthiness of published literature with the z-curve method
https://fbartos.github.io/zcurve
10 stars 1 forks source link

Won't run even on the example dataset #1

Closed limegreen closed 4 years ago

limegreen commented 4 years ago

I tried running this both on my own data, and then also just running the example code from the readme file, and both times got the same error message

set.seed(666)
library(zcurve)

fit <- zcurve(OSC.z)

Error in density.default(augZ, n = 100, bw = bw, from = 1.96, to = 6) : need at least 2 points to select a bandwidth automatically

limegreen commented 4 years ago

Ignore that. There was a zcurve function left in the global environment, possibly from the install process. Turning it on and off again fixed the problem!