Skip to content

Commit eac7160

Browse files
committed
test: Fix snapshots
1 parent 4ab4d5d commit eac7160

File tree

1 file changed

+40
-40
lines changed

1 file changed

+40
-40
lines changed

tests/testthat/_snaps/aaa-auto.md

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@
671671
# realize_degree_sequence_impl errors
672672

673673
Code
674-
realize_degree_sequence_impl(out_deg = -1)
674+
realize_degree_sequence_impl(out.deg = -1)
675675
Condition
676676
Error in `realize_degree_sequence_impl()`:
677677
! At vendor/cigraph/src/misc/degree_sequence.cpp:xx : The sum of degrees must be even for an undirected graph. Invalid value
@@ -882,8 +882,8 @@
882882
# preference_game_impl errors
883883

884884
Code
885-
preference_game_impl(nodes = -1, types = 2, type_dist = c(0.5, 0.5),
886-
fixed_sizes = FALSE, pref_matrix = matrix(c(0.5, 0.5, 0.5, 0.5), 2, 2))
885+
preference_game_impl(nodes = -1, types = 2, type.dist = c(0.5, 0.5),
886+
fixed.sizes = FALSE, pref.matrix = matrix(c(0.5, 0.5, 0.5, 0.5), 2, 2))
887887
Condition
888888
Error in `preference_game_impl()`:
889889
! At vendor/cigraph/src/games/preference.c:xx : The number of vertices must be non-negative. Invalid value
@@ -910,8 +910,8 @@
910910
# asymmetric_preference_game_impl errors
911911

912912
Code
913-
asymmetric_preference_game_impl(nodes = -1, out_types = 2, in_types = 2,
914-
type_dist_matrix = matrix(c(0.5, 0.5, 0.5, 0.5), 2, 2), pref_matrix = matrix(
913+
asymmetric_preference_game_impl(nodes = -1, out.types = 2, in.types = 2,
914+
type.dist.matrix = matrix(c(0.5, 0.5, 0.5, 0.5), 2, 2), pref.matrix = matrix(
915915
c(0.5, 0.5, 0.5, 0.5), 2, 2))
916916
Condition
917917
Error in `asymmetric_preference_game_impl()`:
@@ -975,7 +975,7 @@
975975
# forest_fire_game_impl errors
976976

977977
Code
978-
forest_fire_game_impl(nodes = -1, fw_prob = 0.5)
978+
forest_fire_game_impl(nodes = -1, fw.prob = 0.5)
979979
Condition
980980
Error in `forest_fire_game_impl()`:
981981
! At vendor/cigraph/src/games/forestfire.c:xx : Insufficient memory for forest fire model. Out of memory
@@ -995,8 +995,8 @@
995995
# simple_interconnected_islands_game_impl errors
996996

997997
Code
998-
simple_interconnected_islands_game_impl(islands_n = -1, islands_size = 3,
999-
islands_pin = 0.5, n_inter = 1)
998+
simple_interconnected_islands_game_impl(islands.n = -1, islands.size = 3,
999+
islands.pin = 0.5, n.inter = 1)
10001000
Condition
10011001
Error in `simple_interconnected_islands_game_impl()`:
10021002
! At vendor/cigraph/src/games/islands.c:xx : Number of islands cannot be negative, got -1. Invalid value
@@ -1025,7 +1025,7 @@
10251025
# chung_lu_game_impl errors
10261026

10271027
Code
1028-
chung_lu_game_impl(out_weights = -1)
1028+
chung_lu_game_impl(out.weights = -1)
10291029
Condition
10301030
Error in `chung_lu_game_impl()`:
10311031
! At vendor/cigraph/src/games/chung_lu.c:xx : Vertex weights must not be negative in Chung-Lu model, got -1. Invalid value
@@ -1054,7 +1054,7 @@
10541054
# static_fitness_game_impl errors
10551055

10561056
Code
1057-
static_fitness_game_impl(no_of_edges = -1, fitness_out = c(1, 2, 3))
1057+
static_fitness_game_impl(no.of.edges = -1, fitness.out = c(1, 2, 3))
10581058
Condition
10591059
Error in `static_fitness_game_impl()`:
10601060
! At vendor/cigraph/src/games/static_fitness.c:xx : Number of edges cannot be negative, got -1. Invalid value
@@ -1085,7 +1085,7 @@
10851085
# static_power_law_game_impl errors
10861086

10871087
Code
1088-
static_power_law_game_impl(no_of_nodes = -1, no_of_edges = 4, exponent_out = 2.5)
1088+
static_power_law_game_impl(no.of.nodes = -1, no.of.edges = 4, exponent.out = 2.5)
10891089
Condition
10901090
Error in `static_power_law_game_impl()`:
10911091
! At vendor/cigraph/src/games/static_fitness.c:xx : Number of nodes cannot be negative, got -1. Invalid value
@@ -1113,7 +1113,7 @@
11131113
# k_regular_game_impl errors
11141114

11151115
Code
1116-
k_regular_game_impl(no_of_nodes = -1, k = 2)
1116+
k_regular_game_impl(no.of.nodes = -1, k = 2)
11171117
Condition
11181118
Error in `k_regular_game_impl()`:
11191119
! At vendor/cigraph/src/games/k_regular.c:xx : Number of nodes must be non-negative. Invalid value
@@ -1142,7 +1142,7 @@
11421142
# sbm_game_impl errors
11431143

11441144
Code
1145-
sbm_game_impl(n = -1, pref_matrix = matrix(0.5, 2, 2), block_sizes = c(2, 3))
1145+
sbm_game_impl(n = -1, pref.matrix = matrix(0.5, 2, 2), block.sizes = c(2, 3))
11461146
Condition
11471147
Error in `sbm_game_impl()`:
11481148
! At vendor/cigraph/src/games/sbm.c:xx : Sum of the block sizes (5) must equal the number of vertices (-1). Invalid value
@@ -1206,7 +1206,7 @@
12061206
# correlated_game_impl errors
12071207

12081208
Code
1209-
correlated_game_impl(old_graph = NULL, corr = 0.5)
1209+
correlated_game_impl(old.graph = NULL, corr = 0.5)
12101210
Condition
12111211
Error in `ensure_igraph()`:
12121212
! Must provide a graph object (provided `NULL`).
@@ -1988,7 +1988,7 @@
19881988
# personalized_pagerank_vs_impl errors
19891989

19901990
Code
1991-
personalized_pagerank_vs_impl(graph = NULL, reset_vids = 1)
1991+
personalized_pagerank_vs_impl(graph = NULL, reset.vids = 1)
19921992
Condition
19931993
Error in `ensure_igraph()`:
19941994
! Must provide a graph object (provided `NULL`).
@@ -2985,7 +2985,7 @@
29852985
# rich_club_sequence_impl errors
29862986

29872987
Code
2988-
rich_club_sequence_impl(graph = NULL, vertex_order = 1:3)
2988+
rich_club_sequence_impl(graph = NULL, vertex.order = 1:3)
29892989
Condition
29902990
Error in `ensure_igraph()`:
29912991
! Must provide a graph object (provided `NULL`).
@@ -3551,7 +3551,7 @@
35513551
# joint_type_distribution_impl errors
35523552

35533553
Code
3554-
joint_type_distribution_impl(graph = NULL, from_types = c(1, 2, 1))
3554+
joint_type_distribution_impl(graph = NULL, from.types = c(1, 2, 1))
35553555
Condition
35563556
Error in `ensure_igraph()`:
35573557
! Must provide a graph object (provided `NULL`).
@@ -3674,7 +3674,7 @@
36743674
# pseudo_diameter_impl errors
36753675

36763676
Code
3677-
pseudo_diameter_impl(graph = NULL, start_vid = 1)
3677+
pseudo_diameter_impl(graph = NULL, start.vid = 1)
36783678
Condition
36793679
Error in `ensure_igraph()`:
36803680
! Must provide a graph object (provided `NULL`).
@@ -3713,7 +3713,7 @@
37133713
# pseudo_diameter_dijkstra_impl errors
37143714

37153715
Code
3716-
pseudo_diameter_dijkstra_impl(graph = NULL, start_vid = 1)
3716+
pseudo_diameter_dijkstra_impl(graph = NULL, start.vid = 1)
37173717
Condition
37183718
Error in `ensure_igraph()`:
37193719
! Must provide a graph object (provided `NULL`).
@@ -3902,7 +3902,7 @@
39023902
# is_graphical_impl errors
39033903

39043904
Code
3905-
is_graphical_impl(out_deg = "a")
3905+
is_graphical_impl(out.deg = "a")
39063906
Condition
39073907
Warning in `is_graphical_impl()`:
39083908
NAs introduced by coercion
@@ -5410,7 +5410,7 @@
54105410
# community_fluid_communities_impl errors
54115411

54125412
Code
5413-
community_fluid_communities_impl(graph = NULL, no_of_communities = 2)
5413+
community_fluid_communities_impl(graph = NULL, no.of.communities = 2)
54145414
Condition
54155415
Error in `ensure_igraph()`:
54165416
! Must provide a graph object (provided `NULL`).
@@ -5710,7 +5710,7 @@
57105710
# hrg_sample_many_impl errors
57115711

57125712
Code
5713-
hrg_sample_many_impl(hrg = NULL, num_samples = 2)
5713+
hrg_sample_many_impl(hrg = NULL, num.samples = 2)
57145714
Condition
57155715
Error in `hrg_sample_many_impl()`:
57165716
! At vendor/cigraph/src/hrg/hrg_types.cc:xx : Assertion failed: n >= 0. This is an unexpected igraph error; please report this as a bug, along with the steps to reproduce it.
@@ -6066,7 +6066,7 @@
60666066
# motifs_randesu_estimate_impl errors
60676067

60686068
Code
6069-
motifs_randesu_estimate_impl(graph = NULL, size = 3, sample_size = 2)
6069+
motifs_randesu_estimate_impl(graph = NULL, size = 3, sample.size = 2)
60706070
Condition
60716071
Error in `ensure_igraph()`:
60726072
! Must provide a graph object (provided `NULL`).
@@ -6088,7 +6088,7 @@
60886088
# motifs_randesu_no_impl errors
60896089

60906090
Code
6091-
motifs_randesu_no_impl(graph = g, size = 3, cut_prob = c(0.1))
6091+
motifs_randesu_no_impl(graph = g, size = 3, cut.prob = c(0.1))
60926092
Condition
60936093
Error in `motifs_randesu_no_impl()`:
60946094
! At vendor/cigraph/src/misc/motifs.c:xx : Cut probability vector size (1) must agree with motif size (3). Invalid value
@@ -6210,7 +6210,7 @@
62106210
# local_scan_0_them_impl errors
62116211

62126212
Code
6213-
local_scan_0_them_impl(us = NULL, them = them)
6213+
local_scan_0_them_impl(us = NULL, them = path_graph_impl(3))
62146214
Condition
62156215
Error in `ensure_igraph()`:
62166216
! Must provide a graph object (provided `NULL`).
@@ -6254,7 +6254,7 @@
62546254
# local_scan_1_ecount_them_impl errors
62556255

62566256
Code
6257-
local_scan_1_ecount_them_impl(us = NULL, them = them)
6257+
local_scan_1_ecount_them_impl(us = NULL, them = path_graph_impl(3))
62586258
Condition
62596259
Error in `ensure_igraph()`:
62606260
! Must provide a graph object (provided `NULL`).
@@ -6299,7 +6299,7 @@
62996299
# local_scan_k_ecount_them_impl errors
63006300

63016301
Code
6302-
local_scan_k_ecount_them_impl(us = NULL, them = them, k = 1)
6302+
local_scan_k_ecount_them_impl(us = NULL, them = path_graph_impl(3), k = 1)
63036303
Condition
63046304
Error in `ensure_igraph()`:
63056305
! Must provide a graph object (provided `NULL`).
@@ -6378,7 +6378,7 @@
63786378
# join_impl errors
63796379

63806380
Code
6381-
join_impl(left = NULL, right = right)
6381+
join_impl(left = NULL, right = path_graph_impl(3))
63826382
Condition
63836383
Error in `ensure_igraph()`:
63846384
! Must provide a graph object (provided `NULL`).
@@ -6475,7 +6475,7 @@
64756475
# product_impl errors
64766476

64776477
Code
6478-
product_impl(g1 = NULL, g2 = g2)
6478+
product_impl(g1 = NULL, g2 = path_graph_impl(3))
64796479
Condition
64806480
Error in `ensure_igraph()`:
64816481
! Must provide a graph object (provided `NULL`).
@@ -6492,7 +6492,7 @@
64926492
# rooted_product_impl errors
64936493

64946494
Code
6495-
rooted_product_impl(g1 = NULL, g2 = g2, root = 1)
6495+
rooted_product_impl(g1 = NULL, g2 = path_graph_impl(3), root = 1)
64966496
Condition
64976497
Error in `ensure_igraph()`:
64986498
! Must provide a graph object (provided `NULL`).
@@ -6958,7 +6958,7 @@
69586958
# isomorphic_impl errors
69596959

69606960
Code
6961-
isomorphic_impl(graph1 = NULL, graph2 = graph2)
6961+
isomorphic_impl(graph1 = NULL, graph2 = path_graph_impl(3))
69626962
Condition
69636963
Error in `ensure_igraph()`:
69646964
! Must provide a graph object (provided `NULL`).
@@ -7040,7 +7040,7 @@
70407040
# isomorphic_vf2_impl errors
70417041

70427042
Code
7043-
isomorphic_vf2_impl(graph1 = NULL, graph2 = graph2)
7043+
isomorphic_vf2_impl(graph1 = NULL, graph2 = path_graph_impl(3))
70447044
Condition
70457045
Error in `ensure_igraph()`:
70467046
! Must provide a graph object (provided `NULL`).
@@ -7093,7 +7093,7 @@
70937093
# get_isomorphisms_vf2_impl errors
70947094

70957095
Code
7096-
get_isomorphisms_vf2_impl(graph1 = NULL, graph2 = graph2)
7096+
get_isomorphisms_vf2_impl(graph1 = NULL, graph2 = path_graph_impl(3))
70977097
Condition
70987098
Error in `ensure_igraph()`:
70997099
! Must provide a graph object (provided `NULL`).
@@ -7108,7 +7108,7 @@
71087108
# subisomorphic_impl errors
71097109

71107110
Code
7111-
subisomorphic_impl(graph1 = NULL, graph2 = graph2)
7111+
subisomorphic_impl(graph1 = NULL, graph2 = path_graph_impl(3))
71127112
Condition
71137113
Error in `ensure_igraph()`:
71147114
! Must provide a graph object (provided `NULL`).
@@ -7147,7 +7147,7 @@
71477147
# subisomorphic_vf2_impl errors
71487148

71497149
Code
7150-
subisomorphic_vf2_impl(graph1 = NULL, graph2 = graph2)
7150+
subisomorphic_vf2_impl(graph1 = NULL, graph2 = path_graph_impl(3))
71517151
Condition
71527152
Error in `ensure_igraph()`:
71537153
! Must provide a graph object (provided `NULL`).
@@ -7170,7 +7170,7 @@
71707170
# count_subisomorphisms_vf2_impl errors
71717171

71727172
Code
7173-
count_subisomorphisms_vf2_impl(graph1 = NULL, graph2 = graph2)
7173+
count_subisomorphisms_vf2_impl(graph1 = NULL, graph2 = path_graph_impl(3))
71747174
Condition
71757175
Error in `ensure_igraph()`:
71767176
! Must provide a graph object (provided `NULL`).
@@ -7200,7 +7200,7 @@
72007200
# get_subisomorphisms_vf2_impl errors
72017201

72027202
Code
7203-
get_subisomorphisms_vf2_impl(graph1 = NULL, graph2 = graph2)
7203+
get_subisomorphisms_vf2_impl(graph1 = NULL, graph2 = path_graph_impl(3))
72047204
Condition
72057205
Error in `ensure_igraph()`:
72067206
! Must provide a graph object (provided `NULL`).
@@ -7402,7 +7402,7 @@
74027402
# isomorphic_bliss_impl errors
74037403

74047404
Code
7405-
isomorphic_bliss_impl(graph1 = NULL, graph2 = graph2)
7405+
isomorphic_bliss_impl(graph1 = NULL, graph2 = path_graph_impl(3))
74067406
Condition
74077407
Error in `ensure_igraph()`:
74087408
! Must provide a graph object (provided `NULL`).
@@ -10060,7 +10060,7 @@
1006010060
# roulette_wheel_imitation_impl errors
1006110061

1006210062
Code
10063-
roulette_wheel_imitation_impl(graph = NULL, vid = 1, is_local = TRUE,
10063+
roulette_wheel_imitation_impl(graph = NULL, vid = 1, is.local = TRUE,
1006410064
quantities = c(1, 2, 3), strategies = c(1, 2, 3))
1006510065
Condition
1006610066
Error in `ensure_igraph()`:
@@ -10127,7 +10127,7 @@
1012710127
# vertex_path_from_edge_path_impl errors
1012810128

1012910129
Code
10130-
vertex_path_from_edge_path_impl(graph = NULL, start = 1, edge_path = c(1, 2))
10130+
vertex_path_from_edge_path_impl(graph = NULL, start = 1, edge.path = c(1, 2))
1013110131
Condition
1013210132
Error in `ensure_igraph()`:
1013310133
! Must provide a graph object (provided `NULL`).

0 commit comments

Comments
 (0)