RETURN-project / makeDataCube

Data management
Apache License 2.0
0 stars 0 forks source link

Specify filenames #24

Closed PabRod closed 3 years ago

PabRod commented 3 years ago

Problem

We are calling system commands from R. There is no direct way of keeping track of the files generated.

Solution

The ideal solution will be to specify the output file names in the functions' documentation.

A quicker and practical approach is to explicitly mention the names of the files created at each step. I suggest quickly documenting this in the vignette, something like:

https://github.com/RETURN-project/makeDataCube/blob/12d93d388ff6799b6bbb17af748c19d93f4497d0/vignettes/make_Landsat_cube.Rmd#L126-L133

https://github.com/RETURN-project/makeDataCube/blob/12d93d388ff6799b6bbb17af748c19d93f4497d0/vignettes/make_Landsat_cube.Rmd#L102-L116

Feel free to write only the typical/path/to/filename and ignore the {genericpath}/filename.

PabRod commented 3 years ago

I used a forensic approach, tracking the changes with GitHub.