It is inconvenient to have a variable called file all over the code, especially in the case of using the debugger, where the symbol file is also a base function name.
I don't think we can change the API of import(file) and export(x, file) for now. But I would suggest adding filename <- file or something like that immediate when entering the functions and then working on filename.
It is inconvenient to have a variable called
fileall over the code, especially in the case of using the debugger, where the symbolfileis also a base function name.I don't think we can change the API of
import(file)andexport(x, file)for now. But I would suggest addingfilename <- fileor something like that immediate when entering the functions and then working onfilename.