CRAN Package Check Results for Package pmap

Last updated on 2018-02-24 20:48:38 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.2 3.20 51.22 54.42 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.2 3.08 40.49 43.57 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.2 66.19 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3.2 64.25 ERROR
r-devel-windows-ix86+x86_64 0.3.2 12.00 88.00 100.00 ERROR
r-patched-linux-x86_64 0.3.2 4.04 54.68 58.72 ERROR
r-patched-solaris-x86 0.3.2 88.40 ERROR
r-release-linux-x86_64 0.3.2 3.63 53.28 56.91 ERROR
r-release-windows-ix86+x86_64 0.3.2 13.00 92.00 105.00 ERROR
r-release-osx-x86_64 0.3.2 OK
r-oldrel-windows-ix86+x86_64 0.3.2 9.00 65.00 74.00 OK
r-oldrel-osx-x86_64 0.3.2 OK

Check Details

Version: 0.3.2
Check: examples
Result: ERROR
    Running examples in ‘pmap-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: create_pmap_graph
    > ### Title: Create the event graph by given nodes and edges.
    > ### Aliases: create_pmap_graph
    >
    > ### ** Examples
    >
    > eventlog <- generate_eventlog()
    > nodes <- generate_nodes(eventlog)
    > head(nodes)
    # A tibble: 6 x 3
     name type amount
     <chr> <chr> <int>
    1 Event 1 (normal) normal 96
    2 Event 10 (target) target 110
    3 Event 2 (normal) normal 104
    4 Event 3 (normal) normal 93
    5 Event 4 (normal) normal 112
    6 Event 5 (normal) normal 115
    > # # A tibble: 6 x 3
    > # name type amount
    > # <chr> <chr> <int>
    > # 1 Event 1 (normal) normal 105
    > # 2 Event 10 (target) target 97
    > # 3 Event 2 (normal) normal 94
    > # 4 Event 3 (normal) normal 94
    > # 5 Event 4 (normal) normal 101
    > # 6 Event 5 (normal) normal 95
    > edges <- generate_edges(eventlog)
    > head(edges)
    # A tibble: 6 x 3
     from to amount
     <chr> <chr> <int>
    1 Event 1 (normal) Event 1 (normal) 10
    2 Event 1 (normal) Event 10 (target) 9
    3 Event 1 (normal) Event 2 (normal) 4
    4 Event 1 (normal) Event 3 (normal) 9
    5 Event 1 (normal) Event 4 (normal) 7
    6 Event 1 (normal) Event 5 (normal) 13
    > # # A tibble: 6 x 3
    > # from to amount
    > # <chr> <chr> <int>
    > # 1 Event 1 (normal) Event 1 (normal) 8
    > # 2 Event 1 (normal) Event 10 (target) 10
    > # 3 Event 1 (normal) Event 2 (normal) 12
    > # 4 Event 1 (normal) Event 3 (normal) 9
    > # 5 Event 1 (normal) Event 4 (normal) 7
    > # 6 Event 1 (normal) Event 5 (normal) 10
    > p <- create_pmap_graph(nodes, edges, target_types = c("target"))
    Error: `UQ()` can only be used within a quasiquoted argument
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.3.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [4s/6s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(pmap)
     >
     > set.seed(101)
     >
     > test_check("pmap")
     ── 1. Error: create_pmap() should handle simple graph (@test_create_pmap.R#14)
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap(eventlog, target_types = c("sale")) at testthat/test_create_pmap.R:14
     2: create_pmap_graph(nodes, edges, target_types)
     3: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     4: rlang::UQ(label_col) %>% paste()
     5: eval(lhs, parent, parent)
     6: eval(lhs, parent, parent)
     7: rlang::UQ(label_col)
     8: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 2. Error: create_pmap() should handle complex graph (@test_create_pmap.R#40)
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap(eventlog, target_types = c("sale")) at testthat/test_create_pmap.R:40
     2: create_pmap_graph(nodes, edges, target_types)
     3: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     4: rlang::UQ(label_col) %>% paste()
     5: eval(lhs, parent, parent)
     6: eval(lhs, parent, parent)
     7: rlang::UQ(label_col)
     8: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 3. Error: create_pmap_graph() (@test_create_pmap_graph.R#30) ───────────────
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes, edges, target_types = c("sale")) at testthat/test_create_pmap_graph.R:30
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 4. Error: prune_edges() should be able prune nothing (@test_prune_edges.R#4)
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes = data.frame(name = c("a", "b", "c", "d", "e"), type = c("campaign",
     "campaign", "campaign", "sale", "sale"), stringsAsFactors = FALSE), edges = data.frame(from = c("a",
     "b", "b", "a"), to = c("b", "c", "d", "e"), amount = c(10, 20, 30, 40), stringsAsFactors = FALSE),
     target_types = c("sale")) at testthat/test_prune_edges.R:4
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 5. Error: prune_edges() should be able prune half of the edges (@test_prune_e
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes = data.frame(name = c("a", "b", "c", "d", "e"), type = c("campaign",
     "campaign", "campaign", "sale", "sale"), stringsAsFactors = FALSE), edges = data.frame(from = c("a",
     "b", "b", "a"), to = c("b", "c", "d", "e"), amount = c(10, 20, 30, 40), stringsAsFactors = FALSE),
     target_types = c("sale")) at testthat/test_prune_edges.R:30
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 6. Error: prune_edges() should be able prune all of the edges (@test_prune_ed
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes = data.frame(name = c("a", "b", "c", "d", "e"), type = c("campaign",
     "campaign", "campaign", "sale", "sale"), stringsAsFactors = FALSE), edges = data.frame(from = c("a",
     "b", "b", "a"), to = c("b", "c", "d", "e"), amount = c(10, 20, 30, 40), stringsAsFactors = FALSE),
     target_types = c("sale")) at testthat/test_prune_edges.R:58
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 7. Error: prune_nodes() should be able prune nothing (@test_prune_nodes.R#4)
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes = data.frame(name = c("a", "b", "c", "d", "e"), type = c("campaign",
     "campaign", "campaign", "sale", "sale"), amount = c(10, 30, 20, 40, 5), stringsAsFactors = FALSE),
     edges = data.frame(from = c("a", "b", "b", "a"), to = c("b", "c", "d", "e"),
     amount = c(10, 30, 20, 40), stringsAsFactors = FALSE), target_types = c("sale")) at testthat/test_prune_nodes.R:4
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 8. Error: prune_nodes() should be able prune half of the nodes (@test_prune_n
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes = data.frame(name = c("a", "b", "c", "d", "e"), type = c("campaign",
     "campaign", "campaign", "sale", "sale"), amount = c(10, 30, 20, 40, 5), stringsAsFactors = FALSE),
     edges = data.frame(from = c("a", "b", "b", "a"), to = c("b", "c", "d", "e"),
     amount = c(10, 30, 20, 40), stringsAsFactors = FALSE), target_types = c("sale")) at testthat/test_prune_nodes.R:33
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 9. Error: prune_nodes() should be able prune all of the nodes (@test_prune_no
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes = data.frame(name = c("a", "b", "c", "d", "e"), type = c("campaign",
     "campaign", "campaign", "sale", "sale"), amount = c(10, 30, 20, 40, 5), stringsAsFactors = FALSE),
     edges = data.frame(from = c("a", "b", "b", "a"), to = c("b", "c", "d", "e"),
     amount = c(10, 30, 20, 40), stringsAsFactors = FALSE), target_types = c("sale")) at testthat/test_prune_nodes.R:63
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 59 SKIPPED: 0 FAILED: 9
     1. Error: create_pmap() should handle simple graph (@test_create_pmap.R#14)
     2. Error: create_pmap() should handle complex graph (@test_create_pmap.R#40)
     3. Error: create_pmap_graph() (@test_create_pmap_graph.R#30)
     4. Error: prune_edges() should be able prune nothing (@test_prune_edges.R#4)
     5. Error: prune_edges() should be able prune half of the edges (@test_prune_edges.R#30)
     6. Error: prune_edges() should be able prune all of the edges (@test_prune_edges.R#58)
     7. Error: prune_nodes() should be able prune nothing (@test_prune_nodes.R#4)
     8. Error: prune_nodes() should be able prune half of the nodes (@test_prune_nodes.R#33)
     9. Error: prune_nodes() should be able prune all of the nodes (@test_prune_nodes.R#63)
    
     Error: testthat unit tests failed
     Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.3.2
Check: examples
Result: ERROR
    Running examples in ‘pmap-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: create_pmap_graph
    > ### Title: Create the event graph by given nodes and edges.
    > ### Aliases: create_pmap_graph
    >
    > ### ** Examples
    >
    > eventlog <- generate_eventlog()
    > nodes <- generate_nodes(eventlog)
    > head(nodes)
    # A tibble: 6 x 3
     name type amount
     <chr> <chr> <int>
    1 Event 1 (normal) normal 96
    2 Event 10 (target) target 110
    3 Event 2 (normal) normal 104
    4 Event 3 (normal) normal 93
    5 Event 4 (normal) normal 112
    6 Event 5 (normal) normal 115
    > # # A tibble: 6 x 3
    > # name type amount
    > # <chr> <chr> <int>
    > # 1 Event 1 (normal) normal 105
    > # 2 Event 10 (target) target 97
    > # 3 Event 2 (normal) normal 94
    > # 4 Event 3 (normal) normal 94
    > # 5 Event 4 (normal) normal 101
    > # 6 Event 5 (normal) normal 95
    > edges <- generate_edges(eventlog)
    > head(edges)
    # A tibble: 6 x 3
     from to amount
     <chr> <chr> <int>
    1 Event 1 (normal) Event 1 (normal) 10
    2 Event 1 (normal) Event 10 (target) 9
    3 Event 1 (normal) Event 2 (normal) 4
    4 Event 1 (normal) Event 3 (normal) 9
    5 Event 1 (normal) Event 4 (normal) 7
    6 Event 1 (normal) Event 5 (normal) 13
    > # # A tibble: 6 x 3
    > # from to amount
    > # <chr> <chr> <int>
    > # 1 Event 1 (normal) Event 1 (normal) 8
    > # 2 Event 1 (normal) Event 10 (target) 10
    > # 3 Event 1 (normal) Event 2 (normal) 12
    > # 4 Event 1 (normal) Event 3 (normal) 9
    > # 5 Event 1 (normal) Event 4 (normal) 7
    > # 6 Event 1 (normal) Event 5 (normal) 10
    > p <- create_pmap_graph(nodes, edges, target_types = c("target"))
    Error: `UQ()` can only be used within a quasiquoted argument
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-solaris-x86, r-release-windows-ix86+x86_64

Version: 0.3.2
Check: tests
Result: ERROR
     Running ‘testthat.R’
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(pmap)
     >
     > set.seed(101)
     >
     > test_check("pmap")
     ── 1. Error: create_pmap() should handle simple graph (@test_create_pmap.R#14)
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap(eventlog, target_types = c("sale")) at testthat/test_create_pmap.R:14
     2: create_pmap_graph(nodes, edges, target_types)
     3: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     4: rlang::UQ(label_col) %>% paste()
     5: eval(lhs, parent, parent)
     6: eval(lhs, parent, parent)
     7: rlang::UQ(label_col)
     8: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 2. Error: create_pmap() should handle complex graph (@test_create_pmap.R#40)
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap(eventlog, target_types = c("sale")) at testthat/test_create_pmap.R:40
     2: create_pmap_graph(nodes, edges, target_types)
     3: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     4: rlang::UQ(label_col) %>% paste()
     5: eval(lhs, parent, parent)
     6: eval(lhs, parent, parent)
     7: rlang::UQ(label_col)
     8: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 3. Error: create_pmap_graph() (@test_create_pmap_graph.R#30) ───────────────
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes, edges, target_types = c("sale")) at testthat/test_create_pmap_graph.R:30
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 4. Error: prune_edges() should be able prune nothing (@test_prune_edges.R#4)
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes = data.frame(name = c("a", "b", "c", "d", "e"), type = c("campaign",
     "campaign", "campaign", "sale", "sale"), stringsAsFactors = FALSE), edges = data.frame(from = c("a",
     "b", "b", "a"), to = c("b", "c", "d", "e"), amount = c(10, 20, 30, 40), stringsAsFactors = FALSE),
     target_types = c("sale")) at testthat/test_prune_edges.R:4
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 5. Error: prune_edges() should be able prune half of the edges (@test_prune_e
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes = data.frame(name = c("a", "b", "c", "d", "e"), type = c("campaign",
     "campaign", "campaign", "sale", "sale"), stringsAsFactors = FALSE), edges = data.frame(from = c("a",
     "b", "b", "a"), to = c("b", "c", "d", "e"), amount = c(10, 20, 30, 40), stringsAsFactors = FALSE),
     target_types = c("sale")) at testthat/test_prune_edges.R:30
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 6. Error: prune_edges() should be able prune all of the edges (@test_prune_ed
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes = data.frame(name = c("a", "b", "c", "d", "e"), type = c("campaign",
     "campaign", "campaign", "sale", "sale"), stringsAsFactors = FALSE), edges = data.frame(from = c("a",
     "b", "b", "a"), to = c("b", "c", "d", "e"), amount = c(10, 20, 30, 40), stringsAsFactors = FALSE),
     target_types = c("sale")) at testthat/test_prune_edges.R:58
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 7. Error: prune_nodes() should be able prune nothing (@test_prune_nodes.R#4)
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes = data.frame(name = c("a", "b", "c", "d", "e"), type = c("campaign",
     "campaign", "campaign", "sale", "sale"), amount = c(10, 30, 20, 40, 5), stringsAsFactors = FALSE),
     edges = data.frame(from = c("a", "b", "b", "a"), to = c("b", "c", "d", "e"),
     amount = c(10, 30, 20, 40), stringsAsFactors = FALSE), target_types = c("sale")) at testthat/test_prune_nodes.R:4
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 8. Error: prune_nodes() should be able prune half of the nodes (@test_prune_n
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes = data.frame(name = c("a", "b", "c", "d", "e"), type = c("campaign",
     "campaign", "campaign", "sale", "sale"), amount = c(10, 30, 20, 40, 5), stringsAsFactors = FALSE),
     edges = data.frame(from = c("a", "b", "b", "a"), to = c("b", "c", "d", "e"),
     amount = c(10, 30, 20, 40), stringsAsFactors = FALSE), target_types = c("sale")) at testthat/test_prune_nodes.R:33
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 9. Error: prune_nodes() should be able prune all of the nodes (@test_prune_no
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes = data.frame(name = c("a", "b", "c", "d", "e"), type = c("campaign",
     "campaign", "campaign", "sale", "sale"), amount = c(10, 30, 20, 40, 5), stringsAsFactors = FALSE),
     edges = data.frame(from = c("a", "b", "b", "a"), to = c("b", "c", "d", "e"),
     amount = c(10, 30, 20, 40), stringsAsFactors = FALSE), target_types = c("sale")) at testthat/test_prune_nodes.R:63
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 59 SKIPPED: 0 FAILED: 9
     1. Error: create_pmap() should handle simple graph (@test_create_pmap.R#14)
     2. Error: create_pmap() should handle complex graph (@test_create_pmap.R#40)
     3. Error: create_pmap_graph() (@test_create_pmap_graph.R#30)
     4. Error: prune_edges() should be able prune nothing (@test_prune_edges.R#4)
     5. Error: prune_edges() should be able prune half of the edges (@test_prune_edges.R#30)
     6. Error: prune_edges() should be able prune all of the edges (@test_prune_edges.R#58)
     7. Error: prune_nodes() should be able prune nothing (@test_prune_nodes.R#4)
     8. Error: prune_nodes() should be able prune half of the nodes (@test_prune_nodes.R#33)
     9. Error: prune_nodes() should be able prune all of the nodes (@test_prune_nodes.R#63)
    
     Error: testthat unit tests failed
     Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86

Version: 0.3.2
Check: tests
Result: ERROR
     Running 'testthat.R' [6s]
    Running the tests in 'tests/testthat.R' failed.
    Last 13 lines of output:
    
     == testthat results ===========================================================
     OK: 59 SKIPPED: 0 FAILED: 9
     1. Error: create_pmap() should handle simple graph (@test_create_pmap.R#14)
     2. Error: create_pmap() should handle complex graph (@test_create_pmap.R#40)
     3. Error: create_pmap_graph() (@test_create_pmap_graph.R#30)
     4. Error: prune_edges() should be able prune nothing (@test_prune_edges.R#4)
     5. Error: prune_edges() should be able prune half of the edges (@test_prune_edges.R#30)
     6. Error: prune_edges() should be able prune all of the edges (@test_prune_edges.R#58)
     7. Error: prune_nodes() should be able prune nothing (@test_prune_nodes.R#4)
     8. Error: prune_nodes() should be able prune half of the nodes (@test_prune_nodes.R#33)
     9. Error: prune_nodes() should be able prune all of the nodes (@test_prune_nodes.R#63)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.3.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [6s/8s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(pmap)
     >
     > set.seed(101)
     >
     > test_check("pmap")
     ── 1. Error: create_pmap() should handle simple graph (@test_create_pmap.R#14)
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap(eventlog, target_types = c("sale")) at testthat/test_create_pmap.R:14
     2: create_pmap_graph(nodes, edges, target_types)
     3: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     4: rlang::UQ(label_col) %>% paste()
     5: eval(lhs, parent, parent)
     6: eval(lhs, parent, parent)
     7: rlang::UQ(label_col)
     8: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 2. Error: create_pmap() should handle complex graph (@test_create_pmap.R#40)
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap(eventlog, target_types = c("sale")) at testthat/test_create_pmap.R:40
     2: create_pmap_graph(nodes, edges, target_types)
     3: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     4: rlang::UQ(label_col) %>% paste()
     5: eval(lhs, parent, parent)
     6: eval(lhs, parent, parent)
     7: rlang::UQ(label_col)
     8: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 3. Error: create_pmap_graph() (@test_create_pmap_graph.R#30) ───────────────
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes, edges, target_types = c("sale")) at testthat/test_create_pmap_graph.R:30
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 4. Error: prune_edges() should be able prune nothing (@test_prune_edges.R#4)
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes = data.frame(name = c("a", "b", "c", "d", "e"), type = c("campaign",
     "campaign", "campaign", "sale", "sale"), stringsAsFactors = FALSE), edges = data.frame(from = c("a",
     "b", "b", "a"), to = c("b", "c", "d", "e"), amount = c(10, 20, 30, 40), stringsAsFactors = FALSE),
     target_types = c("sale")) at testthat/test_prune_edges.R:4
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 5. Error: prune_edges() should be able prune half of the edges (@test_prune_e
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes = data.frame(name = c("a", "b", "c", "d", "e"), type = c("campaign",
     "campaign", "campaign", "sale", "sale"), stringsAsFactors = FALSE), edges = data.frame(from = c("a",
     "b", "b", "a"), to = c("b", "c", "d", "e"), amount = c(10, 20, 30, 40), stringsAsFactors = FALSE),
     target_types = c("sale")) at testthat/test_prune_edges.R:30
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 6. Error: prune_edges() should be able prune all of the edges (@test_prune_ed
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes = data.frame(name = c("a", "b", "c", "d", "e"), type = c("campaign",
     "campaign", "campaign", "sale", "sale"), stringsAsFactors = FALSE), edges = data.frame(from = c("a",
     "b", "b", "a"), to = c("b", "c", "d", "e"), amount = c(10, 20, 30, 40), stringsAsFactors = FALSE),
     target_types = c("sale")) at testthat/test_prune_edges.R:58
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 7. Error: prune_nodes() should be able prune nothing (@test_prune_nodes.R#4)
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes = data.frame(name = c("a", "b", "c", "d", "e"), type = c("campaign",
     "campaign", "campaign", "sale", "sale"), amount = c(10, 30, 20, 40, 5), stringsAsFactors = FALSE),
     edges = data.frame(from = c("a", "b", "b", "a"), to = c("b", "c", "d", "e"),
     amount = c(10, 30, 20, 40), stringsAsFactors = FALSE), target_types = c("sale")) at testthat/test_prune_nodes.R:4
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 8. Error: prune_nodes() should be able prune half of the nodes (@test_prune_n
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes = data.frame(name = c("a", "b", "c", "d", "e"), type = c("campaign",
     "campaign", "campaign", "sale", "sale"), amount = c(10, 30, 20, 40, 5), stringsAsFactors = FALSE),
     edges = data.frame(from = c("a", "b", "b", "a"), to = c("b", "c", "d", "e"),
     amount = c(10, 30, 20, 40), stringsAsFactors = FALSE), target_types = c("sale")) at testthat/test_prune_nodes.R:33
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 9. Error: prune_nodes() should be able prune all of the nodes (@test_prune_no
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes = data.frame(name = c("a", "b", "c", "d", "e"), type = c("campaign",
     "campaign", "campaign", "sale", "sale"), amount = c(10, 30, 20, 40, 5), stringsAsFactors = FALSE),
     edges = data.frame(from = c("a", "b", "b", "a"), to = c("b", "c", "d", "e"),
     amount = c(10, 30, 20, 40), stringsAsFactors = FALSE), target_types = c("sale")) at testthat/test_prune_nodes.R:63
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 59 SKIPPED: 0 FAILED: 9
     1. Error: create_pmap() should handle simple graph (@test_create_pmap.R#14)
     2. Error: create_pmap() should handle complex graph (@test_create_pmap.R#40)
     3. Error: create_pmap_graph() (@test_create_pmap_graph.R#30)
     4. Error: prune_edges() should be able prune nothing (@test_prune_edges.R#4)
     5. Error: prune_edges() should be able prune half of the edges (@test_prune_edges.R#30)
     6. Error: prune_edges() should be able prune all of the edges (@test_prune_edges.R#58)
     7. Error: prune_nodes() should be able prune nothing (@test_prune_nodes.R#4)
     8. Error: prune_nodes() should be able prune half of the nodes (@test_prune_nodes.R#33)
     9. Error: prune_nodes() should be able prune all of the nodes (@test_prune_nodes.R#63)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.3.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [6s/7s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(pmap)
     >
     > set.seed(101)
     >
     > test_check("pmap")
     ── 1. Error: create_pmap() should handle simple graph (@test_create_pmap.R#14)
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap(eventlog, target_types = c("sale")) at testthat/test_create_pmap.R:14
     2: create_pmap_graph(nodes, edges, target_types)
     3: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     4: rlang::UQ(label_col) %>% paste()
     5: eval(lhs, parent, parent)
     6: eval(lhs, parent, parent)
     7: rlang::UQ(label_col)
     8: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 2. Error: create_pmap() should handle complex graph (@test_create_pmap.R#40)
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap(eventlog, target_types = c("sale")) at testthat/test_create_pmap.R:40
     2: create_pmap_graph(nodes, edges, target_types)
     3: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     4: rlang::UQ(label_col) %>% paste()
     5: eval(lhs, parent, parent)
     6: eval(lhs, parent, parent)
     7: rlang::UQ(label_col)
     8: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 3. Error: create_pmap_graph() (@test_create_pmap_graph.R#30) ───────────────
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes, edges, target_types = c("sale")) at testthat/test_create_pmap_graph.R:30
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 4. Error: prune_edges() should be able prune nothing (@test_prune_edges.R#4)
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes = data.frame(name = c("a", "b", "c", "d", "e"), type = c("campaign",
     "campaign", "campaign", "sale", "sale"), stringsAsFactors = FALSE), edges = data.frame(from = c("a",
     "b", "b", "a"), to = c("b", "c", "d", "e"), amount = c(10, 20, 30, 40), stringsAsFactors = FALSE),
     target_types = c("sale")) at testthat/test_prune_edges.R:4
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 5. Error: prune_edges() should be able prune half of the edges (@test_prune_e
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes = data.frame(name = c("a", "b", "c", "d", "e"), type = c("campaign",
     "campaign", "campaign", "sale", "sale"), stringsAsFactors = FALSE), edges = data.frame(from = c("a",
     "b", "b", "a"), to = c("b", "c", "d", "e"), amount = c(10, 20, 30, 40), stringsAsFactors = FALSE),
     target_types = c("sale")) at testthat/test_prune_edges.R:30
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 6. Error: prune_edges() should be able prune all of the edges (@test_prune_ed
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes = data.frame(name = c("a", "b", "c", "d", "e"), type = c("campaign",
     "campaign", "campaign", "sale", "sale"), stringsAsFactors = FALSE), edges = data.frame(from = c("a",
     "b", "b", "a"), to = c("b", "c", "d", "e"), amount = c(10, 20, 30, 40), stringsAsFactors = FALSE),
     target_types = c("sale")) at testthat/test_prune_edges.R:58
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 7. Error: prune_nodes() should be able prune nothing (@test_prune_nodes.R#4)
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes = data.frame(name = c("a", "b", "c", "d", "e"), type = c("campaign",
     "campaign", "campaign", "sale", "sale"), amount = c(10, 30, 20, 40, 5), stringsAsFactors = FALSE),
     edges = data.frame(from = c("a", "b", "b", "a"), to = c("b", "c", "d", "e"),
     amount = c(10, 30, 20, 40), stringsAsFactors = FALSE), target_types = c("sale")) at testthat/test_prune_nodes.R:4
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 8. Error: prune_nodes() should be able prune half of the nodes (@test_prune_n
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes = data.frame(name = c("a", "b", "c", "d", "e"), type = c("campaign",
     "campaign", "campaign", "sale", "sale"), amount = c(10, 30, 20, 40, 5), stringsAsFactors = FALSE),
     edges = data.frame(from = c("a", "b", "b", "a"), to = c("b", "c", "d", "e"),
     amount = c(10, 30, 20, 40), stringsAsFactors = FALSE), target_types = c("sale")) at testthat/test_prune_nodes.R:33
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ── 9. Error: prune_nodes() should be able prune all of the nodes (@test_prune_no
     `UQ()` can only be used within a quasiquoted argument
     1: create_pmap_graph(nodes = data.frame(name = c("a", "b", "c", "d", "e"), type = c("campaign",
     "campaign", "campaign", "sale", "sale"), amount = c(10, 30, 20, 40, 5), stringsAsFactors = FALSE),
     edges = data.frame(from = c("a", "b", "b", "a"), to = c("b", "c", "d", "e"),
     amount = c(10, 30, 20, 40), stringsAsFactors = FALSE), target_types = c("sale")) at testthat/test_prune_nodes.R:63
     2: add_nodes_from_table(p, table = nodes, label_col = "name", type_col = "catalog")
     3: rlang::UQ(label_col) %>% paste()
     4: eval(lhs, parent, parent)
     5: eval(lhs, parent, parent)
     6: rlang::UQ(label_col)
     7: abort("`UQ()` can only be used within a quasiquoted argument")
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 59 SKIPPED: 0 FAILED: 9
     1. Error: create_pmap() should handle simple graph (@test_create_pmap.R#14)
     2. Error: create_pmap() should handle complex graph (@test_create_pmap.R#40)
     3. Error: create_pmap_graph() (@test_create_pmap_graph.R#30)
     4. Error: prune_edges() should be able prune nothing (@test_prune_edges.R#4)
     5. Error: prune_edges() should be able prune half of the edges (@test_prune_edges.R#30)
     6. Error: prune_edges() should be able prune all of the edges (@test_prune_edges.R#58)
     7. Error: prune_nodes() should be able prune nothing (@test_prune_nodes.R#4)
     8. Error: prune_nodes() should be able prune half of the nodes (@test_prune_nodes.R#33)
     9. Error: prune_nodes() should be able prune all of the nodes (@test_prune_nodes.R#63)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-linux-x86_64

Version: 0.3.2
Check: tests
Result: ERROR
     Running 'testthat.R' [7s]
    Running the tests in 'tests/testthat.R' failed.
    Last 13 lines of output:
    
     == testthat results ===========================================================
     OK: 59 SKIPPED: 0 FAILED: 9
     1. Error: create_pmap() should handle simple graph (@test_create_pmap.R#14)
     2. Error: create_pmap() should handle complex graph (@test_create_pmap.R#40)
     3. Error: create_pmap_graph() (@test_create_pmap_graph.R#30)
     4. Error: prune_edges() should be able prune nothing (@test_prune_edges.R#4)
     5. Error: prune_edges() should be able prune half of the edges (@test_prune_edges.R#30)
     6. Error: prune_edges() should be able prune all of the edges (@test_prune_edges.R#58)
     7. Error: prune_nodes() should be able prune nothing (@test_prune_nodes.R#4)
     8. Error: prune_nodes() should be able prune half of the nodes (@test_prune_nodes.R#33)
     9. Error: prune_nodes() should be able prune all of the nodes (@test_prune_nodes.R#63)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-windows-ix86+x86_64