Version Manage Files 1.0#9
Conversation
|
New modifications on the script: -Move provisionally "rim_pre_dump_functions.R" to folder check_errors_functions. -Add a sapply loop, where the function file.list is used, to import the functions form R directory. -Remove the part and the variables related to YEAR_BASE_FOLDER, it was unuseful. -Make few modifications: on move_files (reorder arguments) and, in the arguments of the dir.create used in manage_work_folder, change the status of recursive from FALSE to TRUE, to create directly all the folders present in the whole path. |
|
In this case, were deleted all the things related with the YEAR_BASE variable. The new modifications made the unuseful. |
|
-Modifications of manage_work_folder function to solve the problem where base_path argument is not used. |
|
-Fix a problem viewed on manage_work_folder. |
The next changes where made:
-In the R directory, it was created two news to store, on one side, general functions no related with the errors and, other side, to store related errors one.
-Two new functions were developed: move_file, like its name indicates, change the ubication of a file from one directory to other, and manage_work_folder, to check if a directory already exists and create it in the case that not.
-In the work script "rim_pre_dump":
a) Apply the new functios.
b) Change the order of some lines to adapt it to a new way of work: first the work folders (originals, backup, ...) are created.
c) Present the arguments of all functions used with a line break.