scholar icon indicating copy to clipboard operation
scholar copied to clipboard

predict.r

Open Turius opened this issue 2 years ago • 0 comments

I think I found the source of the issue with predict_h_index()

h <- get_profile(id) if (is.na(h)) return(NA) h <- h$h_index

could be revised to:

h <- get_profile(id)$h_index if (is.na(h)) return(NA)

I tried locally and it works with this modification

Turius avatar Jan 12 '23 13:01 Turius