BLE-LTER / BLEdatatools

R package to download and collate BLE LTER data from EDI repository
Other
0 stars 0 forks source link

bug: recursive apply doesn't work on nested list of data.frames #31

Closed atn38 closed 2 years ago

atn38 commented 2 years ago

I've already solved this but here for documentation:

I was using `rrapply:rrapply" to apply a "preprocessing" function to a nested list of data.frames downloaded from EDI. Preprocessing is supposed to do stuff like standardize date-times and convert "STL" stations into "SSL", for example. The function itself works fine, but the recursive applying wasn't.

The issue was that my arguments weren't named properly. Took a long time to key on. Name your arguments!