Patch release
This is a patch release with mostly some critical bug fixes and a few minor changes in behavior for a few import and export methods.
User-visible changes
- Export the
get_ext()
function. (#169) import_list()
gains improved file name handling. (#164, h/t Ruaridh Williamson)- Removed the
overwrite
argument fromexport()
method for xlsx files. Instead, existing workbooks are always overwritten unless which is specified, in which case only the specified sheet (if it exists) is overwritten. If the file exists but thewhich
sheet does not, the data are added as a new sheet to the existing workbook. (#156) - Import of files with the ambiguous .dat extension, which are typically text-delimited files, are now passed to
data.table::fread()
with a message. Export to the format remains unsupported. (#98, #155) - Added support for export to SAS XPORT format (via
haven::write_xpt()
). (#157) - Switched default import package for SAS XPORT format to
haven::read_xpt()
with ahaven = FALSE
toggle restoring the previous default behavior usingforeign::read.xpt()
. (#157)
Bug fixes
- Removed longstanding warnings from the tests of
export()
to fixed-width format. - Fix a bug related to an xml2 bug (#168, h/t Jim Hester)
- Fixed a bug in
import()
from compressed files wherein thewhich
argument did not necessarily return the correct file if >=2 files in the compressed folder. - Tweak handling of
export()
to xlsx workbooks whenwhich
is specified. (#156)