Skip to content

Commit

Permalink
update snapshots (#704)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalashsinghal authored Jan 25, 2024
1 parent 5af73fb commit 4f444ff
Show file tree
Hide file tree
Showing 3 changed files with 184 additions and 550 deletions.
8 changes: 4 additions & 4 deletions man/deprecated.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

298 changes: 86 additions & 212 deletions tests/testthat/_snaps/emissions_profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,193 +4,67 @@
format_robust_snapshot(unnest_product(out))
Output
[[1]]
companies_id
1 antimonarchy_canine
2 antimonarchy_canine
3 antimonarchy_canine
4 antimonarchy_canine
5 antimonarchy_canine
6 antimonarchy_canine
7 antimonarchy_canine
8 antimonarchy_canine
9 antimonarchy_canine
10 antimonarchy_canine
11 antimonarchy_canine
12 antimonarchy_canine
13 antimonarchy_canine
14 antimonarchy_canine
15 antimonarchy_canine
16 antimonarchy_canine
17 antimonarchy_canine
18 antimonarchy_canine
19 antimonarchy_canine
20 antimonarchy_canine
21 antimonarchy_canine
22 antimonarchy_canine
23 antimonarchy_canine
24 antimonarchy_canine
companies_id
1 supernatural_millipede
2 supernatural_millipede
3 supernatural_millipede
4 supernatural_millipede
5 supernatural_millipede
6 supernatural_millipede
[[2]]
grouped_by
1 all
2 all
3 all
4 all
5 isic_4digit
6 isic_4digit
7 isic_4digit
8 isic_4digit
9 tilt_sector
10 tilt_sector
11 tilt_sector
12 tilt_sector
13 unit
14 unit
15 unit
16 unit
17 unit_isic_4digit
18 unit_isic_4digit
19 unit_isic_4digit
20 unit_isic_4digit
21 unit_tilt_sector
22 unit_tilt_sector
23 unit_tilt_sector
24 unit_tilt_sector
grouped_by
1 all
2 isic_4digit
3 tilt_sector
4 unit
5 unit_isic_4digit
6 unit_tilt_sector
[[3]]
risk_category
1 low
2 high
3 high
4 high
5 medium
6 high
7 medium
8 high
9 low
10 high
11 medium
12 high
13 low
14 high
15 medium
16 high
17 medium
18 high
19 medium
20 high
21 low
22 high
23 medium
24 high
risk_category
1 high
2 high
3 high
4 high
5 high
6 high
[[4]]
profile_ranking
1 0.2500000
2 1.0000000
3 0.8750000
4 0.7500000
5 0.6666667
6 1.0000000
7 0.5000000
8 1.0000000
9 0.3333333
10 1.0000000
11 0.5000000
12 1.0000000
13 0.3333333
14 1.0000000
15 0.5000000
16 1.0000000
17 0.6666667
18 1.0000000
19 0.5000000
20 1.0000000
21 0.3333333
22 1.0000000
23 0.5000000
24 1.0000000
profile_ranking
1 1
2 1
3 1
4 1
5 1
6 1
[[5]]
clustered
1 tent
2 tent
3 tent
4 tent
5 tent
6 tent
7 tent
8 tent
9 tent
10 tent
11 tent
12 tent
13 tent
14 tent
15 tent
16 tent
17 tent
18 tent
19 tent
20 tent
21 tent
22 tent
23 tent
24 tent
clustered
1 tent
2 tent
3 tent
4 tent
5 tent
6 tent
[[6]]
activity_uuid_product_uuid
1 76269c17-78d6-420b-991a-aa38c51b45b7
2 76269c17-78d6-420b-991a-aa38c51b45b7
3 76269c17-78d6-420b-991a-aa38c51b45b7
4 76269c17-78d6-420b-991a-aa38c51b45b7
5 76269c17-78d6-420b-991a-aa38c51b45b7
6 76269c17-78d6-420b-991a-aa38c51b45b7
7 76269c17-78d6-420b-991a-aa38c51b45b7
8 76269c17-78d6-420b-991a-aa38c51b45b7
9 76269c17-78d6-420b-991a-aa38c51b45b7
10 76269c17-78d6-420b-991a-aa38c51b45b7
11 76269c17-78d6-420b-991a-aa38c51b45b7
12 76269c17-78d6-420b-991a-aa38c51b45b7
13 76269c17-78d6-420b-991a-aa38c51b45b7
14 76269c17-78d6-420b-991a-aa38c51b45b7
15 76269c17-78d6-420b-991a-aa38c51b45b7
16 76269c17-78d6-420b-991a-aa38c51b45b7
17 76269c17-78d6-420b-991a-aa38c51b45b7
18 76269c17-78d6-420b-991a-aa38c51b45b7
19 76269c17-78d6-420b-991a-aa38c51b45b7
20 76269c17-78d6-420b-991a-aa38c51b45b7
21 76269c17-78d6-420b-991a-aa38c51b45b7
22 76269c17-78d6-420b-991a-aa38c51b45b7
23 76269c17-78d6-420b-991a-aa38c51b45b7
24 76269c17-78d6-420b-991a-aa38c51b45b7
activity_uuid_product_uuid
1 76269c17-78d6-420b-991a-aa38c51b45b7
2 76269c17-78d6-420b-991a-aa38c51b45b7
3 76269c17-78d6-420b-991a-aa38c51b45b7
4 76269c17-78d6-420b-991a-aa38c51b45b7
5 76269c17-78d6-420b-991a-aa38c51b45b7
6 76269c17-78d6-420b-991a-aa38c51b45b7
[[7]]
co2_footprint
1 0.4870576
2 479.1300295
3 329.0656833
4 14.0590061
5 0.4870576
6 479.1300295
7 329.0656833
8 14.0590061
9 0.4870576
10 479.1300295
11 329.0656833
12 14.0590061
13 0.4870576
14 479.1300295
15 329.0656833
16 14.0590061
17 0.4870576
18 479.1300295
19 329.0656833
20 14.0590061
21 0.4870576
22 479.1300295
23 329.0656833
24 14.0590061
co2_footprint
1 302.7862
2 302.7862
3 302.7862
4 302.7862
5 302.7862
6 302.7862

---
Expand All @@ -199,25 +73,25 @@
format_robust_snapshot(unnest_company(out))
Output
[[1]]
companies_id
1 antimonarchy_canine
2 antimonarchy_canine
3 antimonarchy_canine
4 antimonarchy_canine
5 antimonarchy_canine
6 antimonarchy_canine
7 antimonarchy_canine
8 antimonarchy_canine
9 antimonarchy_canine
10 antimonarchy_canine
11 antimonarchy_canine
12 antimonarchy_canine
13 antimonarchy_canine
14 antimonarchy_canine
15 antimonarchy_canine
16 antimonarchy_canine
17 antimonarchy_canine
18 antimonarchy_canine
companies_id
1 supernatural_millipede
2 supernatural_millipede
3 supernatural_millipede
4 supernatural_millipede
5 supernatural_millipede
6 supernatural_millipede
7 supernatural_millipede
8 supernatural_millipede
9 supernatural_millipede
10 supernatural_millipede
11 supernatural_millipede
12 supernatural_millipede
13 supernatural_millipede
14 supernatural_millipede
15 supernatural_millipede
16 supernatural_millipede
17 supernatural_millipede
18 supernatural_millipede
[[2]]
grouped_by
Expand Down Expand Up @@ -263,23 +137,23 @@
[[4]]
value
1 0.75
2 0.00
3 0.25
4 0.50
5 0.50
6 0.00
7 0.50
8 0.25
9 0.25
10 0.50
11 0.25
12 0.25
13 0.50
14 0.50
15 0.00
16 0.50
17 0.25
18 0.25
1 1
2 0
3 0
4 1
5 0
6 0
7 1
8 0
9 0
10 1
11 0
12 0
13 1
14 0
15 0
16 1
17 0
18 0

Loading

0 comments on commit 4f444ff

Please sign in to comment.