ropensci / awardFindR

Scan multiple online grant databases for relevant awards
https://docs.ropensci.org/awardFindR
Other
16 stars 7 forks source link

error in vignette #41

Closed maelle closed 6 months ago

maelle commented 10 months ago

:wave: @mccallc! Via https://ropensci.r-universe.dev/builds we noticed

library("awardFindR")
nsf_and_nih <- search_awards(keywords=c("ontological", "audio recordings"), sources=c("nsf", "nih"), from_date="2018-01-01", to_date="2018-02-01")
#> Warning in request(url, "post", verbose, payload): Bad Request (HTTP 400).
#> Error in if (response$meta$total == 0) {: argument is of length zero
table(nsf_and_nih$source)
#> Error in table(nsf_and_nih$source): object 'nsf_and_nih' not found
unique(nsf_and_nih$keyword)
#> Error in unique(nsf_and_nih$keyword): object 'nsf_and_nih' not found

Created on 2024-02-02 with reprex v2.1.0

adam3smith commented 9 months ago

I think this will be fixed by https://github.com/ropensci/awardFindR/pull/42 -- keeping an eye out for it

maelle commented 9 months ago

Thank you!

maelle commented 6 months ago

indeed it is fixed! thank you!