R/utils.R

Defines functions file_is_docx

Documented in file_is_docx

# utility functions

#' Is file a MS Word .docx file
#' 
file_is_docx <- function(f)
{
  ext <- tools::file_ext(f)
  tolower(ext) == "docx"  
}
markheckmann/R2wdaddons documentation built on Sept. 13, 2019, 8:40 a.m.