Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Shiny examples testing automation #87

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
38 changes: 38 additions & 0 deletions 001-hello/tests/mytest-expected/001.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"input": {
"bins": 30
},
"output": {
"distPlot": {
"src": "[image data sha1: e06229f3d420fdf3429bb261888784ca2fb521d3]",
"width": 631,
"height": 400,
"coordmap": [
{
"domain": {
"left": 40.88,
"right": 98.12,
"bottom": -1.08,
"top": 28.08
},
"range": {
"left": 59.04,
"right": 600.76,
"bottom": 325.56,
"top": 58.04
},
"log": {
"x": null,
"y": null
},
"mapping": {

}
}
]
}
},
"export": {

}
}
Binary file added 001-hello/tests/mytest-expected/001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions 001-hello/tests/mytest-expected/002.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"input": {
"bins": 50
},
"output": {
"distPlot": {
"src": "[image data sha1: 82cb64dcce542a6de0b8cac765fdfd47d083580b]",
"width": 631,
"height": 400,
"coordmap": [
{
"domain": {
"left": 40.88,
"right": 98.12,
"bottom": -1,
"top": 26
},
"range": {
"left": 59.04,
"right": 600.76,
"bottom": 325.56,
"top": 58.04
},
"log": {
"x": null,
"y": null
},
"mapping": {

}
}
]
}
},
"export": {

}
}
Binary file added 001-hello/tests/mytest-expected/002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions 001-hello/tests/mytest-expected/003.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"input": {
"bins": 30
},
"output": {
"distPlot": {
"src": "[image data sha1: e06229f3d420fdf3429bb261888784ca2fb521d3]",
"width": 631,
"height": 400,
"coordmap": [
{
"domain": {
"left": 40.88,
"right": 98.12,
"bottom": -1.08,
"top": 28.08
},
"range": {
"left": 59.04,
"right": 600.76,
"bottom": 325.56,
"top": 58.04
},
"log": {
"x": null,
"y": null
},
"mapping": {

}
}
]
}
},
"export": {

}
}
Binary file added 001-hello/tests/mytest-expected/003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions 001-hello/tests/mytest-expected/004.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"input": {
"bins": 50
},
"output": {
"distPlot": {
"src": "[image data sha1: 82cb64dcce542a6de0b8cac765fdfd47d083580b]",
"width": 631,
"height": 400,
"coordmap": [
{
"domain": {
"left": 40.88,
"right": 98.12,
"bottom": -1,
"top": 26
},
"range": {
"left": 59.04,
"right": 600.76,
"bottom": 325.56,
"top": 58.04
},
"log": {
"x": null,
"y": null
},
"mapping": {

}
}
]
}
},
"export": {

}
}
Binary file added 001-hello/tests/mytest-expected/004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions 001-hello/tests/mytest-expected/005.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"input": {
"bins": 21
},
"output": {
"distPlot": {
"src": "[image data sha1: 66093ce69dd63499bc488b3d396efb6fa267f8f2]",
"width": 631,
"height": 400,
"coordmap": [
{
"domain": {
"left": 40.88,
"right": 98.12,
"bottom": -1.56,
"top": 40.56
},
"range": {
"left": 59.04,
"right": 600.76,
"bottom": 325.56,
"top": 58.04
},
"log": {
"x": null,
"y": null
},
"mapping": {

}
}
]
}
},
"export": {

}
}
Binary file added 001-hello/tests/mytest-expected/005.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions 001-hello/tests/mytest-expected/006.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"input": {
"bins": 50
},
"output": {
"distPlot": {
"src": "[image data sha1: 82cb64dcce542a6de0b8cac765fdfd47d083580b]",
"width": 631,
"height": 400,
"coordmap": [
{
"domain": {
"left": 40.88,
"right": 98.12,
"bottom": -1,
"top": 26
},
"range": {
"left": 59.04,
"right": 600.76,
"bottom": 325.56,
"top": 58.04
},
"log": {
"x": null,
"y": null
},
"mapping": {

}
}
]
}
},
"export": {

}
}
Binary file added 001-hello/tests/mytest-expected/006.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions 001-hello/tests/mytest.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
library(shinytest)
app <- ShinyDriver$new("../", shinyOptions = list(display.mode = "normal"))
app$snapshotInit("mytest")

app$snapshot()
app$setInputs(bins = 50)
app$snapshot()
app$setInputs(bins = 35)
app$setInputs(bins = 32)
app$setInputs(bins = 31)
app$setInputs(bins = 30)
app$snapshot()
app$setInputs(bins = 1)
app$setInputs(bins = 3)
app$setInputs(bins = 50)
app$snapshot()
app$setInputs(bins = 21)
app$snapshot()
app$setInputs(bins = 50)

app$snapshot()
13 changes: 13 additions & 0 deletions 002-text/tests/mytest-expected/001.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"input": {
"dataset": "rock",
"obs": 10
},
"output": {
"summary": " area peri shape perm \n Min. : 1016 Min. : 308.6 Min. :0.09033 Min. : 6.30 \n 1st Qu.: 5305 1st Qu.:1414.9 1st Qu.:0.16226 1st Qu.: 76.45 \n Median : 7487 Median :2536.2 Median :0.19886 Median : 130.50 \n Mean : 7188 Mean :2682.2 Mean :0.21811 Mean : 415.45 \n 3rd Qu.: 8870 3rd Qu.:3989.5 3rd Qu.:0.26267 3rd Qu.: 777.50 \n Max. :12212 Max. :4864.2 Max. :0.46413 Max. :1300.00 ",
"view": "<table class = 'table shiny-table table- spacing-s' style = 'width:auto;'>\n<thead> <tr> <th style='text-align: right;'> area <\/th> <th style='text-align: right;'> peri <\/th> <th style='text-align: right;'> shape <\/th> <th style='text-align: right;'> perm <\/th> <\/tr> <\/thead> <tbody>\n <tr> <td align=\"right\"> 4990 <\/td> <td align=\"right\"> 2791.90 <\/td> <td align=\"right\"> 0.09 <\/td> <td align=\"right\"> 6.30 <\/td> <\/tr>\n <tr> <td align=\"right\"> 7002 <\/td> <td align=\"right\"> 3892.60 <\/td> <td align=\"right\"> 0.15 <\/td> <td align=\"right\"> 6.30 <\/td> <\/tr>\n <tr> <td align=\"right\"> 7558 <\/td> <td align=\"right\"> 3930.66 <\/td> <td align=\"right\"> 0.18 <\/td> <td align=\"right\"> 6.30 <\/td> <\/tr>\n <tr> <td align=\"right\"> 7352 <\/td> <td align=\"right\"> 3869.32 <\/td> <td align=\"right\"> 0.12 <\/td> <td align=\"right\"> 6.30 <\/td> <\/tr>\n <tr> <td align=\"right\"> 7943 <\/td> <td align=\"right\"> 3948.54 <\/td> <td align=\"right\"> 0.12 <\/td> <td align=\"right\"> 17.10 <\/td> <\/tr>\n <tr> <td align=\"right\"> 7979 <\/td> <td align=\"right\"> 4010.15 <\/td> <td align=\"right\"> 0.17 <\/td> <td align=\"right\"> 17.10 <\/td> <\/tr>\n <tr> <td align=\"right\"> 9333 <\/td> <td align=\"right\"> 4345.75 <\/td> <td align=\"right\"> 0.19 <\/td> <td align=\"right\"> 17.10 <\/td> <\/tr>\n <tr> <td align=\"right\"> 8209 <\/td> <td align=\"right\"> 4344.75 <\/td> <td align=\"right\"> 0.16 <\/td> <td align=\"right\"> 17.10 <\/td> <\/tr>\n <tr> <td align=\"right\"> 8393 <\/td> <td align=\"right\"> 3682.04 <\/td> <td align=\"right\"> 0.20 <\/td> <td align=\"right\"> 119.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 6425 <\/td> <td align=\"right\"> 3098.65 <\/td> <td align=\"right\"> 0.16 <\/td> <td align=\"right\"> 119.00 <\/td> <\/tr>\n <\/tbody> <\/table>"
},
"export": {

}
}
Binary file added 002-text/tests/mytest-expected/001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions 002-text/tests/mytest-expected/002.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"input": {
"dataset": "pressure",
"obs": 10
},
"output": {
"summary": " temperature pressure \n Min. : 0 Min. : 0.0002 \n 1st Qu.: 90 1st Qu.: 0.1800 \n Median :180 Median : 8.8000 \n Mean :180 Mean :124.3367 \n 3rd Qu.:270 3rd Qu.:126.5000 \n Max. :360 Max. :806.0000 ",
"view": "<table class = 'table shiny-table table- spacing-s' style = 'width:auto;'>\n<thead> <tr> <th style='text-align: right;'> temperature <\/th> <th style='text-align: right;'> pressure <\/th> <\/tr> <\/thead> <tbody>\n <tr> <td align=\"right\"> 0.00 <\/td> <td align=\"right\"> 0.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 20.00 <\/td> <td align=\"right\"> 0.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 40.00 <\/td> <td align=\"right\"> 0.01 <\/td> <\/tr>\n <tr> <td align=\"right\"> 60.00 <\/td> <td align=\"right\"> 0.03 <\/td> <\/tr>\n <tr> <td align=\"right\"> 80.00 <\/td> <td align=\"right\"> 0.09 <\/td> <\/tr>\n <tr> <td align=\"right\"> 100.00 <\/td> <td align=\"right\"> 0.27 <\/td> <\/tr>\n <tr> <td align=\"right\"> 120.00 <\/td> <td align=\"right\"> 0.75 <\/td> <\/tr>\n <tr> <td align=\"right\"> 140.00 <\/td> <td align=\"right\"> 1.85 <\/td> <\/tr>\n <tr> <td align=\"right\"> 160.00 <\/td> <td align=\"right\"> 4.20 <\/td> <\/tr>\n <tr> <td align=\"right\"> 180.00 <\/td> <td align=\"right\"> 8.80 <\/td> <\/tr>\n <\/tbody> <\/table>"
},
"export": {

}
}
Binary file added 002-text/tests/mytest-expected/002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions 002-text/tests/mytest-expected/003.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"input": {
"dataset": "cars",
"obs": 13
},
"output": {
"summary": " speed dist \n Min. : 4.0 Min. : 2.00 \n 1st Qu.:12.0 1st Qu.: 26.00 \n Median :15.0 Median : 36.00 \n Mean :15.4 Mean : 42.98 \n 3rd Qu.:19.0 3rd Qu.: 56.00 \n Max. :25.0 Max. :120.00 ",
"view": "<table class = 'table shiny-table table- spacing-s' style = 'width:auto;'>\n<thead> <tr> <th style='text-align: right;'> speed <\/th> <th style='text-align: right;'> dist <\/th> <\/tr> <\/thead> <tbody>\n <tr> <td align=\"right\"> 4.00 <\/td> <td align=\"right\"> 2.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 4.00 <\/td> <td align=\"right\"> 10.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 7.00 <\/td> <td align=\"right\"> 4.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 7.00 <\/td> <td align=\"right\"> 22.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 8.00 <\/td> <td align=\"right\"> 16.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 9.00 <\/td> <td align=\"right\"> 10.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 10.00 <\/td> <td align=\"right\"> 18.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 10.00 <\/td> <td align=\"right\"> 26.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 10.00 <\/td> <td align=\"right\"> 34.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 11.00 <\/td> <td align=\"right\"> 17.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 11.00 <\/td> <td align=\"right\"> 28.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 12.00 <\/td> <td align=\"right\"> 14.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 12.00 <\/td> <td align=\"right\"> 20.00 <\/td> <\/tr>\n <\/tbody> <\/table>"
},
"export": {

}
}
Binary file added 002-text/tests/mytest-expected/003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions 002-text/tests/mytest-expected/004.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"input": {
"dataset": "cars",
"obs": 18
},
"output": {
"summary": " speed dist \n Min. : 4.0 Min. : 2.00 \n 1st Qu.:12.0 1st Qu.: 26.00 \n Median :15.0 Median : 36.00 \n Mean :15.4 Mean : 42.98 \n 3rd Qu.:19.0 3rd Qu.: 56.00 \n Max. :25.0 Max. :120.00 ",
"view": "<table class = 'table shiny-table table- spacing-s' style = 'width:auto;'>\n<thead> <tr> <th style='text-align: right;'> speed <\/th> <th style='text-align: right;'> dist <\/th> <\/tr> <\/thead> <tbody>\n <tr> <td align=\"right\"> 4.00 <\/td> <td align=\"right\"> 2.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 4.00 <\/td> <td align=\"right\"> 10.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 7.00 <\/td> <td align=\"right\"> 4.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 7.00 <\/td> <td align=\"right\"> 22.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 8.00 <\/td> <td align=\"right\"> 16.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 9.00 <\/td> <td align=\"right\"> 10.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 10.00 <\/td> <td align=\"right\"> 18.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 10.00 <\/td> <td align=\"right\"> 26.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 10.00 <\/td> <td align=\"right\"> 34.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 11.00 <\/td> <td align=\"right\"> 17.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 11.00 <\/td> <td align=\"right\"> 28.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 12.00 <\/td> <td align=\"right\"> 14.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 12.00 <\/td> <td align=\"right\"> 20.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 12.00 <\/td> <td align=\"right\"> 24.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 12.00 <\/td> <td align=\"right\"> 28.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 13.00 <\/td> <td align=\"right\"> 26.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 13.00 <\/td> <td align=\"right\"> 34.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 13.00 <\/td> <td align=\"right\"> 34.00 <\/td> <\/tr>\n <\/tbody> <\/table>"
},
"export": {

}
}
Binary file added 002-text/tests/mytest-expected/004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions 002-text/tests/mytest-expected/005.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"input": {
"dataset": "cars",
"obs": -29
},
"output": {
"summary": " speed dist \n Min. : 4.0 Min. : 2.00 \n 1st Qu.:12.0 1st Qu.: 26.00 \n Median :15.0 Median : 36.00 \n Mean :15.4 Mean : 42.98 \n 3rd Qu.:19.0 3rd Qu.: 56.00 \n Max. :25.0 Max. :120.00 ",
"view": "<table class = 'table shiny-table table- spacing-s' style = 'width:auto;'>\n<thead> <tr> <th style='text-align: right;'> speed <\/th> <th style='text-align: right;'> dist <\/th> <\/tr> <\/thead> <tbody>\n <tr> <td align=\"right\"> 4.00 <\/td> <td align=\"right\"> 2.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 4.00 <\/td> <td align=\"right\"> 10.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 7.00 <\/td> <td align=\"right\"> 4.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 7.00 <\/td> <td align=\"right\"> 22.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 8.00 <\/td> <td align=\"right\"> 16.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 9.00 <\/td> <td align=\"right\"> 10.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 10.00 <\/td> <td align=\"right\"> 18.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 10.00 <\/td> <td align=\"right\"> 26.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 10.00 <\/td> <td align=\"right\"> 34.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 11.00 <\/td> <td align=\"right\"> 17.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 11.00 <\/td> <td align=\"right\"> 28.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 12.00 <\/td> <td align=\"right\"> 14.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 12.00 <\/td> <td align=\"right\"> 20.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 12.00 <\/td> <td align=\"right\"> 24.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 12.00 <\/td> <td align=\"right\"> 28.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 13.00 <\/td> <td align=\"right\"> 26.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 13.00 <\/td> <td align=\"right\"> 34.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 13.00 <\/td> <td align=\"right\"> 34.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 13.00 <\/td> <td align=\"right\"> 46.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 14.00 <\/td> <td align=\"right\"> 26.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 14.00 <\/td> <td align=\"right\"> 36.00 <\/td> <\/tr>\n <\/tbody> <\/table>"
},
"export": {

}
}
Binary file added 002-text/tests/mytest-expected/005.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions 002-text/tests/mytest-expected/006.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"input": {
"dataset": "cars",
"obs": -29
},
"output": {
"summary": " speed dist \n Min. : 4.0 Min. : 2.00 \n 1st Qu.:12.0 1st Qu.: 26.00 \n Median :15.0 Median : 36.00 \n Mean :15.4 Mean : 42.98 \n 3rd Qu.:19.0 3rd Qu.: 56.00 \n Max. :25.0 Max. :120.00 ",
"view": "<table class = 'table shiny-table table- spacing-s' style = 'width:auto;'>\n<thead> <tr> <th style='text-align: right;'> speed <\/th> <th style='text-align: right;'> dist <\/th> <\/tr> <\/thead> <tbody>\n <tr> <td align=\"right\"> 4.00 <\/td> <td align=\"right\"> 2.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 4.00 <\/td> <td align=\"right\"> 10.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 7.00 <\/td> <td align=\"right\"> 4.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 7.00 <\/td> <td align=\"right\"> 22.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 8.00 <\/td> <td align=\"right\"> 16.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 9.00 <\/td> <td align=\"right\"> 10.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 10.00 <\/td> <td align=\"right\"> 18.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 10.00 <\/td> <td align=\"right\"> 26.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 10.00 <\/td> <td align=\"right\"> 34.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 11.00 <\/td> <td align=\"right\"> 17.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 11.00 <\/td> <td align=\"right\"> 28.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 12.00 <\/td> <td align=\"right\"> 14.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 12.00 <\/td> <td align=\"right\"> 20.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 12.00 <\/td> <td align=\"right\"> 24.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 12.00 <\/td> <td align=\"right\"> 28.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 13.00 <\/td> <td align=\"right\"> 26.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 13.00 <\/td> <td align=\"right\"> 34.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 13.00 <\/td> <td align=\"right\"> 34.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 13.00 <\/td> <td align=\"right\"> 46.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 14.00 <\/td> <td align=\"right\"> 26.00 <\/td> <\/tr>\n <tr> <td align=\"right\"> 14.00 <\/td> <td align=\"right\"> 36.00 <\/td> <\/tr>\n <\/tbody> <\/table>"
},
"export": {

}
}
Binary file added 002-text/tests/mytest-expected/006.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions 002-text/tests/mytest-expected/007.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"input": {
"dataset": "pressure",
"obs": -29
},
"output": {
"summary": " temperature pressure \n Min. : 0 Min. : 0.0002 \n 1st Qu.: 90 1st Qu.: 0.1800 \n Median :180 Median : 8.8000 \n Mean :180 Mean :124.3367 \n 3rd Qu.:270 3rd Qu.:126.5000 \n Max. :360 Max. :806.0000 ",
"view": "<table class = 'table shiny-table table- spacing-s' style = 'width:auto;'>\n<thead> <tr> <th style='text-align: right;'> temperature <\/th> <th style='text-align: right;'> pressure <\/th> <\/tr> <\/thead> <tbody>\n <\/tbody> <\/table>"
},
"export": {

}
}
Binary file added 002-text/tests/mytest-expected/007.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading