You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When large requests are made, CitationChaser pauses between requests to avoid overloading the LENS API. However, when Sys.sleep(60 - t) is hit, t is not defined (besides it's definition in base R as a matrix transpose...). I fixed this locally by replacing 60 - t with 20 (a fixed 20 second sleep period).
I can make a pull request with this fix, but I couldn't understand what the intended functionality was exactly. I noticed a t_ref was defined and measured the duration of the last API call.
The text was updated successfully, but these errors were encountered:
When large requests are made, CitationChaser pauses between requests to avoid overloading the LENS API. However, when
Sys.sleep(60 - t)
is hit,t
is not defined (besides it's definition in base R as a matrix transpose...). I fixed this locally by replacing60 - t
with20
(a fixed 20 second sleep period).I can make a pull request with this fix, but I couldn't understand what the intended functionality was exactly. I noticed a
t_ref
was defined and measured the duration of the last API call.The text was updated successfully, but these errors were encountered: