tomyamashita / cameraTrapping

R package for managing camera trap data
GNU General Public License v3.0
0 stars 0 forks source link

File loading speeds #35

Open tomyamashita opened 1 year ago

tomyamashita commented 1 year ago

Upgrade all file loading operations to use the fs package where possible. Load speeds are about 10x faster using this package compared to base

tomyamashita commented 1 year ago

Use fs::dir_ls() wherever list.files() is used Use fs::path_split() wherever a strsplit() is used to split a path Use fs::path_ext_remove() wherever a sub() is used to remove a file extension