Description Usage Arguments Value Examples
View source: R/validate_files.R
use case: user wants to compare if contents of two files are the same
1 | same_files(x, y)
|
x, y |
two file paths |
boolean, whether files have the same content or not,
based on comparing output of contentid::content_id()
with identical()
1 2 3 4 5 | x <- tempfile()
writeLines("foo bar\n", x)
y <- tempfile()
file.copy(x, y)
same_files(x, y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.