ropensci / awardFindR

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

Use of tempfile() #34

Closed maelle closed 1 year ago

maelle commented 1 year ago

In https://github.com/ropensci/awardFindR/blob/2c86e2dc10507d3c6ea04a91e7914fb8bd86b134/R/neh.R#L53

a file is created but not deleted which is not optimal (especially for CRAN).

I'd suggest using withr::_localtemp_file() instead as it will be deleted automatically.

mccallc commented 1 year ago

fixed!