Closed isteves closed 6 years ago
This looks fine - the method works as before if the default arguments for 'dirPath' and 'unzip' are used, i.e. backward compatibility is maintained. Also, if values are specified for the new args, they both work as documented.
@isteves Looks like a great feature. I don't see any new tests in the tests
directory confirming that these new features work. Could you add those please, or point them out to me if I missed them? Thanks.
@mbjones I'll submit another PR (later today/tomorrow) to add some tests!
Actually, just noticed that @gothub wrote a test already! 9947be00e9eb310d1d3d65e1dcc6b0e174aed4b2
Now if you specify a directory path, the zip file will be saved directly to the path specified (in this case, the current working directory), rather than to a temp folder.
If you specify
unzip = TRUE
, the package will be automatically unzipped.@gothub