Meredith-Lab / volcalc

volcalc: Calculate Volatility of Chemical Compounds
https://meredith-lab.github.io/volcalc/
Other
4 stars 1 forks source link

Don't re-download files with `get_mol_kegg()` #83

Closed Aariq closed 10 months ago

Aariq commented 10 months ago

Implement something so that two successive calls of get_mol_kegg() that ask for the same compound IDs doesn't re-download them.

For example, if file path exists and don't download if it does (unless force = TRUE)

'memoisation' or caching isn't really an option because the API request for the download is done by KEGGREST::keggGet()