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 2 years ago

maelle commented 2 years 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 2 years ago

fixed!