Nothing
Code
print(result)
Output
i Comparing packets 19700101-000000-00000001 and 19700101-000000-00000001...
v The two packets are identical.
Code
print(result)
Output
i Comparing packets 19700101-000000-00000001 and 19700101-000000-00000002...
v The two packets are equivalent, up to trivial differences.
Code
orderly_comparison_explain(result, "id")
Message
i Comparing packets 19700101-000000-00000001 and 19700101-000000-00000002...
i Comparing attribute `id`
< 19700101-000000-00000001$id
> 19700101-000000-00000002$id
@@ 1 / 1 @@
< [1] "19700101-000000-00000001"
> [1] "19700101-000000-00000002"
Code
print(result)
Output
i Comparing packets 19700101-000000-00000001 and 19700101-000000-00000002...
i The following attributes are different across the two packets:
* parameters
i Use `orderly_comparison_explain(...)` to examine the differences in more detail.
Code
orderly_comparison_explain(result)
Message
i Comparing packets 19700101-000000-00000001 and 19700101-000000-00000002...
i Comparing attribute `parameters`
< 19700101-000000-00000001$parameters
> 19700101-000000-00000002$parameters
@@ 1,3 / 1,3 @@
$A
< [1] "foo"
> [1] "bar"
Code
orderly_comparison_explain(result, "files")
Message
i Comparing packets 19700101-000000-00000001 and 19700101-000000-00000002...
v The specified attributes are identical across the two packets.
Code
print(result)
Output
i Comparing packets 19700101-000000-00000001 and 19700101-000000-00000002...
i The following attributes are different across the two packets:
* files
i Use `orderly_comparison_explain(...)` to examine the differences in more detail.
Code
orderly_comparison_explain(result, "files")
Message
i Comparing packets 19700101-000000-00000001 and 19700101-000000-00000002...
i The following files exist in both packets but have different contents:
* data.R
* data.txt
i Use `orderly_comparison_explain(..., "files", verbose = TRUE)` to compare the files' contents.
Code
orderly_comparison_explain(result, "files", verbose = TRUE)
Message
i Comparing packets 19700101-000000-00000001 and 19700101-000000-00000002...
< 19700101-000000-00000001/data.R
> 19700101-000000-00000002/data.R
@@ 1 / 1 @@
< writeLines("Hello", "data.txt")
> writeLines("World", "data.txt")
< 19700101-000000-00000001/data.txt
> 19700101-000000-00000002/data.txt
@@ 1 / 1 @@
< Hello
> World
Code
print(result)
Output
i Comparing packets 19700101-000000-00000001 and 19700101-000000-00000002...
i The following attributes are different across the two packets:
* files
i Use `orderly_comparison_explain(...)` to examine the differences in more detail.
Code
orderly_comparison_explain(result, "files")
Message
i Comparing packets 19700101-000000-00000001 and 19700101-000000-00000002...
i The following files exist in both packets but have different contents:
* data.R
* data.rds
i Use `orderly_comparison_explain(..., "files", verbose = TRUE)` to compare the files' contents.
Code
orderly_comparison_explain(result, "files", verbose = TRUE)
Message
i Comparing packets 19700101-000000-00000001 and 19700101-000000-00000002...
< 19700101-000000-00000001/data.R
> 19700101-000000-00000002/data.R
@@ 1,4 / 1,4 @@
{
orderly_artefact(description = "Output", "data.rds")
< saveRDS(1:10, "data.rds")
> saveRDS(11:20, "data.rds")
}
! The following files differ across packets, but could not be compared as their content is binary:
* data.rds
Code
orderly_comparison_explain(result, "files")
Message
i Comparing packets 19700101-000000-00000001 and 19700101-000000-00000002...
i The following files exist in both packets but have different contents:
* data.rds
i Use `orderly_comparison_explain(..., "files", verbose = TRUE)` to compare the files' contents.
Code
orderly_comparison_explain(result, "files", verbose = TRUE)
Message
i Comparing packets 19700101-000000-00000001 and 19700101-000000-00000002...
! The following files differ across packets, but could not be compared as their content is binary:
* data.rds
Code
print(result)
Output
i Comparing packets 19700101-000000-00000001 and 19700101-000000-00000002...
i The following attributes only exist in packet 19700101-000000-00000001:
* new_key
i The following attributes are different across the two packets:
* files
i Use `orderly_comparison_explain(...)` to examine the differences in more detail.
Code
print(result_swap)
Output
i Comparing packets 19700101-000000-00000002 and 19700101-000000-00000001...
i The following attributes only exist in packet 19700101-000000-00000001:
* new_key
i The following attributes are different across the two packets:
* files
i Use `orderly_comparison_explain(...)` to examine the differences in more detail.
Code
print(result)
Output
i Comparing packets 19700101-000000-00000001 and 19700101-000000-00000002...
i The following attributes are different across the two packets:
* files
i Use `orderly_comparison_explain(...)` to examine the differences in more detail.
Code
orderly_comparison_explain(result, "files")
Message
i Comparing packets 19700101-000000-00000001 and 19700101-000000-00000002...
i The following files only exist in packet 19700101-000000-00000001
* a.txt
i The following files only exist in packet 19700101-000000-00000002
* c.txt
i The following files exist in both packets but have different contents:
* data.R
i Use `orderly_comparison_explain(..., "files", verbose = TRUE)` to compare the files' contents.
Code
orderly_comparison_explain(result, "files", verbose = TRUE)
Message
i Comparing packets 19700101-000000-00000001 and 19700101-000000-00000002...
i The following files only exist in packet 19700101-000000-00000001
* a.txt
i The following files only exist in packet 19700101-000000-00000002
* c.txt
< 19700101-000000-00000001/data.R
> 19700101-000000-00000002/data.R
@@ 1,4 / 1,4 @@
{
< writeLines("aaa", "a.txt")
writeLines("bbb", "b.txt")
> writeLines("ccc", "c.txt")
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.