Helper function to aid developing and testing codes

developing(file, code, time = 1, catch_error = T)

Arguments

file

character string; the filepath.

code

character string; the code to be run when a change is made to file.

time

numeric; monitoring change of file every "time" seconds.

catch_error

boolean; whether to print out error.