list_files {verifyr2} | R Documentation |
One row list for two distinct files
Description
list_files
List single file row based on the explicit parameter
files. This is a conveniency function for building same structure list for
direct two file comparison case.
Usage
list_files(file1, file2)
Arguments
file1 |
character, giving the the full file path of the first file |
file2 |
character, giving the the full file path of the second file |
Value
Returns a tibble, selected_files
with 2 columns file1
,
file2
Examples
path1 <- "/extdata/base_files/file2_additional_rows.rtf"
file1 <- paste0(fs::path_package(path1, package = "verifyr2"))
path2 <- "/extdata/compare_files/file3_changed_rows.rtf"
file2 <- paste0(fs::path_package(path2, package = "verifyr2"))
verifyr2::list_files(file1, file2)
[Package verifyr2 version 1.0.0 Index]