Register file extensions and reader functions for different data files. Isoreader automatically registers all built-in file readers so this function is usually only needed when registering additional readers provided for testing purposes from outside of the isoreader package. Note that file extensions are case-insensitive, i.e. a reader for
.ext will also recognize
iso_register_dual_inlet_file_reader(extension, func, description = NA_character_, cacheable = TRUE, overwrite = FALSE, env = find_func(func)) iso_register_continuous_flow_file_reader(extension, func, description = NA_character_, cacheable = TRUE, overwrite = FALSE, env = find_func(func))
the file extension (e.g.
the name of the function that should be used a filter reader. All file reader functions must accept a data structure argument as the first argument and return the same data structure with added data.
what is this file type about?
whether this file type is cacheable. If
whether to overwrite an existing file reader for the same extension
the environment where to find the function, by default this will be determined automatically and will throw an error if there is any ambiguity (e.g. the same function name in multiple packages) in which case it should be set manually
iso_register_dual_inlet_file_reader: use this function to register file readers for dual inlet files.
iso_register_continuous_flow_file_reader: use this function to register file readers for continuous flow files.