scite() fails
ehsong opened this issue · comments
Hi, I used the example code in README but it failed - could you take a look?
> my_issns <- c("1029-8479", "0092-8674", "0028-0836", "0036-8075")
>
> scite_df <- scite(my_issns)
Error in `[<-`:
! Assigned data `unlist(tallies[, i])` must be
compatible with existing data.
✖ Existing data has 4 rows.
✖ Assigned data has 6 rows.
ℹ Only vectors of size 1 are recycled.
Caused by error in `vectbl_recycle_rhs_rows()`:
! Can't recycle input of size 6 to size 4.
Run `rlang::last_trace()` to see where the error occurred.
Warning message:
The `x` argument of `as_tibble.matrix()` must have unique
column names if `.name_repair` is omitted as of tibble 2.0.0.
ℹ Using compatibility `.name_repair`.
ℹ The deprecated feature was likely used in the sciteR
package.
Please report the issue to the authors.
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this
warning was generated.
Hi Esther.
I no longer maintain this package, so it might not work properly - but it looks like the error was caused by an update to the scite API which caused some of the functions to error.
I've attempted to fix this - please completely uninstall the package and try a new, clean installation. You can do this by running:
remove.packages("sciteR")
library(devtools)
install_github("https://github.com/masonrhayes/sciteR")
If this doesn't work, try restarting your R session and doing the same again.
Thanks for using the package!