Skip to content

Commit

Permalink
exclude ggplot from expect_values according to doc
Browse files Browse the repository at this point in the history
  • Loading branch information
DivadNojnarg committed May 2, 2024
1 parent 62f6aca commit 224eef8
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 385 deletions.
41 changes: 0 additions & 41 deletions tests/testthat/_snaps/block/block-app-001.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,48 +12,7 @@
"my_stack-remove-block-block_3": 0
},
"output": {
"my_stack-block_3-plot": {
"src": "[image data hash: dc3c2ef5d3b96b94d13a8ee32635b155]",
"width": 932,
"height": 400,
"alt": "Plot object",
"coordmap": {
"panels": [
{
"panel": 1,
"row": 1,
"col": 1,
"panel_vars": {

},
"log": {
"x": null,
"y": null
},
"domain": {
"left": -7.35,
"right": 176.35,
"bottom": -9.350000000000001,
"top": 350.35
},
"mapping": {
"x": "Ozone",
"y": "Solar.R"
},
"range": {
"left": 76.6451198630136,
"right": 1853.041095890411,
"bottom": 736.6929463003968,
"top": 10.95890410958904
}
}
],
"dims": {
"width": 1864,
"height": 800
}
}
}
},
"export": {
"my_stack-block_1-block": {
Expand Down
84 changes: 0 additions & 84 deletions tests/testthat/_snaps/block/block-app-002.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,90 +177,6 @@
"all_files": true
}
]
},
"my_stack-block_2-plot": {
"src": "[image data hash: 8411a83ba27f7cc2e2e6bbe57ed04e35]",
"width": 932,
"height": 400,
"alt": "Plot object",
"coordmap": {
"panels": [
{
"panel": 1,
"row": 1,
"col": 1,
"panel_vars": {

},
"log": {
"x": null,
"y": null
},
"domain": {
"left": -7.35,
"right": 176.35,
"bottom": -9.350000000000001,
"top": 350.35
},
"mapping": {
"x": "Ozone",
"y": "Solar.R"
},
"range": {
"left": 76.6451198630136,
"right": 1853.041095890411,
"bottom": 736.6929463003968,
"top": 10.95890410958904
}
}
],
"dims": {
"width": 1864,
"height": 800
}
}
},
"my_stack-block_3-plot": {
"src": "[image data hash: dc3c2ef5d3b96b94d13a8ee32635b155]",
"width": 932,
"height": 400,
"alt": "Plot object",
"coordmap": {
"panels": [
{
"panel": 1,
"row": 1,
"col": 1,
"panel_vars": {

},
"log": {
"x": null,
"y": null
},
"domain": {
"left": -7.35,
"right": 176.35,
"bottom": -9.350000000000001,
"top": 350.35
},
"mapping": {
"x": "Ozone",
"y": "Solar.R"
},
"range": {
"left": 76.6451198630136,
"right": 1853.041095890411,
"bottom": 736.6929463003968,
"top": 10.95890410958904
}
}
],
"dims": {
"width": 1864,
"height": 800
}
}
}
},
"export": {
Expand Down
Binary file modified tests/testthat/_snaps/block/block-app-002_.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
84 changes: 0 additions & 84 deletions tests/testthat/_snaps/block/block-app-003.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,90 +177,6 @@
"all_files": true
}
]
},
"my_stack-block_2-plot": {
"src": "[image data hash: 8411a83ba27f7cc2e2e6bbe57ed04e35]",
"width": 932,
"height": 400,
"alt": "Plot object",
"coordmap": {
"panels": [
{
"panel": 1,
"row": 1,
"col": 1,
"panel_vars": {

},
"log": {
"x": null,
"y": null
},
"domain": {
"left": -7.35,
"right": 176.35,
"bottom": -9.350000000000001,
"top": 350.35
},
"mapping": {
"x": "Ozone",
"y": "Solar.R"
},
"range": {
"left": 76.6451198630136,
"right": 1853.041095890411,
"bottom": 736.6929463003968,
"top": 10.95890410958904
}
}
],
"dims": {
"width": 1864,
"height": 800
}
}
},
"my_stack-block_3-plot": {
"src": "[image data hash: 874eab5fde799eceff558b2d692d8eee]",
"width": 932,
"height": 400,
"alt": "Plot object",
"coordmap": {
"panels": [
{
"panel": 1,
"row": 1,
"col": 1,
"panel_vars": {

},
"log": {
"x": null,
"y": null
},
"domain": {
"left": -7.35,
"right": 176.35,
"bottom": -9.350000000000001,
"top": 350.35
},
"mapping": {
"x": "Ozone",
"y": "Solar.R"
},
"range": {
"left": 76.6451198630136,
"right": 1853.041095890411,
"bottom": 736.6929463003968,
"top": 10.95890410958904
}
}
],
"dims": {
"width": 1864,
"height": 800
}
}
}
},
"export": {
Expand Down
84 changes: 0 additions & 84 deletions tests/testthat/_snaps/block/block-app-004.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,90 +177,6 @@
"all_files": true
}
]
},
"my_stack-block_2-plot": {
"src": "[image data hash: fe360382aa398c3f02f12dca691aa3db]",
"width": 932,
"height": 400,
"alt": "Plot object",
"coordmap": {
"panels": [
{
"panel": 1,
"row": 1,
"col": 1,
"panel_vars": {

},
"log": {
"x": null,
"y": null
},
"domain": {
"left": -9.350000000000001,
"right": 350.35,
"bottom": 0.7499999999999999,
"top": 21.65
},
"mapping": {
"x": "Solar.R",
"y": "Wind"
},
"range": {
"left": 66.86386986301373,
"right": 1853.041095890411,
"bottom": 736.6929463003968,
"top": 10.95890410958904
}
}
],
"dims": {
"width": 1864,
"height": 800
}
}
},
"my_stack-block_3-plot": {
"src": "[image data hash: c94eceab72cd1c5c24139a04354fd20e]",
"width": 932,
"height": 400,
"alt": "Plot object",
"coordmap": {
"panels": [
{
"panel": 1,
"row": 1,
"col": 1,
"panel_vars": {

},
"log": {
"x": null,
"y": null
},
"domain": {
"left": -9.350000000000001,
"right": 350.35,
"bottom": 0.7499999999999999,
"top": 21.65
},
"mapping": {
"x": "Solar.R",
"y": "Wind"
},
"range": {
"left": 66.86386986301373,
"right": 1853.041095890411,
"bottom": 736.6929463003968,
"top": 10.95890410958904
}
}
],
"dims": {
"width": 1864,
"height": 800
}
}
}
},
"export": {
Expand Down
Loading

0 comments on commit 224eef8

Please sign in to comment.