diff --git a/inst/apps/001-hello/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/001-hello/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..619040c4eb --- /dev/null +++ b/inst/apps/001-hello/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,45 @@ +{ + "input": { + "bins": 30 + }, + "output": { + "distPlot": { + "src": "[image data hash: a3f9a99bb16e34b90d7f87f6a6dc04e6]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 40.88, + "right": 98.12, + "bottom": -1.08, + "top": 28.08 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/001-hello/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/001-hello/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..ead59b0097 Binary files /dev/null and b/inst/apps/001-hello/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/001-hello/tests/testthat/_snaps/linux-4.4/mytest/003.json b/inst/apps/001-hello/tests/testthat/_snaps/linux-4.4/mytest/003.json new file mode 100644 index 0000000000..6ca422b8f2 --- /dev/null +++ b/inst/apps/001-hello/tests/testthat/_snaps/linux-4.4/mytest/003.json @@ -0,0 +1,45 @@ +{ + "input": { + "bins": 8 + }, + "output": { + "distPlot": { + "src": "[image data hash: 93b7c046dd86eff01a0e01259c6277d1]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 40.88, + "right": 98.12, + "bottom": -2.8, + "top": 72.8 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/001-hello/tests/testthat/_snaps/linux-4.4/mytest/004.png b/inst/apps/001-hello/tests/testthat/_snaps/linux-4.4/mytest/004.png new file mode 100644 index 0000000000..12144f0c0c Binary files /dev/null and b/inst/apps/001-hello/tests/testthat/_snaps/linux-4.4/mytest/004.png differ diff --git a/inst/apps/001-hello/tests/testthat/_snaps/linux-4.4/mytest/005.json b/inst/apps/001-hello/tests/testthat/_snaps/linux-4.4/mytest/005.json new file mode 100644 index 0000000000..5d315bb101 --- /dev/null +++ b/inst/apps/001-hello/tests/testthat/_snaps/linux-4.4/mytest/005.json @@ -0,0 +1,45 @@ +{ + "input": { + "bins": 22 + }, + "output": { + "distPlot": { + "src": "[image data hash: 8bdcd86c4f0c2e52a0a977933b67752a]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 40.88, + "right": 98.12, + "bottom": -1.48, + "top": 38.48 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/001-hello/tests/testthat/_snaps/linux-4.4/mytest/006.png b/inst/apps/001-hello/tests/testthat/_snaps/linux-4.4/mytest/006.png new file mode 100644 index 0000000000..e3c9545483 Binary files /dev/null and b/inst/apps/001-hello/tests/testthat/_snaps/linux-4.4/mytest/006.png differ diff --git a/inst/apps/001-hello/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/001-hello/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..29bdaf591b --- /dev/null +++ b/inst/apps/001-hello/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,45 @@ +{ + "input": { + "bins": 30 + }, + "output": { + "distPlot": { + "src": "[image data hash: 0e3dbadc7ae18f1b36f2e50aeada32b3]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 40.88, + "right": 98.12, + "bottom": -1.08, + "top": 28.08 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/001-hello/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/001-hello/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..15c7a31dc1 Binary files /dev/null and b/inst/apps/001-hello/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/001-hello/tests/testthat/_snaps/mac-4.4/mytest/003.json b/inst/apps/001-hello/tests/testthat/_snaps/mac-4.4/mytest/003.json new file mode 100644 index 0000000000..ee05e90c3c --- /dev/null +++ b/inst/apps/001-hello/tests/testthat/_snaps/mac-4.4/mytest/003.json @@ -0,0 +1,45 @@ +{ + "input": { + "bins": 8 + }, + "output": { + "distPlot": { + "src": "[image data hash: dab04fe40e355b62c479df397797169e]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 40.88, + "right": 98.12, + "bottom": -2.8, + "top": 72.8 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/001-hello/tests/testthat/_snaps/mac-4.4/mytest/004.png b/inst/apps/001-hello/tests/testthat/_snaps/mac-4.4/mytest/004.png new file mode 100644 index 0000000000..ede0acb340 Binary files /dev/null and b/inst/apps/001-hello/tests/testthat/_snaps/mac-4.4/mytest/004.png differ diff --git a/inst/apps/001-hello/tests/testthat/_snaps/mac-4.4/mytest/005.json b/inst/apps/001-hello/tests/testthat/_snaps/mac-4.4/mytest/005.json new file mode 100644 index 0000000000..38fc24049c --- /dev/null +++ b/inst/apps/001-hello/tests/testthat/_snaps/mac-4.4/mytest/005.json @@ -0,0 +1,45 @@ +{ + "input": { + "bins": 22 + }, + "output": { + "distPlot": { + "src": "[image data hash: 87d18999cc7d1f9936cdfb8d7e60b2cd]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 40.88, + "right": 98.12, + "bottom": -1.48, + "top": 38.48 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/001-hello/tests/testthat/_snaps/mac-4.4/mytest/006.png b/inst/apps/001-hello/tests/testthat/_snaps/mac-4.4/mytest/006.png new file mode 100644 index 0000000000..0b4fef95d6 Binary files /dev/null and b/inst/apps/001-hello/tests/testthat/_snaps/mac-4.4/mytest/006.png differ diff --git a/inst/apps/002-text/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/002-text/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..e397b8fd5d --- /dev/null +++ b/inst/apps/002-text/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -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": "\n\n
area <\/th> peri <\/th> shape <\/th> perm <\/th> <\/tr> <\/thead>
4990 <\/td> 2791.90 <\/td> 0.09 <\/td> 6.30 <\/td> <\/tr>\n
7002 <\/td> 3892.60 <\/td> 0.15 <\/td> 6.30 <\/td> <\/tr>\n
7558 <\/td> 3930.66 <\/td> 0.18 <\/td> 6.30 <\/td> <\/tr>\n
7352 <\/td> 3869.32 <\/td> 0.12 <\/td> 6.30 <\/td> <\/tr>\n
7943 <\/td> 3948.54 <\/td> 0.12 <\/td> 17.10 <\/td> <\/tr>\n
7979 <\/td> 4010.15 <\/td> 0.17 <\/td> 17.10 <\/td> <\/tr>\n
9333 <\/td> 4345.75 <\/td> 0.19 <\/td> 17.10 <\/td> <\/tr>\n
8209 <\/td> 4344.75 <\/td> 0.16 <\/td> 17.10 <\/td> <\/tr>\n
8393 <\/td> 3682.04 <\/td> 0.20 <\/td> 119.00 <\/td> <\/tr>\n
6425 <\/td> 3098.65 <\/td> 0.16 <\/td> 119.00 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/002-text/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/002-text/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..b88fc9ba64 Binary files /dev/null and b/inst/apps/002-text/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/002-text/tests/testthat/_snaps/linux-4.4/mytest/003.json b/inst/apps/002-text/tests/testthat/_snaps/linux-4.4/mytest/003.json new file mode 100644 index 0000000000..d14a5d49be --- /dev/null +++ b/inst/apps/002-text/tests/testthat/_snaps/linux-4.4/mytest/003.json @@ -0,0 +1,13 @@ +{ + "input": { + "dataset": "pressure", + "obs": 1000 + }, + "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": "\n\n
temperature <\/th> pressure <\/th> <\/tr> <\/thead>
0.00 <\/td> 0.00 <\/td> <\/tr>\n
20.00 <\/td> 0.00 <\/td> <\/tr>\n
40.00 <\/td> 0.01 <\/td> <\/tr>\n
60.00 <\/td> 0.03 <\/td> <\/tr>\n
80.00 <\/td> 0.09 <\/td> <\/tr>\n
100.00 <\/td> 0.27 <\/td> <\/tr>\n
120.00 <\/td> 0.75 <\/td> <\/tr>\n
140.00 <\/td> 1.85 <\/td> <\/tr>\n
160.00 <\/td> 4.20 <\/td> <\/tr>\n
180.00 <\/td> 8.80 <\/td> <\/tr>\n
200.00 <\/td> 17.30 <\/td> <\/tr>\n
220.00 <\/td> 32.10 <\/td> <\/tr>\n
240.00 <\/td> 57.00 <\/td> <\/tr>\n
260.00 <\/td> 96.00 <\/td> <\/tr>\n
280.00 <\/td> 157.00 <\/td> <\/tr>\n
300.00 <\/td> 247.00 <\/td> <\/tr>\n
320.00 <\/td> 376.00 <\/td> <\/tr>\n
340.00 <\/td> 558.00 <\/td> <\/tr>\n
360.00 <\/td> 806.00 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/002-text/tests/testthat/_snaps/linux-4.4/mytest/004.png b/inst/apps/002-text/tests/testthat/_snaps/linux-4.4/mytest/004.png new file mode 100644 index 0000000000..94b253305b Binary files /dev/null and b/inst/apps/002-text/tests/testthat/_snaps/linux-4.4/mytest/004.png differ diff --git a/inst/apps/002-text/tests/testthat/_snaps/linux-4.4/mytest/005.json b/inst/apps/002-text/tests/testthat/_snaps/linux-4.4/mytest/005.json new file mode 100644 index 0000000000..045ead8313 --- /dev/null +++ b/inst/apps/002-text/tests/testthat/_snaps/linux-4.4/mytest/005.json @@ -0,0 +1,13 @@ +{ + "input": { + "dataset": "rock", + "obs": 1 + }, + "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": "\n\n
area <\/th> peri <\/th> shape <\/th> perm <\/th> <\/tr> <\/thead>
4990 <\/td> 2791.90 <\/td> 0.09 <\/td> 6.30 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/002-text/tests/testthat/_snaps/linux-4.4/mytest/006.png b/inst/apps/002-text/tests/testthat/_snaps/linux-4.4/mytest/006.png new file mode 100644 index 0000000000..ebbb4f7bfb Binary files /dev/null and b/inst/apps/002-text/tests/testthat/_snaps/linux-4.4/mytest/006.png differ diff --git a/inst/apps/002-text/tests/testthat/_snaps/linux-4.4/mytest/007.json b/inst/apps/002-text/tests/testthat/_snaps/linux-4.4/mytest/007.json new file mode 100644 index 0000000000..d14a5d49be --- /dev/null +++ b/inst/apps/002-text/tests/testthat/_snaps/linux-4.4/mytest/007.json @@ -0,0 +1,13 @@ +{ + "input": { + "dataset": "pressure", + "obs": 1000 + }, + "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": "\n\n
temperature <\/th> pressure <\/th> <\/tr> <\/thead>
0.00 <\/td> 0.00 <\/td> <\/tr>\n
20.00 <\/td> 0.00 <\/td> <\/tr>\n
40.00 <\/td> 0.01 <\/td> <\/tr>\n
60.00 <\/td> 0.03 <\/td> <\/tr>\n
80.00 <\/td> 0.09 <\/td> <\/tr>\n
100.00 <\/td> 0.27 <\/td> <\/tr>\n
120.00 <\/td> 0.75 <\/td> <\/tr>\n
140.00 <\/td> 1.85 <\/td> <\/tr>\n
160.00 <\/td> 4.20 <\/td> <\/tr>\n
180.00 <\/td> 8.80 <\/td> <\/tr>\n
200.00 <\/td> 17.30 <\/td> <\/tr>\n
220.00 <\/td> 32.10 <\/td> <\/tr>\n
240.00 <\/td> 57.00 <\/td> <\/tr>\n
260.00 <\/td> 96.00 <\/td> <\/tr>\n
280.00 <\/td> 157.00 <\/td> <\/tr>\n
300.00 <\/td> 247.00 <\/td> <\/tr>\n
320.00 <\/td> 376.00 <\/td> <\/tr>\n
340.00 <\/td> 558.00 <\/td> <\/tr>\n
360.00 <\/td> 806.00 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/002-text/tests/testthat/_snaps/linux-4.4/mytest/008.png b/inst/apps/002-text/tests/testthat/_snaps/linux-4.4/mytest/008.png new file mode 100644 index 0000000000..94b253305b Binary files /dev/null and b/inst/apps/002-text/tests/testthat/_snaps/linux-4.4/mytest/008.png differ diff --git a/inst/apps/002-text/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/002-text/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..e397b8fd5d --- /dev/null +++ b/inst/apps/002-text/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -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": "\n\n
area <\/th> peri <\/th> shape <\/th> perm <\/th> <\/tr> <\/thead>
4990 <\/td> 2791.90 <\/td> 0.09 <\/td> 6.30 <\/td> <\/tr>\n
7002 <\/td> 3892.60 <\/td> 0.15 <\/td> 6.30 <\/td> <\/tr>\n
7558 <\/td> 3930.66 <\/td> 0.18 <\/td> 6.30 <\/td> <\/tr>\n
7352 <\/td> 3869.32 <\/td> 0.12 <\/td> 6.30 <\/td> <\/tr>\n
7943 <\/td> 3948.54 <\/td> 0.12 <\/td> 17.10 <\/td> <\/tr>\n
7979 <\/td> 4010.15 <\/td> 0.17 <\/td> 17.10 <\/td> <\/tr>\n
9333 <\/td> 4345.75 <\/td> 0.19 <\/td> 17.10 <\/td> <\/tr>\n
8209 <\/td> 4344.75 <\/td> 0.16 <\/td> 17.10 <\/td> <\/tr>\n
8393 <\/td> 3682.04 <\/td> 0.20 <\/td> 119.00 <\/td> <\/tr>\n
6425 <\/td> 3098.65 <\/td> 0.16 <\/td> 119.00 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/002-text/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/002-text/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..1b22096265 Binary files /dev/null and b/inst/apps/002-text/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/002-text/tests/testthat/_snaps/mac-4.4/mytest/003.json b/inst/apps/002-text/tests/testthat/_snaps/mac-4.4/mytest/003.json new file mode 100644 index 0000000000..d14a5d49be --- /dev/null +++ b/inst/apps/002-text/tests/testthat/_snaps/mac-4.4/mytest/003.json @@ -0,0 +1,13 @@ +{ + "input": { + "dataset": "pressure", + "obs": 1000 + }, + "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": "\n\n
temperature <\/th> pressure <\/th> <\/tr> <\/thead>
0.00 <\/td> 0.00 <\/td> <\/tr>\n
20.00 <\/td> 0.00 <\/td> <\/tr>\n
40.00 <\/td> 0.01 <\/td> <\/tr>\n
60.00 <\/td> 0.03 <\/td> <\/tr>\n
80.00 <\/td> 0.09 <\/td> <\/tr>\n
100.00 <\/td> 0.27 <\/td> <\/tr>\n
120.00 <\/td> 0.75 <\/td> <\/tr>\n
140.00 <\/td> 1.85 <\/td> <\/tr>\n
160.00 <\/td> 4.20 <\/td> <\/tr>\n
180.00 <\/td> 8.80 <\/td> <\/tr>\n
200.00 <\/td> 17.30 <\/td> <\/tr>\n
220.00 <\/td> 32.10 <\/td> <\/tr>\n
240.00 <\/td> 57.00 <\/td> <\/tr>\n
260.00 <\/td> 96.00 <\/td> <\/tr>\n
280.00 <\/td> 157.00 <\/td> <\/tr>\n
300.00 <\/td> 247.00 <\/td> <\/tr>\n
320.00 <\/td> 376.00 <\/td> <\/tr>\n
340.00 <\/td> 558.00 <\/td> <\/tr>\n
360.00 <\/td> 806.00 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/002-text/tests/testthat/_snaps/mac-4.4/mytest/004.png b/inst/apps/002-text/tests/testthat/_snaps/mac-4.4/mytest/004.png new file mode 100644 index 0000000000..25efce3351 Binary files /dev/null and b/inst/apps/002-text/tests/testthat/_snaps/mac-4.4/mytest/004.png differ diff --git a/inst/apps/002-text/tests/testthat/_snaps/mac-4.4/mytest/005.json b/inst/apps/002-text/tests/testthat/_snaps/mac-4.4/mytest/005.json new file mode 100644 index 0000000000..045ead8313 --- /dev/null +++ b/inst/apps/002-text/tests/testthat/_snaps/mac-4.4/mytest/005.json @@ -0,0 +1,13 @@ +{ + "input": { + "dataset": "rock", + "obs": 1 + }, + "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": "\n\n
area <\/th> peri <\/th> shape <\/th> perm <\/th> <\/tr> <\/thead>
4990 <\/td> 2791.90 <\/td> 0.09 <\/td> 6.30 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/002-text/tests/testthat/_snaps/mac-4.4/mytest/006.png b/inst/apps/002-text/tests/testthat/_snaps/mac-4.4/mytest/006.png new file mode 100644 index 0000000000..9801d47952 Binary files /dev/null and b/inst/apps/002-text/tests/testthat/_snaps/mac-4.4/mytest/006.png differ diff --git a/inst/apps/002-text/tests/testthat/_snaps/mac-4.4/mytest/007.json b/inst/apps/002-text/tests/testthat/_snaps/mac-4.4/mytest/007.json new file mode 100644 index 0000000000..d14a5d49be --- /dev/null +++ b/inst/apps/002-text/tests/testthat/_snaps/mac-4.4/mytest/007.json @@ -0,0 +1,13 @@ +{ + "input": { + "dataset": "pressure", + "obs": 1000 + }, + "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": "\n\n
temperature <\/th> pressure <\/th> <\/tr> <\/thead>
0.00 <\/td> 0.00 <\/td> <\/tr>\n
20.00 <\/td> 0.00 <\/td> <\/tr>\n
40.00 <\/td> 0.01 <\/td> <\/tr>\n
60.00 <\/td> 0.03 <\/td> <\/tr>\n
80.00 <\/td> 0.09 <\/td> <\/tr>\n
100.00 <\/td> 0.27 <\/td> <\/tr>\n
120.00 <\/td> 0.75 <\/td> <\/tr>\n
140.00 <\/td> 1.85 <\/td> <\/tr>\n
160.00 <\/td> 4.20 <\/td> <\/tr>\n
180.00 <\/td> 8.80 <\/td> <\/tr>\n
200.00 <\/td> 17.30 <\/td> <\/tr>\n
220.00 <\/td> 32.10 <\/td> <\/tr>\n
240.00 <\/td> 57.00 <\/td> <\/tr>\n
260.00 <\/td> 96.00 <\/td> <\/tr>\n
280.00 <\/td> 157.00 <\/td> <\/tr>\n
300.00 <\/td> 247.00 <\/td> <\/tr>\n
320.00 <\/td> 376.00 <\/td> <\/tr>\n
340.00 <\/td> 558.00 <\/td> <\/tr>\n
360.00 <\/td> 806.00 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/002-text/tests/testthat/_snaps/mac-4.4/mytest/008.png b/inst/apps/002-text/tests/testthat/_snaps/mac-4.4/mytest/008.png new file mode 100644 index 0000000000..25efce3351 Binary files /dev/null and b/inst/apps/002-text/tests/testthat/_snaps/mac-4.4/mytest/008.png differ diff --git a/inst/apps/003-reactivity/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/003-reactivity/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..c4a4ef661c --- /dev/null +++ b/inst/apps/003-reactivity/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,15 @@ +{ + "input": { + "caption": "Data Summary", + "dataset": "rock", + "obs": 10 + }, + "output": { + "caption": "Data Summary", + "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": "\n\n
area <\/th> peri <\/th> shape <\/th> perm <\/th> <\/tr> <\/thead>
4990 <\/td> 2791.90 <\/td> 0.09 <\/td> 6.30 <\/td> <\/tr>\n
7002 <\/td> 3892.60 <\/td> 0.15 <\/td> 6.30 <\/td> <\/tr>\n
7558 <\/td> 3930.66 <\/td> 0.18 <\/td> 6.30 <\/td> <\/tr>\n
7352 <\/td> 3869.32 <\/td> 0.12 <\/td> 6.30 <\/td> <\/tr>\n
7943 <\/td> 3948.54 <\/td> 0.12 <\/td> 17.10 <\/td> <\/tr>\n
7979 <\/td> 4010.15 <\/td> 0.17 <\/td> 17.10 <\/td> <\/tr>\n
9333 <\/td> 4345.75 <\/td> 0.19 <\/td> 17.10 <\/td> <\/tr>\n
8209 <\/td> 4344.75 <\/td> 0.16 <\/td> 17.10 <\/td> <\/tr>\n
8393 <\/td> 3682.04 <\/td> 0.20 <\/td> 119.00 <\/td> <\/tr>\n
6425 <\/td> 3098.65 <\/td> 0.16 <\/td> 119.00 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/003-reactivity/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/003-reactivity/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..1cb0d928a8 Binary files /dev/null and b/inst/apps/003-reactivity/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/003-reactivity/tests/testthat/_snaps/linux-4.4/mytest/003.json b/inst/apps/003-reactivity/tests/testthat/_snaps/linux-4.4/mytest/003.json new file mode 100644 index 0000000000..3133833c39 --- /dev/null +++ b/inst/apps/003-reactivity/tests/testthat/_snaps/linux-4.4/mytest/003.json @@ -0,0 +1,15 @@ +{ + "input": { + "caption": "Data Summary", + "dataset": "pressure", + "obs": 10 + }, + "output": { + "caption": "Data Summary", + "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": "\n\n
temperature <\/th> pressure <\/th> <\/tr> <\/thead>
0.00 <\/td> 0.00 <\/td> <\/tr>\n
20.00 <\/td> 0.00 <\/td> <\/tr>\n
40.00 <\/td> 0.01 <\/td> <\/tr>\n
60.00 <\/td> 0.03 <\/td> <\/tr>\n
80.00 <\/td> 0.09 <\/td> <\/tr>\n
100.00 <\/td> 0.27 <\/td> <\/tr>\n
120.00 <\/td> 0.75 <\/td> <\/tr>\n
140.00 <\/td> 1.85 <\/td> <\/tr>\n
160.00 <\/td> 4.20 <\/td> <\/tr>\n
180.00 <\/td> 8.80 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/003-reactivity/tests/testthat/_snaps/linux-4.4/mytest/004.png b/inst/apps/003-reactivity/tests/testthat/_snaps/linux-4.4/mytest/004.png new file mode 100644 index 0000000000..9e74a074e3 Binary files /dev/null and b/inst/apps/003-reactivity/tests/testthat/_snaps/linux-4.4/mytest/004.png differ diff --git a/inst/apps/003-reactivity/tests/testthat/_snaps/linux-4.4/mytest/005.json b/inst/apps/003-reactivity/tests/testthat/_snaps/linux-4.4/mytest/005.json new file mode 100644 index 0000000000..c4a4ef661c --- /dev/null +++ b/inst/apps/003-reactivity/tests/testthat/_snaps/linux-4.4/mytest/005.json @@ -0,0 +1,15 @@ +{ + "input": { + "caption": "Data Summary", + "dataset": "rock", + "obs": 10 + }, + "output": { + "caption": "Data Summary", + "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": "\n\n
area <\/th> peri <\/th> shape <\/th> perm <\/th> <\/tr> <\/thead>
4990 <\/td> 2791.90 <\/td> 0.09 <\/td> 6.30 <\/td> <\/tr>\n
7002 <\/td> 3892.60 <\/td> 0.15 <\/td> 6.30 <\/td> <\/tr>\n
7558 <\/td> 3930.66 <\/td> 0.18 <\/td> 6.30 <\/td> <\/tr>\n
7352 <\/td> 3869.32 <\/td> 0.12 <\/td> 6.30 <\/td> <\/tr>\n
7943 <\/td> 3948.54 <\/td> 0.12 <\/td> 17.10 <\/td> <\/tr>\n
7979 <\/td> 4010.15 <\/td> 0.17 <\/td> 17.10 <\/td> <\/tr>\n
9333 <\/td> 4345.75 <\/td> 0.19 <\/td> 17.10 <\/td> <\/tr>\n
8209 <\/td> 4344.75 <\/td> 0.16 <\/td> 17.10 <\/td> <\/tr>\n
8393 <\/td> 3682.04 <\/td> 0.20 <\/td> 119.00 <\/td> <\/tr>\n
6425 <\/td> 3098.65 <\/td> 0.16 <\/td> 119.00 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/003-reactivity/tests/testthat/_snaps/linux-4.4/mytest/006.png b/inst/apps/003-reactivity/tests/testthat/_snaps/linux-4.4/mytest/006.png new file mode 100644 index 0000000000..1cb0d928a8 Binary files /dev/null and b/inst/apps/003-reactivity/tests/testthat/_snaps/linux-4.4/mytest/006.png differ diff --git a/inst/apps/003-reactivity/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/003-reactivity/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..c4a4ef661c --- /dev/null +++ b/inst/apps/003-reactivity/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,15 @@ +{ + "input": { + "caption": "Data Summary", + "dataset": "rock", + "obs": 10 + }, + "output": { + "caption": "Data Summary", + "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": "\n\n
area <\/th> peri <\/th> shape <\/th> perm <\/th> <\/tr> <\/thead>
4990 <\/td> 2791.90 <\/td> 0.09 <\/td> 6.30 <\/td> <\/tr>\n
7002 <\/td> 3892.60 <\/td> 0.15 <\/td> 6.30 <\/td> <\/tr>\n
7558 <\/td> 3930.66 <\/td> 0.18 <\/td> 6.30 <\/td> <\/tr>\n
7352 <\/td> 3869.32 <\/td> 0.12 <\/td> 6.30 <\/td> <\/tr>\n
7943 <\/td> 3948.54 <\/td> 0.12 <\/td> 17.10 <\/td> <\/tr>\n
7979 <\/td> 4010.15 <\/td> 0.17 <\/td> 17.10 <\/td> <\/tr>\n
9333 <\/td> 4345.75 <\/td> 0.19 <\/td> 17.10 <\/td> <\/tr>\n
8209 <\/td> 4344.75 <\/td> 0.16 <\/td> 17.10 <\/td> <\/tr>\n
8393 <\/td> 3682.04 <\/td> 0.20 <\/td> 119.00 <\/td> <\/tr>\n
6425 <\/td> 3098.65 <\/td> 0.16 <\/td> 119.00 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/003-reactivity/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/003-reactivity/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..29bc08daa1 Binary files /dev/null and b/inst/apps/003-reactivity/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/003-reactivity/tests/testthat/_snaps/mac-4.4/mytest/003.json b/inst/apps/003-reactivity/tests/testthat/_snaps/mac-4.4/mytest/003.json new file mode 100644 index 0000000000..3133833c39 --- /dev/null +++ b/inst/apps/003-reactivity/tests/testthat/_snaps/mac-4.4/mytest/003.json @@ -0,0 +1,15 @@ +{ + "input": { + "caption": "Data Summary", + "dataset": "pressure", + "obs": 10 + }, + "output": { + "caption": "Data Summary", + "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": "\n\n
temperature <\/th> pressure <\/th> <\/tr> <\/thead>
0.00 <\/td> 0.00 <\/td> <\/tr>\n
20.00 <\/td> 0.00 <\/td> <\/tr>\n
40.00 <\/td> 0.01 <\/td> <\/tr>\n
60.00 <\/td> 0.03 <\/td> <\/tr>\n
80.00 <\/td> 0.09 <\/td> <\/tr>\n
100.00 <\/td> 0.27 <\/td> <\/tr>\n
120.00 <\/td> 0.75 <\/td> <\/tr>\n
140.00 <\/td> 1.85 <\/td> <\/tr>\n
160.00 <\/td> 4.20 <\/td> <\/tr>\n
180.00 <\/td> 8.80 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/003-reactivity/tests/testthat/_snaps/mac-4.4/mytest/004.png b/inst/apps/003-reactivity/tests/testthat/_snaps/mac-4.4/mytest/004.png new file mode 100644 index 0000000000..7e61e96005 Binary files /dev/null and b/inst/apps/003-reactivity/tests/testthat/_snaps/mac-4.4/mytest/004.png differ diff --git a/inst/apps/003-reactivity/tests/testthat/_snaps/mac-4.4/mytest/005.json b/inst/apps/003-reactivity/tests/testthat/_snaps/mac-4.4/mytest/005.json new file mode 100644 index 0000000000..c4a4ef661c --- /dev/null +++ b/inst/apps/003-reactivity/tests/testthat/_snaps/mac-4.4/mytest/005.json @@ -0,0 +1,15 @@ +{ + "input": { + "caption": "Data Summary", + "dataset": "rock", + "obs": 10 + }, + "output": { + "caption": "Data Summary", + "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": "\n\n
area <\/th> peri <\/th> shape <\/th> perm <\/th> <\/tr> <\/thead>
4990 <\/td> 2791.90 <\/td> 0.09 <\/td> 6.30 <\/td> <\/tr>\n
7002 <\/td> 3892.60 <\/td> 0.15 <\/td> 6.30 <\/td> <\/tr>\n
7558 <\/td> 3930.66 <\/td> 0.18 <\/td> 6.30 <\/td> <\/tr>\n
7352 <\/td> 3869.32 <\/td> 0.12 <\/td> 6.30 <\/td> <\/tr>\n
7943 <\/td> 3948.54 <\/td> 0.12 <\/td> 17.10 <\/td> <\/tr>\n
7979 <\/td> 4010.15 <\/td> 0.17 <\/td> 17.10 <\/td> <\/tr>\n
9333 <\/td> 4345.75 <\/td> 0.19 <\/td> 17.10 <\/td> <\/tr>\n
8209 <\/td> 4344.75 <\/td> 0.16 <\/td> 17.10 <\/td> <\/tr>\n
8393 <\/td> 3682.04 <\/td> 0.20 <\/td> 119.00 <\/td> <\/tr>\n
6425 <\/td> 3098.65 <\/td> 0.16 <\/td> 119.00 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/003-reactivity/tests/testthat/_snaps/mac-4.4/mytest/006.png b/inst/apps/003-reactivity/tests/testthat/_snaps/mac-4.4/mytest/006.png new file mode 100644 index 0000000000..29bc08daa1 Binary files /dev/null and b/inst/apps/003-reactivity/tests/testthat/_snaps/mac-4.4/mytest/006.png differ diff --git a/inst/apps/004-mpg/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/004-mpg/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..f2115c8c2b --- /dev/null +++ b/inst/apps/004-mpg/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,47 @@ +{ + "input": { + "outliers": true, + "variable": "cyl" + }, + "output": { + "caption": "mpg ~ cyl", + "mpgPlot": { + "src": "[image data hash: a8cec97874800b818492cdda7b6bac2c]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 0.38, + "right": 3.62, + "bottom": 9.46, + "top": 34.84 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/004-mpg/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/004-mpg/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..c6379edad8 Binary files /dev/null and b/inst/apps/004-mpg/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/004-mpg/tests/testthat/_snaps/linux-4.4/mytest/003.json b/inst/apps/004-mpg/tests/testthat/_snaps/linux-4.4/mytest/003.json new file mode 100644 index 0000000000..0a9b9b4992 --- /dev/null +++ b/inst/apps/004-mpg/tests/testthat/_snaps/linux-4.4/mytest/003.json @@ -0,0 +1,47 @@ +{ + "input": { + "outliers": true, + "variable": "am" + }, + "output": { + "caption": "mpg ~ am", + "mpgPlot": { + "src": "[image data hash: f30b95f731e256443f676634b61cfa11]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 0.42, + "right": 2.58, + "bottom": 9.46, + "top": 34.84 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/004-mpg/tests/testthat/_snaps/linux-4.4/mytest/004.png b/inst/apps/004-mpg/tests/testthat/_snaps/linux-4.4/mytest/004.png new file mode 100644 index 0000000000..9822873a7e Binary files /dev/null and b/inst/apps/004-mpg/tests/testthat/_snaps/linux-4.4/mytest/004.png differ diff --git a/inst/apps/004-mpg/tests/testthat/_snaps/linux-4.4/mytest/005.json b/inst/apps/004-mpg/tests/testthat/_snaps/linux-4.4/mytest/005.json new file mode 100644 index 0000000000..a9ada79bc5 --- /dev/null +++ b/inst/apps/004-mpg/tests/testthat/_snaps/linux-4.4/mytest/005.json @@ -0,0 +1,47 @@ +{ + "input": { + "outliers": true, + "variable": "gear" + }, + "output": { + "caption": "mpg ~ gear", + "mpgPlot": { + "src": "[image data hash: f63f4830f7a3d1841debd6b48a6d2e37]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 0.38, + "right": 3.62, + "bottom": 9.46, + "top": 34.84 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/004-mpg/tests/testthat/_snaps/linux-4.4/mytest/006.png b/inst/apps/004-mpg/tests/testthat/_snaps/linux-4.4/mytest/006.png new file mode 100644 index 0000000000..1cff755816 Binary files /dev/null and b/inst/apps/004-mpg/tests/testthat/_snaps/linux-4.4/mytest/006.png differ diff --git a/inst/apps/004-mpg/tests/testthat/_snaps/linux-4.4/mytest/007.json b/inst/apps/004-mpg/tests/testthat/_snaps/linux-4.4/mytest/007.json new file mode 100644 index 0000000000..680dae5b70 --- /dev/null +++ b/inst/apps/004-mpg/tests/testthat/_snaps/linux-4.4/mytest/007.json @@ -0,0 +1,47 @@ +{ + "input": { + "outliers": false, + "variable": "cyl" + }, + "output": { + "caption": "mpg ~ cyl", + "mpgPlot": { + "src": "[image data hash: d3f342e6eed1be47e87b1640656922f7]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 0.38, + "right": 3.62, + "bottom": 12.476, + "top": 34.724 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/004-mpg/tests/testthat/_snaps/linux-4.4/mytest/008.png b/inst/apps/004-mpg/tests/testthat/_snaps/linux-4.4/mytest/008.png new file mode 100644 index 0000000000..f0e0d31b84 Binary files /dev/null and b/inst/apps/004-mpg/tests/testthat/_snaps/linux-4.4/mytest/008.png differ diff --git a/inst/apps/004-mpg/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/004-mpg/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..ed06bc540d --- /dev/null +++ b/inst/apps/004-mpg/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,47 @@ +{ + "input": { + "outliers": true, + "variable": "cyl" + }, + "output": { + "caption": "mpg ~ cyl", + "mpgPlot": { + "src": "[image data hash: 4afaa32ca09c9fa2a2bdf2464c75ff63]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 0.38, + "right": 3.62, + "bottom": 9.46, + "top": 34.84 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/004-mpg/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/004-mpg/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..55679fe571 Binary files /dev/null and b/inst/apps/004-mpg/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/004-mpg/tests/testthat/_snaps/mac-4.4/mytest/003.json b/inst/apps/004-mpg/tests/testthat/_snaps/mac-4.4/mytest/003.json new file mode 100644 index 0000000000..7239e535c5 --- /dev/null +++ b/inst/apps/004-mpg/tests/testthat/_snaps/mac-4.4/mytest/003.json @@ -0,0 +1,47 @@ +{ + "input": { + "outliers": true, + "variable": "am" + }, + "output": { + "caption": "mpg ~ am", + "mpgPlot": { + "src": "[image data hash: c4643f71a7523f95364b2e6b822e0746]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 0.42, + "right": 2.58, + "bottom": 9.46, + "top": 34.84 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/004-mpg/tests/testthat/_snaps/mac-4.4/mytest/004.png b/inst/apps/004-mpg/tests/testthat/_snaps/mac-4.4/mytest/004.png new file mode 100644 index 0000000000..e683f6585f Binary files /dev/null and b/inst/apps/004-mpg/tests/testthat/_snaps/mac-4.4/mytest/004.png differ diff --git a/inst/apps/004-mpg/tests/testthat/_snaps/mac-4.4/mytest/005.json b/inst/apps/004-mpg/tests/testthat/_snaps/mac-4.4/mytest/005.json new file mode 100644 index 0000000000..5ef30be337 --- /dev/null +++ b/inst/apps/004-mpg/tests/testthat/_snaps/mac-4.4/mytest/005.json @@ -0,0 +1,47 @@ +{ + "input": { + "outliers": true, + "variable": "gear" + }, + "output": { + "caption": "mpg ~ gear", + "mpgPlot": { + "src": "[image data hash: cacc2e1993847c1584a8109d407866d9]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 0.38, + "right": 3.62, + "bottom": 9.46, + "top": 34.84 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/004-mpg/tests/testthat/_snaps/mac-4.4/mytest/006.png b/inst/apps/004-mpg/tests/testthat/_snaps/mac-4.4/mytest/006.png new file mode 100644 index 0000000000..32ba1a123b Binary files /dev/null and b/inst/apps/004-mpg/tests/testthat/_snaps/mac-4.4/mytest/006.png differ diff --git a/inst/apps/004-mpg/tests/testthat/_snaps/mac-4.4/mytest/007.json b/inst/apps/004-mpg/tests/testthat/_snaps/mac-4.4/mytest/007.json new file mode 100644 index 0000000000..a3e426046c --- /dev/null +++ b/inst/apps/004-mpg/tests/testthat/_snaps/mac-4.4/mytest/007.json @@ -0,0 +1,47 @@ +{ + "input": { + "outliers": false, + "variable": "cyl" + }, + "output": { + "caption": "mpg ~ cyl", + "mpgPlot": { + "src": "[image data hash: 074739f8ca784e485028440a2c5e77b4]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 0.38, + "right": 3.62, + "bottom": 12.476, + "top": 34.724 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/004-mpg/tests/testthat/_snaps/mac-4.4/mytest/008.png b/inst/apps/004-mpg/tests/testthat/_snaps/mac-4.4/mytest/008.png new file mode 100644 index 0000000000..e69dc35d47 Binary files /dev/null and b/inst/apps/004-mpg/tests/testthat/_snaps/mac-4.4/mytest/008.png differ diff --git a/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..9006589824 --- /dev/null +++ b/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,18 @@ +{ + "input": { + "animation": 1, + "decimal": 0.5, + "format": 0, + "integer": 500, + "range": [ + 200, + 500 + ] + }, + "output": { + "values": "\n\n
Name <\/th> Value <\/th> <\/tr> <\/thead>
Integer <\/td> 500 <\/td> <\/tr>\n
Decimal <\/td> 0.5 <\/td> <\/tr>\n
Range <\/td> 200 500 <\/td> <\/tr>\n
Custom Format <\/td> 0 <\/td> <\/tr>\n
Animation <\/td> 1 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..cfd367c098 Binary files /dev/null and b/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/003.json b/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/003.json new file mode 100644 index 0000000000..1bc2395f88 --- /dev/null +++ b/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/003.json @@ -0,0 +1,18 @@ +{ + "input": { + "animation": 1, + "decimal": 1, + "format": 0, + "integer": 500, + "range": [ + 200, + 500 + ] + }, + "output": { + "values": "\n\n
Name <\/th> Value <\/th> <\/tr> <\/thead>
Integer <\/td> 500 <\/td> <\/tr>\n
Decimal <\/td> 1 <\/td> <\/tr>\n
Range <\/td> 200 500 <\/td> <\/tr>\n
Custom Format <\/td> 0 <\/td> <\/tr>\n
Animation <\/td> 1 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/004.png b/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/004.png new file mode 100644 index 0000000000..0a6283fa78 Binary files /dev/null and b/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/004.png differ diff --git a/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/005.json b/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/005.json new file mode 100644 index 0000000000..7909b3b40c --- /dev/null +++ b/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/005.json @@ -0,0 +1,18 @@ +{ + "input": { + "animation": 1051, + "decimal": 1, + "format": 7500, + "integer": 500, + "range": [ + 200, + 1000 + ] + }, + "output": { + "values": "\n\n
Name <\/th> Value <\/th> <\/tr> <\/thead>
Integer <\/td> 500 <\/td> <\/tr>\n
Decimal <\/td> 1 <\/td> <\/tr>\n
Range <\/td> 200 1000 <\/td> <\/tr>\n
Custom Format <\/td> 7500 <\/td> <\/tr>\n
Animation <\/td> 1051 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/006.png b/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/006.png new file mode 100644 index 0000000000..2e39ad94fe Binary files /dev/null and b/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/006.png differ diff --git a/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/007.json b/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/007.json new file mode 100644 index 0000000000..e3c1f51e1c --- /dev/null +++ b/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/007.json @@ -0,0 +1,18 @@ +{ + "input": { + "animation": 1051, + "decimal": 1, + "format": 0, + "integer": 500, + "range": [ + 200, + 1000 + ] + }, + "output": { + "values": "\n\n
Name <\/th> Value <\/th> <\/tr> <\/thead>
Integer <\/td> 500 <\/td> <\/tr>\n
Decimal <\/td> 1 <\/td> <\/tr>\n
Range <\/td> 200 1000 <\/td> <\/tr>\n
Custom Format <\/td> 0 <\/td> <\/tr>\n
Animation <\/td> 1051 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/008.png b/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/008.png new file mode 100644 index 0000000000..25b8216693 Binary files /dev/null and b/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/008.png differ diff --git a/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/009.json b/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/009.json new file mode 100644 index 0000000000..953575a4bb --- /dev/null +++ b/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/009.json @@ -0,0 +1,18 @@ +{ + "input": { + "animation": 1051, + "decimal": 0.3, + "format": 0, + "integer": 37, + "range": [ + 200, + 727 + ] + }, + "output": { + "values": "\n\n
Name <\/th> Value <\/th> <\/tr> <\/thead>
Integer <\/td> 37 <\/td> <\/tr>\n
Decimal <\/td> 0.3 <\/td> <\/tr>\n
Range <\/td> 200 727 <\/td> <\/tr>\n
Custom Format <\/td> 0 <\/td> <\/tr>\n
Animation <\/td> 1051 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/010.png b/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/010.png new file mode 100644 index 0000000000..6892f9a3de Binary files /dev/null and b/inst/apps/005-sliders/tests/testthat/_snaps/linux-4.4/mytest/010.png differ diff --git a/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..9006589824 --- /dev/null +++ b/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,18 @@ +{ + "input": { + "animation": 1, + "decimal": 0.5, + "format": 0, + "integer": 500, + "range": [ + 200, + 500 + ] + }, + "output": { + "values": "\n\n
Name <\/th> Value <\/th> <\/tr> <\/thead>
Integer <\/td> 500 <\/td> <\/tr>\n
Decimal <\/td> 0.5 <\/td> <\/tr>\n
Range <\/td> 200 500 <\/td> <\/tr>\n
Custom Format <\/td> 0 <\/td> <\/tr>\n
Animation <\/td> 1 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..844eabecff Binary files /dev/null and b/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/003.json b/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/003.json new file mode 100644 index 0000000000..1bc2395f88 --- /dev/null +++ b/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/003.json @@ -0,0 +1,18 @@ +{ + "input": { + "animation": 1, + "decimal": 1, + "format": 0, + "integer": 500, + "range": [ + 200, + 500 + ] + }, + "output": { + "values": "\n\n
Name <\/th> Value <\/th> <\/tr> <\/thead>
Integer <\/td> 500 <\/td> <\/tr>\n
Decimal <\/td> 1 <\/td> <\/tr>\n
Range <\/td> 200 500 <\/td> <\/tr>\n
Custom Format <\/td> 0 <\/td> <\/tr>\n
Animation <\/td> 1 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/004.png b/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/004.png new file mode 100644 index 0000000000..643c08e485 Binary files /dev/null and b/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/004.png differ diff --git a/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/005.json b/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/005.json new file mode 100644 index 0000000000..7909b3b40c --- /dev/null +++ b/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/005.json @@ -0,0 +1,18 @@ +{ + "input": { + "animation": 1051, + "decimal": 1, + "format": 7500, + "integer": 500, + "range": [ + 200, + 1000 + ] + }, + "output": { + "values": "\n\n
Name <\/th> Value <\/th> <\/tr> <\/thead>
Integer <\/td> 500 <\/td> <\/tr>\n
Decimal <\/td> 1 <\/td> <\/tr>\n
Range <\/td> 200 1000 <\/td> <\/tr>\n
Custom Format <\/td> 7500 <\/td> <\/tr>\n
Animation <\/td> 1051 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/006.png b/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/006.png new file mode 100644 index 0000000000..a7346ae98f Binary files /dev/null and b/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/006.png differ diff --git a/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/007.json b/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/007.json new file mode 100644 index 0000000000..e3c1f51e1c --- /dev/null +++ b/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/007.json @@ -0,0 +1,18 @@ +{ + "input": { + "animation": 1051, + "decimal": 1, + "format": 0, + "integer": 500, + "range": [ + 200, + 1000 + ] + }, + "output": { + "values": "\n\n
Name <\/th> Value <\/th> <\/tr> <\/thead>
Integer <\/td> 500 <\/td> <\/tr>\n
Decimal <\/td> 1 <\/td> <\/tr>\n
Range <\/td> 200 1000 <\/td> <\/tr>\n
Custom Format <\/td> 0 <\/td> <\/tr>\n
Animation <\/td> 1051 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/008.png b/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/008.png new file mode 100644 index 0000000000..bb44145ad1 Binary files /dev/null and b/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/008.png differ diff --git a/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/009.json b/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/009.json new file mode 100644 index 0000000000..953575a4bb --- /dev/null +++ b/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/009.json @@ -0,0 +1,18 @@ +{ + "input": { + "animation": 1051, + "decimal": 0.3, + "format": 0, + "integer": 37, + "range": [ + 200, + 727 + ] + }, + "output": { + "values": "\n\n
Name <\/th> Value <\/th> <\/tr> <\/thead>
Integer <\/td> 37 <\/td> <\/tr>\n
Decimal <\/td> 0.3 <\/td> <\/tr>\n
Range <\/td> 200 727 <\/td> <\/tr>\n
Custom Format <\/td> 0 <\/td> <\/tr>\n
Animation <\/td> 1051 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/010.png b/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/010.png new file mode 100644 index 0000000000..00b9a11ac6 Binary files /dev/null and b/inst/apps/005-sliders/tests/testthat/_snaps/mac-4.4/mytest/010.png differ diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..1427a3c17b --- /dev/null +++ b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,46 @@ +{ + "input": { + "dist": "norm", + "n": 500 + }, + "output": { + "plot": { + "src": "[image data hash: 92116c6348a6e65afec07612f7b80350]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -3.78, + "right": 3.78, + "bottom": -4.6, + "top": 119.6 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..2393329677 Binary files /dev/null and b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/003.json b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/003.json new file mode 100644 index 0000000000..ad5f1ac88e --- /dev/null +++ b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/003.json @@ -0,0 +1,46 @@ +{ + "input": { + "dist": "unif", + "n": 500 + }, + "output": { + "plot": { + "src": "[image data hash: a28cefc8d76b7e667f6a4c801be6a7ef]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -0.04, + "right": 1.04, + "bottom": -2.4, + "top": 62.4 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/004.png b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/004.png new file mode 100644 index 0000000000..8c90026184 Binary files /dev/null and b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/004.png differ diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/005.json b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/005.json new file mode 100644 index 0000000000..9b2628068b --- /dev/null +++ b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/005.json @@ -0,0 +1,46 @@ +{ + "input": { + "dist": "lnorm", + "n": 500 + }, + "output": { + "plot": { + "src": "[image data hash: 93edeaead75c8b7aaabe2eb726303478]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -0.96, + "right": 24.96, + "bottom": -14.56, + "top": 378.56 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/006.png b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/006.png new file mode 100644 index 0000000000..ee8916c9cd Binary files /dev/null and b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/006.png differ diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/007.json b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/007.json new file mode 100644 index 0000000000..d0933059fa --- /dev/null +++ b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/007.json @@ -0,0 +1,46 @@ +{ + "input": { + "dist": "exp", + "n": 500 + }, + "output": { + "plot": { + "src": "[image data hash: e1bf29da117f513d69ee89718fe736ab]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -0.22, + "right": 5.72, + "bottom": -7.84, + "top": 203.84 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/008.png b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/008.png new file mode 100644 index 0000000000..821f22d955 Binary files /dev/null and b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/008.png differ diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/009.json b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/009.json new file mode 100644 index 0000000000..26666efbcc --- /dev/null +++ b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/009.json @@ -0,0 +1,46 @@ +{ + "input": { + "dist": "norm", + "n": 500 + }, + "output": { + "plot": { + "src": "[image data hash: 524d106a20d826d44aea4d1871a001ed]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -3.26, + "right": 3.76, + "bottom": -4.12, + "top": 107.12 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/010.png b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/010.png new file mode 100644 index 0000000000..da4c54ada3 Binary files /dev/null and b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/010.png differ diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/011.json b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/011.json new file mode 100644 index 0000000000..c74749f60f --- /dev/null +++ b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/011.json @@ -0,0 +1,46 @@ +{ + "input": { + "dist": "norm", + "n": 1000 + }, + "output": { + "plot": { + "src": "[image data hash: 91f09c7055ec402ae8e1bcf01ad223c3]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -3.78, + "right": 3.78, + "bottom": -7.24, + "top": 188.24 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/012.png b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/012.png new file mode 100644 index 0000000000..8ae0b76597 Binary files /dev/null and b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/012.png differ diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/013.json b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/013.json new file mode 100644 index 0000000000..64950f8bba --- /dev/null +++ b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/013.json @@ -0,0 +1,46 @@ +{ + "input": { + "dist": "norm", + "n": 1 + }, + "output": { + "plot": { + "src": "[image data hash: fb3916aec878cbfb0f7390719ab8c5d9]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -1.02, + "right": -0.48, + "bottom": -0.04, + "top": 1.04 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/014.png b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/014.png new file mode 100644 index 0000000000..e71b9929c4 Binary files /dev/null and b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/014.png differ diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/015.json b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/015.json new file mode 100644 index 0000000000..6347aa23a5 --- /dev/null +++ b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/015.json @@ -0,0 +1,46 @@ +{ + "input": { + "dist": "norm", + "n": 511 + }, + "output": { + "plot": { + "src": "[image data hash: 3480317094e719992face33c1ffbe28f]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -3.24, + "right": 3.24, + "bottom": -3.88, + "top": 100.88 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/016.png b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/016.png new file mode 100644 index 0000000000..a9747cc37d Binary files /dev/null and b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/016.png differ diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/017.json b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/017.json new file mode 100644 index 0000000000..bedd15931c --- /dev/null +++ b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/017.json @@ -0,0 +1,46 @@ +{ + "input": { + "dist": "norm", + "n": 896 + }, + "output": { + "plot": { + "src": "[image data hash: 4c28a3d9cd0931627afab5730cee8998]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -3.76, + "right": 3.26, + "bottom": -7.68, + "top": 199.68 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/018.png b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/018.png new file mode 100644 index 0000000000..0875303589 Binary files /dev/null and b/inst/apps/006-tabsets/tests/testthat/_snaps/linux-4.4/mytest/018.png differ diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..53a86950b7 --- /dev/null +++ b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,46 @@ +{ + "input": { + "dist": "norm", + "n": 500 + }, + "output": { + "plot": { + "src": "[image data hash: e64239cfec3f4f1be1d0a24f7f5b4b1a]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -3.78, + "right": 3.78, + "bottom": -4.6, + "top": 119.6 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..f4a1361caf Binary files /dev/null and b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/003.json b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/003.json new file mode 100644 index 0000000000..592582494b --- /dev/null +++ b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/003.json @@ -0,0 +1,46 @@ +{ + "input": { + "dist": "unif", + "n": 500 + }, + "output": { + "plot": { + "src": "[image data hash: c24549bd074e92927eccf80e330f856d]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -0.04, + "right": 1.04, + "bottom": -2.4, + "top": 62.4 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/004.png b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/004.png new file mode 100644 index 0000000000..048ecfc943 Binary files /dev/null and b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/004.png differ diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/005.json b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/005.json new file mode 100644 index 0000000000..5f1d05ac5f --- /dev/null +++ b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/005.json @@ -0,0 +1,46 @@ +{ + "input": { + "dist": "lnorm", + "n": 500 + }, + "output": { + "plot": { + "src": "[image data hash: de663c2463dfa54f9c42b9442228eb4c]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -0.96, + "right": 24.96, + "bottom": -14.56, + "top": 378.56 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/006.png b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/006.png new file mode 100644 index 0000000000..a238d6fd3d Binary files /dev/null and b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/006.png differ diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/007.json b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/007.json new file mode 100644 index 0000000000..a169998a61 --- /dev/null +++ b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/007.json @@ -0,0 +1,46 @@ +{ + "input": { + "dist": "exp", + "n": 500 + }, + "output": { + "plot": { + "src": "[image data hash: 235e8472c3f142bc0395575fed67bc89]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -0.22, + "right": 5.72, + "bottom": -7.84, + "top": 203.84 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/008.png b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/008.png new file mode 100644 index 0000000000..5637008c97 Binary files /dev/null and b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/008.png differ diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/009.json b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/009.json new file mode 100644 index 0000000000..8c8fff75a6 --- /dev/null +++ b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/009.json @@ -0,0 +1,46 @@ +{ + "input": { + "dist": "norm", + "n": 500 + }, + "output": { + "plot": { + "src": "[image data hash: 6a6fa70bd79dad305368fefd26d54cf4]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -3.26, + "right": 3.76, + "bottom": -4.12, + "top": 107.12 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/010.png b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/010.png new file mode 100644 index 0000000000..2e139b121e Binary files /dev/null and b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/010.png differ diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/011.json b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/011.json new file mode 100644 index 0000000000..47e1011e4f --- /dev/null +++ b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/011.json @@ -0,0 +1,46 @@ +{ + "input": { + "dist": "norm", + "n": 1000 + }, + "output": { + "plot": { + "src": "[image data hash: 949d12c15b3423b6bfcbbcbbd5c8edd6]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -3.78, + "right": 3.78, + "bottom": -7.24, + "top": 188.24 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/012.png b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/012.png new file mode 100644 index 0000000000..cb349a4a6d Binary files /dev/null and b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/012.png differ diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/013.json b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/013.json new file mode 100644 index 0000000000..9fcdf84940 --- /dev/null +++ b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/013.json @@ -0,0 +1,46 @@ +{ + "input": { + "dist": "norm", + "n": 1 + }, + "output": { + "plot": { + "src": "[image data hash: f99d016bb3a539253ea7d4a60ec4ffaf]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -1.02, + "right": -0.48, + "bottom": -0.04, + "top": 1.04 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/014.png b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/014.png new file mode 100644 index 0000000000..967e6c00c3 Binary files /dev/null and b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/014.png differ diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/015.json b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/015.json new file mode 100644 index 0000000000..de3140942d --- /dev/null +++ b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/015.json @@ -0,0 +1,46 @@ +{ + "input": { + "dist": "norm", + "n": 511 + }, + "output": { + "plot": { + "src": "[image data hash: 840ef76d75e34cc64c5eaf0565deb223]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -3.24, + "right": 3.24, + "bottom": -3.88, + "top": 100.88 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/016.png b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/016.png new file mode 100644 index 0000000000..479173ce92 Binary files /dev/null and b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/016.png differ diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/017.json b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/017.json new file mode 100644 index 0000000000..f6305985cd --- /dev/null +++ b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/017.json @@ -0,0 +1,46 @@ +{ + "input": { + "dist": "norm", + "n": 896 + }, + "output": { + "plot": { + "src": "[image data hash: 87d610dd32a42a8add46cacfc4709340]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -3.76, + "right": 3.26, + "bottom": -7.68, + "top": 199.68 + }, + "range": { + "left": 59.0707, + "right": 601.0724, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/018.png b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/018.png new file mode 100644 index 0000000000..b4db767ece Binary files /dev/null and b/inst/apps/006-tabsets/tests/testthat/_snaps/mac-4.4/mytest/018.png differ diff --git a/inst/apps/007-widgets/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/007-widgets/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..88a04f2133 --- /dev/null +++ b/inst/apps/007-widgets/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,14 @@ +{ + "input": { + "dataset": "rock", + "obs": 10, + "update": 0 + }, + "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": "\n\n
area <\/th> peri <\/th> shape <\/th> perm <\/th> <\/tr> <\/thead>
4990 <\/td> 2791.90 <\/td> 0.09 <\/td> 6.30 <\/td> <\/tr>\n
7002 <\/td> 3892.60 <\/td> 0.15 <\/td> 6.30 <\/td> <\/tr>\n
7558 <\/td> 3930.66 <\/td> 0.18 <\/td> 6.30 <\/td> <\/tr>\n
7352 <\/td> 3869.32 <\/td> 0.12 <\/td> 6.30 <\/td> <\/tr>\n
7943 <\/td> 3948.54 <\/td> 0.12 <\/td> 17.10 <\/td> <\/tr>\n
7979 <\/td> 4010.15 <\/td> 0.17 <\/td> 17.10 <\/td> <\/tr>\n
9333 <\/td> 4345.75 <\/td> 0.19 <\/td> 17.10 <\/td> <\/tr>\n
8209 <\/td> 4344.75 <\/td> 0.16 <\/td> 17.10 <\/td> <\/tr>\n
8393 <\/td> 3682.04 <\/td> 0.20 <\/td> 119.00 <\/td> <\/tr>\n
6425 <\/td> 3098.65 <\/td> 0.16 <\/td> 119.00 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/007-widgets/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/007-widgets/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..3356e9188e Binary files /dev/null and b/inst/apps/007-widgets/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/007-widgets/tests/testthat/_snaps/linux-4.4/mytest/003.json b/inst/apps/007-widgets/tests/testthat/_snaps/linux-4.4/mytest/003.json new file mode 100644 index 0000000000..546210e469 --- /dev/null +++ b/inst/apps/007-widgets/tests/testthat/_snaps/linux-4.4/mytest/003.json @@ -0,0 +1,14 @@ +{ + "input": { + "dataset": "pressure", + "obs": 10, + "update": 1 + }, + "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": "\n\n
temperature <\/th> pressure <\/th> <\/tr> <\/thead>
0.00 <\/td> 0.00 <\/td> <\/tr>\n
20.00 <\/td> 0.00 <\/td> <\/tr>\n
40.00 <\/td> 0.01 <\/td> <\/tr>\n
60.00 <\/td> 0.03 <\/td> <\/tr>\n
80.00 <\/td> 0.09 <\/td> <\/tr>\n
100.00 <\/td> 0.27 <\/td> <\/tr>\n
120.00 <\/td> 0.75 <\/td> <\/tr>\n
140.00 <\/td> 1.85 <\/td> <\/tr>\n
160.00 <\/td> 4.20 <\/td> <\/tr>\n
180.00 <\/td> 8.80 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/007-widgets/tests/testthat/_snaps/linux-4.4/mytest/004.png b/inst/apps/007-widgets/tests/testthat/_snaps/linux-4.4/mytest/004.png new file mode 100644 index 0000000000..18ef27c760 Binary files /dev/null and b/inst/apps/007-widgets/tests/testthat/_snaps/linux-4.4/mytest/004.png differ diff --git a/inst/apps/007-widgets/tests/testthat/_snaps/linux-4.4/mytest/005.json b/inst/apps/007-widgets/tests/testthat/_snaps/linux-4.4/mytest/005.json new file mode 100644 index 0000000000..7eff270bc7 --- /dev/null +++ b/inst/apps/007-widgets/tests/testthat/_snaps/linux-4.4/mytest/005.json @@ -0,0 +1,14 @@ +{ + "input": { + "dataset": "cars", + "obs": 10, + "update": 1 + }, + "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": "\n\n
temperature <\/th> pressure <\/th> <\/tr> <\/thead>
0.00 <\/td> 0.00 <\/td> <\/tr>\n
20.00 <\/td> 0.00 <\/td> <\/tr>\n
40.00 <\/td> 0.01 <\/td> <\/tr>\n
60.00 <\/td> 0.03 <\/td> <\/tr>\n
80.00 <\/td> 0.09 <\/td> <\/tr>\n
100.00 <\/td> 0.27 <\/td> <\/tr>\n
120.00 <\/td> 0.75 <\/td> <\/tr>\n
140.00 <\/td> 1.85 <\/td> <\/tr>\n
160.00 <\/td> 4.20 <\/td> <\/tr>\n
180.00 <\/td> 8.80 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/007-widgets/tests/testthat/_snaps/linux-4.4/mytest/006.png b/inst/apps/007-widgets/tests/testthat/_snaps/linux-4.4/mytest/006.png new file mode 100644 index 0000000000..0f7a7ad2ab Binary files /dev/null and b/inst/apps/007-widgets/tests/testthat/_snaps/linux-4.4/mytest/006.png differ diff --git a/inst/apps/007-widgets/tests/testthat/_snaps/linux-4.4/mytest/007.json b/inst/apps/007-widgets/tests/testthat/_snaps/linux-4.4/mytest/007.json new file mode 100644 index 0000000000..3eec9d4a7b --- /dev/null +++ b/inst/apps/007-widgets/tests/testthat/_snaps/linux-4.4/mytest/007.json @@ -0,0 +1,14 @@ +{ + "input": { + "dataset": "pressure", + "obs": 0, + "update": 4 + }, + "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": "\n\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/007-widgets/tests/testthat/_snaps/linux-4.4/mytest/008.png b/inst/apps/007-widgets/tests/testthat/_snaps/linux-4.4/mytest/008.png new file mode 100644 index 0000000000..1e7ecc01d3 Binary files /dev/null and b/inst/apps/007-widgets/tests/testthat/_snaps/linux-4.4/mytest/008.png differ diff --git a/inst/apps/007-widgets/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/007-widgets/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..88a04f2133 --- /dev/null +++ b/inst/apps/007-widgets/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,14 @@ +{ + "input": { + "dataset": "rock", + "obs": 10, + "update": 0 + }, + "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": "
temperature <\/th> pressure <\/th> <\/tr> <\/thead>
\n\n
area <\/th> peri <\/th> shape <\/th> perm <\/th> <\/tr> <\/thead>
4990 <\/td> 2791.90 <\/td> 0.09 <\/td> 6.30 <\/td> <\/tr>\n
7002 <\/td> 3892.60 <\/td> 0.15 <\/td> 6.30 <\/td> <\/tr>\n
7558 <\/td> 3930.66 <\/td> 0.18 <\/td> 6.30 <\/td> <\/tr>\n
7352 <\/td> 3869.32 <\/td> 0.12 <\/td> 6.30 <\/td> <\/tr>\n
7943 <\/td> 3948.54 <\/td> 0.12 <\/td> 17.10 <\/td> <\/tr>\n
7979 <\/td> 4010.15 <\/td> 0.17 <\/td> 17.10 <\/td> <\/tr>\n
9333 <\/td> 4345.75 <\/td> 0.19 <\/td> 17.10 <\/td> <\/tr>\n
8209 <\/td> 4344.75 <\/td> 0.16 <\/td> 17.10 <\/td> <\/tr>\n
8393 <\/td> 3682.04 <\/td> 0.20 <\/td> 119.00 <\/td> <\/tr>\n
6425 <\/td> 3098.65 <\/td> 0.16 <\/td> 119.00 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/007-widgets/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/007-widgets/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..3070a1b986 Binary files /dev/null and b/inst/apps/007-widgets/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/007-widgets/tests/testthat/_snaps/mac-4.4/mytest/003.json b/inst/apps/007-widgets/tests/testthat/_snaps/mac-4.4/mytest/003.json new file mode 100644 index 0000000000..546210e469 --- /dev/null +++ b/inst/apps/007-widgets/tests/testthat/_snaps/mac-4.4/mytest/003.json @@ -0,0 +1,14 @@ +{ + "input": { + "dataset": "pressure", + "obs": 10, + "update": 1 + }, + "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": "\n\n
temperature <\/th> pressure <\/th> <\/tr> <\/thead>
0.00 <\/td> 0.00 <\/td> <\/tr>\n
20.00 <\/td> 0.00 <\/td> <\/tr>\n
40.00 <\/td> 0.01 <\/td> <\/tr>\n
60.00 <\/td> 0.03 <\/td> <\/tr>\n
80.00 <\/td> 0.09 <\/td> <\/tr>\n
100.00 <\/td> 0.27 <\/td> <\/tr>\n
120.00 <\/td> 0.75 <\/td> <\/tr>\n
140.00 <\/td> 1.85 <\/td> <\/tr>\n
160.00 <\/td> 4.20 <\/td> <\/tr>\n
180.00 <\/td> 8.80 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/007-widgets/tests/testthat/_snaps/mac-4.4/mytest/004.png b/inst/apps/007-widgets/tests/testthat/_snaps/mac-4.4/mytest/004.png new file mode 100644 index 0000000000..276c9056c1 Binary files /dev/null and b/inst/apps/007-widgets/tests/testthat/_snaps/mac-4.4/mytest/004.png differ diff --git a/inst/apps/007-widgets/tests/testthat/_snaps/mac-4.4/mytest/005.json b/inst/apps/007-widgets/tests/testthat/_snaps/mac-4.4/mytest/005.json new file mode 100644 index 0000000000..7eff270bc7 --- /dev/null +++ b/inst/apps/007-widgets/tests/testthat/_snaps/mac-4.4/mytest/005.json @@ -0,0 +1,14 @@ +{ + "input": { + "dataset": "cars", + "obs": 10, + "update": 1 + }, + "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": "\n\n
temperature <\/th> pressure <\/th> <\/tr> <\/thead>
0.00 <\/td> 0.00 <\/td> <\/tr>\n
20.00 <\/td> 0.00 <\/td> <\/tr>\n
40.00 <\/td> 0.01 <\/td> <\/tr>\n
60.00 <\/td> 0.03 <\/td> <\/tr>\n
80.00 <\/td> 0.09 <\/td> <\/tr>\n
100.00 <\/td> 0.27 <\/td> <\/tr>\n
120.00 <\/td> 0.75 <\/td> <\/tr>\n
140.00 <\/td> 1.85 <\/td> <\/tr>\n
160.00 <\/td> 4.20 <\/td> <\/tr>\n
180.00 <\/td> 8.80 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/007-widgets/tests/testthat/_snaps/mac-4.4/mytest/006.png b/inst/apps/007-widgets/tests/testthat/_snaps/mac-4.4/mytest/006.png new file mode 100644 index 0000000000..b9e39fd6eb Binary files /dev/null and b/inst/apps/007-widgets/tests/testthat/_snaps/mac-4.4/mytest/006.png differ diff --git a/inst/apps/007-widgets/tests/testthat/_snaps/mac-4.4/mytest/007.json b/inst/apps/007-widgets/tests/testthat/_snaps/mac-4.4/mytest/007.json new file mode 100644 index 0000000000..3eec9d4a7b --- /dev/null +++ b/inst/apps/007-widgets/tests/testthat/_snaps/mac-4.4/mytest/007.json @@ -0,0 +1,14 @@ +{ + "input": { + "dataset": "pressure", + "obs": 0, + "update": 4 + }, + "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": "\n\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/007-widgets/tests/testthat/_snaps/mac-4.4/mytest/008.png b/inst/apps/007-widgets/tests/testthat/_snaps/mac-4.4/mytest/008.png new file mode 100644 index 0000000000..336f478adc Binary files /dev/null and b/inst/apps/007-widgets/tests/testthat/_snaps/mac-4.4/mytest/008.png differ diff --git a/inst/apps/008-html/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/008-html/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..645510e88d --- /dev/null +++ b/inst/apps/008-html/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,48 @@ +{ + "input": { + "dist": "norm", + "n": 500 + }, + "output": { + "plot": { + "src": "[image data hash: b1cdd68b8bb07527c909a90398f185b9]", + "width": 976, + "height": 300, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -3.78, + "right": 3.78, + "bottom": -4.6, + "top": 119.6 + }, + "range": { + "left": 59.04, + "right": 945.76, + "bottom": 225.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 976, + "height": 300 + } + } + }, + "summary": " Min. 1st Qu. Median Mean 3rd Qu. Max. \n-3.32078 -0.60584 -0.06009 -0.03761 0.63328 3.30415 ", + "table": "
temperature <\/th> pressure <\/th> <\/tr> <\/thead>
\n\n
x <\/th> <\/tr> <\/thead>
-0.50 <\/td> <\/tr>\n
0.13 <\/td> <\/tr>\n
-0.08 <\/td> <\/tr>\n
0.89 <\/td> <\/tr>\n
0.12 <\/td> <\/tr>\n
0.32 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/008-html/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/008-html/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..dbbba3d8ce Binary files /dev/null and b/inst/apps/008-html/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/008-html/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/008-html/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..dec9d901ed --- /dev/null +++ b/inst/apps/008-html/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,48 @@ +{ + "input": { + "dist": "norm", + "n": 500 + }, + "output": { + "plot": { + "src": "[image data hash: 785cabf74ce9096e6c7da1d5d06f60fa]", + "width": 976, + "height": 300, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -3.78, + "right": 3.78, + "bottom": -4.6, + "top": 119.6 + }, + "range": { + "left": 59.04, + "right": 945.76, + "bottom": 225.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 976, + "height": 300 + } + } + }, + "summary": " Min. 1st Qu. Median Mean 3rd Qu. Max. \n-3.32078 -0.60584 -0.06009 -0.03761 0.63328 3.30415 ", + "table": "\n\n
x <\/th> <\/tr> <\/thead>
-0.50 <\/td> <\/tr>\n
0.13 <\/td> <\/tr>\n
-0.08 <\/td> <\/tr>\n
0.89 <\/td> <\/tr>\n
0.12 <\/td> <\/tr>\n
0.32 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/008-html/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/008-html/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..b6611dcf7f Binary files /dev/null and b/inst/apps/008-html/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/009-upload/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/009-upload/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..39b8b0611f --- /dev/null +++ b/inst/apps/009-upload/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,28 @@ +{ + "input": { + "disp": "head", + "file1": { + "name": [ + "Rock.csv" + ], + "size": [ + 1296 + ], + "type": [ + "text/csv" + ], + "datapath": [ + "0.csv" + ] + }, + "header": true, + "quote": "\"", + "sep": "," + }, + "output": { + "contents": "\n\n
area <\/th> peri <\/th> shape <\/th> perm <\/th> <\/tr> <\/thead>
4990 <\/td> 2791.90 <\/td> 0.09 <\/td> 6.30 <\/td> <\/tr>\n
7002 <\/td> 3892.60 <\/td> 0.15 <\/td> 6.30 <\/td> <\/tr>\n
7558 <\/td> 3930.66 <\/td> 0.18 <\/td> 6.30 <\/td> <\/tr>\n
7352 <\/td> 3869.32 <\/td> 0.12 <\/td> 6.30 <\/td> <\/tr>\n
7943 <\/td> 3948.54 <\/td> 0.12 <\/td> 17.10 <\/td> <\/tr>\n
7979 <\/td> 4010.15 <\/td> 0.17 <\/td> 17.10 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/009-upload/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/009-upload/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..ea46656c47 Binary files /dev/null and b/inst/apps/009-upload/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/009-upload/tests/testthat/_snaps/linux-4.4/mytest/003.json b/inst/apps/009-upload/tests/testthat/_snaps/linux-4.4/mytest/003.json new file mode 100644 index 0000000000..e1e1f16239 --- /dev/null +++ b/inst/apps/009-upload/tests/testthat/_snaps/linux-4.4/mytest/003.json @@ -0,0 +1,28 @@ +{ + "input": { + "disp": "head", + "file1": { + "name": [ + "Rock.csv" + ], + "size": [ + 1296 + ], + "type": [ + "text/csv" + ], + "datapath": [ + "0.csv" + ] + }, + "header": true, + "quote": "", + "sep": "," + }, + "output": { + "contents": "\n\n
X.area. <\/th> X.peri. <\/th> X.shape. <\/th> X.perm. <\/th> <\/tr> <\/thead>
4990 <\/td> 2791.90 <\/td> 0.09 <\/td> 6.30 <\/td> <\/tr>\n
7002 <\/td> 3892.60 <\/td> 0.15 <\/td> 6.30 <\/td> <\/tr>\n
7558 <\/td> 3930.66 <\/td> 0.18 <\/td> 6.30 <\/td> <\/tr>\n
7352 <\/td> 3869.32 <\/td> 0.12 <\/td> 6.30 <\/td> <\/tr>\n
7943 <\/td> 3948.54 <\/td> 0.12 <\/td> 17.10 <\/td> <\/tr>\n
7979 <\/td> 4010.15 <\/td> 0.17 <\/td> 17.10 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/009-upload/tests/testthat/_snaps/linux-4.4/mytest/004.png b/inst/apps/009-upload/tests/testthat/_snaps/linux-4.4/mytest/004.png new file mode 100644 index 0000000000..ba304c9c25 Binary files /dev/null and b/inst/apps/009-upload/tests/testthat/_snaps/linux-4.4/mytest/004.png differ diff --git a/inst/apps/009-upload/tests/testthat/_snaps/linux-4.4/mytest/005.json b/inst/apps/009-upload/tests/testthat/_snaps/linux-4.4/mytest/005.json new file mode 100644 index 0000000000..97b0694d15 --- /dev/null +++ b/inst/apps/009-upload/tests/testthat/_snaps/linux-4.4/mytest/005.json @@ -0,0 +1,28 @@ +{ + "input": { + "disp": "head", + "file1": { + "name": [ + "Rock.csv" + ], + "size": [ + 1296 + ], + "type": [ + "text/csv" + ], + "datapath": [ + "0.csv" + ] + }, + "header": true, + "quote": "'", + "sep": ";" + }, + "output": { + "contents": "\n\n
X.area...peri...shape...perm. <\/th> <\/tr> <\/thead>
4990,2791.9,0.0903296,6.3 <\/td> <\/tr>\n
7002,3892.6,0.148622,6.3 <\/td> <\/tr>\n
7558,3930.66,0.183312,6.3 <\/td> <\/tr>\n
7352,3869.32,0.117063,6.3 <\/td> <\/tr>\n
7943,3948.54,0.122417,17.1 <\/td> <\/tr>\n
7979,4010.15,0.167045,17.1 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/009-upload/tests/testthat/_snaps/linux-4.4/mytest/006.png b/inst/apps/009-upload/tests/testthat/_snaps/linux-4.4/mytest/006.png new file mode 100644 index 0000000000..b79447648c Binary files /dev/null and b/inst/apps/009-upload/tests/testthat/_snaps/linux-4.4/mytest/006.png differ diff --git a/inst/apps/009-upload/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/009-upload/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..39b8b0611f --- /dev/null +++ b/inst/apps/009-upload/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,28 @@ +{ + "input": { + "disp": "head", + "file1": { + "name": [ + "Rock.csv" + ], + "size": [ + 1296 + ], + "type": [ + "text/csv" + ], + "datapath": [ + "0.csv" + ] + }, + "header": true, + "quote": "\"", + "sep": "," + }, + "output": { + "contents": "\n\n
area <\/th> peri <\/th> shape <\/th> perm <\/th> <\/tr> <\/thead>
4990 <\/td> 2791.90 <\/td> 0.09 <\/td> 6.30 <\/td> <\/tr>\n
7002 <\/td> 3892.60 <\/td> 0.15 <\/td> 6.30 <\/td> <\/tr>\n
7558 <\/td> 3930.66 <\/td> 0.18 <\/td> 6.30 <\/td> <\/tr>\n
7352 <\/td> 3869.32 <\/td> 0.12 <\/td> 6.30 <\/td> <\/tr>\n
7943 <\/td> 3948.54 <\/td> 0.12 <\/td> 17.10 <\/td> <\/tr>\n
7979 <\/td> 4010.15 <\/td> 0.17 <\/td> 17.10 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/009-upload/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/009-upload/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..b6c64b9f63 Binary files /dev/null and b/inst/apps/009-upload/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/009-upload/tests/testthat/_snaps/mac-4.4/mytest/003.json b/inst/apps/009-upload/tests/testthat/_snaps/mac-4.4/mytest/003.json new file mode 100644 index 0000000000..e1e1f16239 --- /dev/null +++ b/inst/apps/009-upload/tests/testthat/_snaps/mac-4.4/mytest/003.json @@ -0,0 +1,28 @@ +{ + "input": { + "disp": "head", + "file1": { + "name": [ + "Rock.csv" + ], + "size": [ + 1296 + ], + "type": [ + "text/csv" + ], + "datapath": [ + "0.csv" + ] + }, + "header": true, + "quote": "", + "sep": "," + }, + "output": { + "contents": "\n\n
X.area. <\/th> X.peri. <\/th> X.shape. <\/th> X.perm. <\/th> <\/tr> <\/thead>
4990 <\/td> 2791.90 <\/td> 0.09 <\/td> 6.30 <\/td> <\/tr>\n
7002 <\/td> 3892.60 <\/td> 0.15 <\/td> 6.30 <\/td> <\/tr>\n
7558 <\/td> 3930.66 <\/td> 0.18 <\/td> 6.30 <\/td> <\/tr>\n
7352 <\/td> 3869.32 <\/td> 0.12 <\/td> 6.30 <\/td> <\/tr>\n
7943 <\/td> 3948.54 <\/td> 0.12 <\/td> 17.10 <\/td> <\/tr>\n
7979 <\/td> 4010.15 <\/td> 0.17 <\/td> 17.10 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/009-upload/tests/testthat/_snaps/mac-4.4/mytest/004.png b/inst/apps/009-upload/tests/testthat/_snaps/mac-4.4/mytest/004.png new file mode 100644 index 0000000000..9e498e3331 Binary files /dev/null and b/inst/apps/009-upload/tests/testthat/_snaps/mac-4.4/mytest/004.png differ diff --git a/inst/apps/009-upload/tests/testthat/_snaps/mac-4.4/mytest/005.json b/inst/apps/009-upload/tests/testthat/_snaps/mac-4.4/mytest/005.json new file mode 100644 index 0000000000..97b0694d15 --- /dev/null +++ b/inst/apps/009-upload/tests/testthat/_snaps/mac-4.4/mytest/005.json @@ -0,0 +1,28 @@ +{ + "input": { + "disp": "head", + "file1": { + "name": [ + "Rock.csv" + ], + "size": [ + 1296 + ], + "type": [ + "text/csv" + ], + "datapath": [ + "0.csv" + ] + }, + "header": true, + "quote": "'", + "sep": ";" + }, + "output": { + "contents": "\n\n
X.area...peri...shape...perm. <\/th> <\/tr> <\/thead>
4990,2791.9,0.0903296,6.3 <\/td> <\/tr>\n
7002,3892.6,0.148622,6.3 <\/td> <\/tr>\n
7558,3930.66,0.183312,6.3 <\/td> <\/tr>\n
7352,3869.32,0.117063,6.3 <\/td> <\/tr>\n
7943,3948.54,0.122417,17.1 <\/td> <\/tr>\n
7979,4010.15,0.167045,17.1 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/009-upload/tests/testthat/_snaps/mac-4.4/mytest/006.png b/inst/apps/009-upload/tests/testthat/_snaps/mac-4.4/mytest/006.png new file mode 100644 index 0000000000..bd35b91033 Binary files /dev/null and b/inst/apps/009-upload/tests/testthat/_snaps/mac-4.4/mytest/006.png differ diff --git a/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest.md b/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest.md new file mode 100644 index 0000000000..5d53f09762 --- /dev/null +++ b/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest.md @@ -0,0 +1,8 @@ +# Migrated shinytest test: mytest.R + + "cars.csv" + +--- + + "pressure.csv" + diff --git a/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..b7dad7897b --- /dev/null +++ b/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,11 @@ +{ + "input": { + "dataset": "rock" + }, + "output": { + "table": "\n\n
area <\/th> peri <\/th> shape <\/th> perm <\/th> <\/tr> <\/thead>
4990 <\/td> 2791.90 <\/td> 0.09 <\/td> 6.30 <\/td> <\/tr>\n
7002 <\/td> 3892.60 <\/td> 0.15 <\/td> 6.30 <\/td> <\/tr>\n
7558 <\/td> 3930.66 <\/td> 0.18 <\/td> 6.30 <\/td> <\/tr>\n
7352 <\/td> 3869.32 <\/td> 0.12 <\/td> 6.30 <\/td> <\/tr>\n
7943 <\/td> 3948.54 <\/td> 0.12 <\/td> 17.10 <\/td> <\/tr>\n
7979 <\/td> 4010.15 <\/td> 0.17 <\/td> 17.10 <\/td> <\/tr>\n
9333 <\/td> 4345.75 <\/td> 0.19 <\/td> 17.10 <\/td> <\/tr>\n
8209 <\/td> 4344.75 <\/td> 0.16 <\/td> 17.10 <\/td> <\/tr>\n
8393 <\/td> 3682.04 <\/td> 0.20 <\/td> 119.00 <\/td> <\/tr>\n
6425 <\/td> 3098.65 <\/td> 0.16 <\/td> 119.00 <\/td> <\/tr>\n
9364 <\/td> 4480.05 <\/td> 0.15 <\/td> 119.00 <\/td> <\/tr>\n
8624 <\/td> 3986.24 <\/td> 0.15 <\/td> 119.00 <\/td> <\/tr>\n
10651 <\/td> 4036.54 <\/td> 0.23 <\/td> 82.40 <\/td> <\/tr>\n
8868 <\/td> 3518.04 <\/td> 0.23 <\/td> 82.40 <\/td> <\/tr>\n
9417 <\/td> 3999.37 <\/td> 0.17 <\/td> 82.40 <\/td> <\/tr>\n
8874 <\/td> 3629.07 <\/td> 0.15 <\/td> 82.40 <\/td> <\/tr>\n
10962 <\/td> 4608.66 <\/td> 0.20 <\/td> 58.60 <\/td> <\/tr>\n
10743 <\/td> 4787.62 <\/td> 0.26 <\/td> 58.60 <\/td> <\/tr>\n
11878 <\/td> 4864.22 <\/td> 0.20 <\/td> 58.60 <\/td> <\/tr>\n
9867 <\/td> 4479.41 <\/td> 0.14 <\/td> 58.60 <\/td> <\/tr>\n
7838 <\/td> 3428.74 <\/td> 0.11 <\/td> 142.00 <\/td> <\/tr>\n
11876 <\/td> 4353.14 <\/td> 0.29 <\/td> 142.00 <\/td> <\/tr>\n
12212 <\/td> 4697.65 <\/td> 0.24 <\/td> 142.00 <\/td> <\/tr>\n
8233 <\/td> 3518.44 <\/td> 0.16 <\/td> 142.00 <\/td> <\/tr>\n
6360 <\/td> 1977.39 <\/td> 0.28 <\/td> 740.00 <\/td> <\/tr>\n
4193 <\/td> 1379.35 <\/td> 0.18 <\/td> 740.00 <\/td> <\/tr>\n
7416 <\/td> 1916.24 <\/td> 0.19 <\/td> 740.00 <\/td> <\/tr>\n
5246 <\/td> 1585.42 <\/td> 0.13 <\/td> 740.00 <\/td> <\/tr>\n
6509 <\/td> 1851.21 <\/td> 0.23 <\/td> 890.00 <\/td> <\/tr>\n
4895 <\/td> 1239.66 <\/td> 0.34 <\/td> 890.00 <\/td> <\/tr>\n
6775 <\/td> 1728.14 <\/td> 0.31 <\/td> 890.00 <\/td> <\/tr>\n
7894 <\/td> 1461.06 <\/td> 0.28 <\/td> 890.00 <\/td> <\/tr>\n
5980 <\/td> 1426.76 <\/td> 0.20 <\/td> 950.00 <\/td> <\/tr>\n
5318 <\/td> 990.39 <\/td> 0.33 <\/td> 950.00 <\/td> <\/tr>\n
7392 <\/td> 1350.76 <\/td> 0.15 <\/td> 950.00 <\/td> <\/tr>\n
7894 <\/td> 1461.06 <\/td> 0.28 <\/td> 950.00 <\/td> <\/tr>\n
3469 <\/td> 1376.70 <\/td> 0.18 <\/td> 100.00 <\/td> <\/tr>\n
1468 <\/td> 476.32 <\/td> 0.44 <\/td> 100.00 <\/td> <\/tr>\n
3524 <\/td> 1189.46 <\/td> 0.16 <\/td> 100.00 <\/td> <\/tr>\n
5267 <\/td> 1644.96 <\/td> 0.25 <\/td> 100.00 <\/td> <\/tr>\n
5048 <\/td> 941.54 <\/td> 0.33 <\/td> 1300.00 <\/td> <\/tr>\n
1016 <\/td> 308.64 <\/td> 0.23 <\/td> 1300.00 <\/td> <\/tr>\n
5605 <\/td> 1145.69 <\/td> 0.46 <\/td> 1300.00 <\/td> <\/tr>\n
8793 <\/td> 2280.49 <\/td> 0.42 <\/td> 1300.00 <\/td> <\/tr>\n
3475 <\/td> 1174.11 <\/td> 0.20 <\/td> 580.00 <\/td> <\/tr>\n
1651 <\/td> 597.81 <\/td> 0.26 <\/td> 580.00 <\/td> <\/tr>\n
5514 <\/td> 1455.88 <\/td> 0.18 <\/td> 580.00 <\/td> <\/tr>\n
9718 <\/td> 1485.58 <\/td> 0.20 <\/td> 580.00 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..7f9a3fdef6 Binary files /dev/null and b/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest/003-cars.csv b/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest/003-cars.csv new file mode 100644 index 0000000000..5d0acdb9dc --- /dev/null +++ b/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest/003-cars.csv @@ -0,0 +1,51 @@ +"speed","dist" +4,2 +4,10 +7,4 +7,22 +8,16 +9,10 +10,18 +10,26 +10,34 +11,17 +11,28 +12,14 +12,20 +12,24 +12,28 +13,26 +13,34 +13,34 +13,46 +14,26 +14,36 +14,60 +14,80 +15,20 +15,26 +15,54 +16,32 +16,40 +17,32 +17,40 +17,50 +18,42 +18,56 +18,76 +18,84 +19,36 +19,46 +19,68 +20,32 +20,48 +20,52 +20,56 +20,64 +22,66 +23,54 +24,70 +24,92 +24,93 +24,120 +25,85 diff --git a/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest/004.json b/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest/004.json new file mode 100644 index 0000000000..befc362015 --- /dev/null +++ b/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest/004.json @@ -0,0 +1,11 @@ +{ + "input": { + "dataset": "cars" + }, + "output": { + "table": "\n\n
speed <\/th> dist <\/th> <\/tr> <\/thead>
4.00 <\/td> 2.00 <\/td> <\/tr>\n
4.00 <\/td> 10.00 <\/td> <\/tr>\n
7.00 <\/td> 4.00 <\/td> <\/tr>\n
7.00 <\/td> 22.00 <\/td> <\/tr>\n
8.00 <\/td> 16.00 <\/td> <\/tr>\n
9.00 <\/td> 10.00 <\/td> <\/tr>\n
10.00 <\/td> 18.00 <\/td> <\/tr>\n
10.00 <\/td> 26.00 <\/td> <\/tr>\n
10.00 <\/td> 34.00 <\/td> <\/tr>\n
11.00 <\/td> 17.00 <\/td> <\/tr>\n
11.00 <\/td> 28.00 <\/td> <\/tr>\n
12.00 <\/td> 14.00 <\/td> <\/tr>\n
12.00 <\/td> 20.00 <\/td> <\/tr>\n
12.00 <\/td> 24.00 <\/td> <\/tr>\n
12.00 <\/td> 28.00 <\/td> <\/tr>\n
13.00 <\/td> 26.00 <\/td> <\/tr>\n
13.00 <\/td> 34.00 <\/td> <\/tr>\n
13.00 <\/td> 34.00 <\/td> <\/tr>\n
13.00 <\/td> 46.00 <\/td> <\/tr>\n
14.00 <\/td> 26.00 <\/td> <\/tr>\n
14.00 <\/td> 36.00 <\/td> <\/tr>\n
14.00 <\/td> 60.00 <\/td> <\/tr>\n
14.00 <\/td> 80.00 <\/td> <\/tr>\n
15.00 <\/td> 20.00 <\/td> <\/tr>\n
15.00 <\/td> 26.00 <\/td> <\/tr>\n
15.00 <\/td> 54.00 <\/td> <\/tr>\n
16.00 <\/td> 32.00 <\/td> <\/tr>\n
16.00 <\/td> 40.00 <\/td> <\/tr>\n
17.00 <\/td> 32.00 <\/td> <\/tr>\n
17.00 <\/td> 40.00 <\/td> <\/tr>\n
17.00 <\/td> 50.00 <\/td> <\/tr>\n
18.00 <\/td> 42.00 <\/td> <\/tr>\n
18.00 <\/td> 56.00 <\/td> <\/tr>\n
18.00 <\/td> 76.00 <\/td> <\/tr>\n
18.00 <\/td> 84.00 <\/td> <\/tr>\n
19.00 <\/td> 36.00 <\/td> <\/tr>\n
19.00 <\/td> 46.00 <\/td> <\/tr>\n
19.00 <\/td> 68.00 <\/td> <\/tr>\n
20.00 <\/td> 32.00 <\/td> <\/tr>\n
20.00 <\/td> 48.00 <\/td> <\/tr>\n
20.00 <\/td> 52.00 <\/td> <\/tr>\n
20.00 <\/td> 56.00 <\/td> <\/tr>\n
20.00 <\/td> 64.00 <\/td> <\/tr>\n
22.00 <\/td> 66.00 <\/td> <\/tr>\n
23.00 <\/td> 54.00 <\/td> <\/tr>\n
24.00 <\/td> 70.00 <\/td> <\/tr>\n
24.00 <\/td> 92.00 <\/td> <\/tr>\n
24.00 <\/td> 93.00 <\/td> <\/tr>\n
24.00 <\/td> 120.00 <\/td> <\/tr>\n
25.00 <\/td> 85.00 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest/005.png b/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest/005.png new file mode 100644 index 0000000000..d0f33be04f Binary files /dev/null and b/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest/005.png differ diff --git a/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest/006.json b/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest/006.json new file mode 100644 index 0000000000..d20d14eb4d --- /dev/null +++ b/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest/006.json @@ -0,0 +1,11 @@ +{ + "input": { + "dataset": "pressure" + }, + "output": { + "table": "\n\n
temperature <\/th> pressure <\/th> <\/tr> <\/thead>
0.00 <\/td> 0.00 <\/td> <\/tr>\n
20.00 <\/td> 0.00 <\/td> <\/tr>\n
40.00 <\/td> 0.01 <\/td> <\/tr>\n
60.00 <\/td> 0.03 <\/td> <\/tr>\n
80.00 <\/td> 0.09 <\/td> <\/tr>\n
100.00 <\/td> 0.27 <\/td> <\/tr>\n
120.00 <\/td> 0.75 <\/td> <\/tr>\n
140.00 <\/td> 1.85 <\/td> <\/tr>\n
160.00 <\/td> 4.20 <\/td> <\/tr>\n
180.00 <\/td> 8.80 <\/td> <\/tr>\n
200.00 <\/td> 17.30 <\/td> <\/tr>\n
220.00 <\/td> 32.10 <\/td> <\/tr>\n
240.00 <\/td> 57.00 <\/td> <\/tr>\n
260.00 <\/td> 96.00 <\/td> <\/tr>\n
280.00 <\/td> 157.00 <\/td> <\/tr>\n
300.00 <\/td> 247.00 <\/td> <\/tr>\n
320.00 <\/td> 376.00 <\/td> <\/tr>\n
340.00 <\/td> 558.00 <\/td> <\/tr>\n
360.00 <\/td> 806.00 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest/007.png b/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest/007.png new file mode 100644 index 0000000000..0cdb20a645 Binary files /dev/null and b/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest/007.png differ diff --git a/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest/008-pressure.csv b/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest/008-pressure.csv new file mode 100644 index 0000000000..2a6bb442dc --- /dev/null +++ b/inst/apps/010-download/tests/testthat/_snaps/linux-4.4/mytest/008-pressure.csv @@ -0,0 +1,20 @@ +"temperature","pressure" +0,2e-04 +20,0.0012 +40,0.006 +60,0.03 +80,0.09 +100,0.27 +120,0.75 +140,1.85 +160,4.2 +180,8.8 +200,17.3 +220,32.1 +240,57 +260,96 +280,157 +300,247 +320,376 +340,558 +360,806 diff --git a/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest.md b/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest.md new file mode 100644 index 0000000000..5d53f09762 --- /dev/null +++ b/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest.md @@ -0,0 +1,8 @@ +# Migrated shinytest test: mytest.R + + "cars.csv" + +--- + + "pressure.csv" + diff --git a/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..b7dad7897b --- /dev/null +++ b/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,11 @@ +{ + "input": { + "dataset": "rock" + }, + "output": { + "table": "\n\n
area <\/th> peri <\/th> shape <\/th> perm <\/th> <\/tr> <\/thead>
4990 <\/td> 2791.90 <\/td> 0.09 <\/td> 6.30 <\/td> <\/tr>\n
7002 <\/td> 3892.60 <\/td> 0.15 <\/td> 6.30 <\/td> <\/tr>\n
7558 <\/td> 3930.66 <\/td> 0.18 <\/td> 6.30 <\/td> <\/tr>\n
7352 <\/td> 3869.32 <\/td> 0.12 <\/td> 6.30 <\/td> <\/tr>\n
7943 <\/td> 3948.54 <\/td> 0.12 <\/td> 17.10 <\/td> <\/tr>\n
7979 <\/td> 4010.15 <\/td> 0.17 <\/td> 17.10 <\/td> <\/tr>\n
9333 <\/td> 4345.75 <\/td> 0.19 <\/td> 17.10 <\/td> <\/tr>\n
8209 <\/td> 4344.75 <\/td> 0.16 <\/td> 17.10 <\/td> <\/tr>\n
8393 <\/td> 3682.04 <\/td> 0.20 <\/td> 119.00 <\/td> <\/tr>\n
6425 <\/td> 3098.65 <\/td> 0.16 <\/td> 119.00 <\/td> <\/tr>\n
9364 <\/td> 4480.05 <\/td> 0.15 <\/td> 119.00 <\/td> <\/tr>\n
8624 <\/td> 3986.24 <\/td> 0.15 <\/td> 119.00 <\/td> <\/tr>\n
10651 <\/td> 4036.54 <\/td> 0.23 <\/td> 82.40 <\/td> <\/tr>\n
8868 <\/td> 3518.04 <\/td> 0.23 <\/td> 82.40 <\/td> <\/tr>\n
9417 <\/td> 3999.37 <\/td> 0.17 <\/td> 82.40 <\/td> <\/tr>\n
8874 <\/td> 3629.07 <\/td> 0.15 <\/td> 82.40 <\/td> <\/tr>\n
10962 <\/td> 4608.66 <\/td> 0.20 <\/td> 58.60 <\/td> <\/tr>\n
10743 <\/td> 4787.62 <\/td> 0.26 <\/td> 58.60 <\/td> <\/tr>\n
11878 <\/td> 4864.22 <\/td> 0.20 <\/td> 58.60 <\/td> <\/tr>\n
9867 <\/td> 4479.41 <\/td> 0.14 <\/td> 58.60 <\/td> <\/tr>\n
7838 <\/td> 3428.74 <\/td> 0.11 <\/td> 142.00 <\/td> <\/tr>\n
11876 <\/td> 4353.14 <\/td> 0.29 <\/td> 142.00 <\/td> <\/tr>\n
12212 <\/td> 4697.65 <\/td> 0.24 <\/td> 142.00 <\/td> <\/tr>\n
8233 <\/td> 3518.44 <\/td> 0.16 <\/td> 142.00 <\/td> <\/tr>\n
6360 <\/td> 1977.39 <\/td> 0.28 <\/td> 740.00 <\/td> <\/tr>\n
4193 <\/td> 1379.35 <\/td> 0.18 <\/td> 740.00 <\/td> <\/tr>\n
7416 <\/td> 1916.24 <\/td> 0.19 <\/td> 740.00 <\/td> <\/tr>\n
5246 <\/td> 1585.42 <\/td> 0.13 <\/td> 740.00 <\/td> <\/tr>\n
6509 <\/td> 1851.21 <\/td> 0.23 <\/td> 890.00 <\/td> <\/tr>\n
4895 <\/td> 1239.66 <\/td> 0.34 <\/td> 890.00 <\/td> <\/tr>\n
6775 <\/td> 1728.14 <\/td> 0.31 <\/td> 890.00 <\/td> <\/tr>\n
7894 <\/td> 1461.06 <\/td> 0.28 <\/td> 890.00 <\/td> <\/tr>\n
5980 <\/td> 1426.76 <\/td> 0.20 <\/td> 950.00 <\/td> <\/tr>\n
5318 <\/td> 990.39 <\/td> 0.33 <\/td> 950.00 <\/td> <\/tr>\n
7392 <\/td> 1350.76 <\/td> 0.15 <\/td> 950.00 <\/td> <\/tr>\n
7894 <\/td> 1461.06 <\/td> 0.28 <\/td> 950.00 <\/td> <\/tr>\n
3469 <\/td> 1376.70 <\/td> 0.18 <\/td> 100.00 <\/td> <\/tr>\n
1468 <\/td> 476.32 <\/td> 0.44 <\/td> 100.00 <\/td> <\/tr>\n
3524 <\/td> 1189.46 <\/td> 0.16 <\/td> 100.00 <\/td> <\/tr>\n
5267 <\/td> 1644.96 <\/td> 0.25 <\/td> 100.00 <\/td> <\/tr>\n
5048 <\/td> 941.54 <\/td> 0.33 <\/td> 1300.00 <\/td> <\/tr>\n
1016 <\/td> 308.64 <\/td> 0.23 <\/td> 1300.00 <\/td> <\/tr>\n
5605 <\/td> 1145.69 <\/td> 0.46 <\/td> 1300.00 <\/td> <\/tr>\n
8793 <\/td> 2280.49 <\/td> 0.42 <\/td> 1300.00 <\/td> <\/tr>\n
3475 <\/td> 1174.11 <\/td> 0.20 <\/td> 580.00 <\/td> <\/tr>\n
1651 <\/td> 597.81 <\/td> 0.26 <\/td> 580.00 <\/td> <\/tr>\n
5514 <\/td> 1455.88 <\/td> 0.18 <\/td> 580.00 <\/td> <\/tr>\n
9718 <\/td> 1485.58 <\/td> 0.20 <\/td> 580.00 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..bd46cacbdc Binary files /dev/null and b/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest/003-cars.csv b/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest/003-cars.csv new file mode 100644 index 0000000000..5d0acdb9dc --- /dev/null +++ b/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest/003-cars.csv @@ -0,0 +1,51 @@ +"speed","dist" +4,2 +4,10 +7,4 +7,22 +8,16 +9,10 +10,18 +10,26 +10,34 +11,17 +11,28 +12,14 +12,20 +12,24 +12,28 +13,26 +13,34 +13,34 +13,46 +14,26 +14,36 +14,60 +14,80 +15,20 +15,26 +15,54 +16,32 +16,40 +17,32 +17,40 +17,50 +18,42 +18,56 +18,76 +18,84 +19,36 +19,46 +19,68 +20,32 +20,48 +20,52 +20,56 +20,64 +22,66 +23,54 +24,70 +24,92 +24,93 +24,120 +25,85 diff --git a/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest/004.json b/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest/004.json new file mode 100644 index 0000000000..befc362015 --- /dev/null +++ b/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest/004.json @@ -0,0 +1,11 @@ +{ + "input": { + "dataset": "cars" + }, + "output": { + "table": "\n\n
speed <\/th> dist <\/th> <\/tr> <\/thead>
4.00 <\/td> 2.00 <\/td> <\/tr>\n
4.00 <\/td> 10.00 <\/td> <\/tr>\n
7.00 <\/td> 4.00 <\/td> <\/tr>\n
7.00 <\/td> 22.00 <\/td> <\/tr>\n
8.00 <\/td> 16.00 <\/td> <\/tr>\n
9.00 <\/td> 10.00 <\/td> <\/tr>\n
10.00 <\/td> 18.00 <\/td> <\/tr>\n
10.00 <\/td> 26.00 <\/td> <\/tr>\n
10.00 <\/td> 34.00 <\/td> <\/tr>\n
11.00 <\/td> 17.00 <\/td> <\/tr>\n
11.00 <\/td> 28.00 <\/td> <\/tr>\n
12.00 <\/td> 14.00 <\/td> <\/tr>\n
12.00 <\/td> 20.00 <\/td> <\/tr>\n
12.00 <\/td> 24.00 <\/td> <\/tr>\n
12.00 <\/td> 28.00 <\/td> <\/tr>\n
13.00 <\/td> 26.00 <\/td> <\/tr>\n
13.00 <\/td> 34.00 <\/td> <\/tr>\n
13.00 <\/td> 34.00 <\/td> <\/tr>\n
13.00 <\/td> 46.00 <\/td> <\/tr>\n
14.00 <\/td> 26.00 <\/td> <\/tr>\n
14.00 <\/td> 36.00 <\/td> <\/tr>\n
14.00 <\/td> 60.00 <\/td> <\/tr>\n
14.00 <\/td> 80.00 <\/td> <\/tr>\n
15.00 <\/td> 20.00 <\/td> <\/tr>\n
15.00 <\/td> 26.00 <\/td> <\/tr>\n
15.00 <\/td> 54.00 <\/td> <\/tr>\n
16.00 <\/td> 32.00 <\/td> <\/tr>\n
16.00 <\/td> 40.00 <\/td> <\/tr>\n
17.00 <\/td> 32.00 <\/td> <\/tr>\n
17.00 <\/td> 40.00 <\/td> <\/tr>\n
17.00 <\/td> 50.00 <\/td> <\/tr>\n
18.00 <\/td> 42.00 <\/td> <\/tr>\n
18.00 <\/td> 56.00 <\/td> <\/tr>\n
18.00 <\/td> 76.00 <\/td> <\/tr>\n
18.00 <\/td> 84.00 <\/td> <\/tr>\n
19.00 <\/td> 36.00 <\/td> <\/tr>\n
19.00 <\/td> 46.00 <\/td> <\/tr>\n
19.00 <\/td> 68.00 <\/td> <\/tr>\n
20.00 <\/td> 32.00 <\/td> <\/tr>\n
20.00 <\/td> 48.00 <\/td> <\/tr>\n
20.00 <\/td> 52.00 <\/td> <\/tr>\n
20.00 <\/td> 56.00 <\/td> <\/tr>\n
20.00 <\/td> 64.00 <\/td> <\/tr>\n
22.00 <\/td> 66.00 <\/td> <\/tr>\n
23.00 <\/td> 54.00 <\/td> <\/tr>\n
24.00 <\/td> 70.00 <\/td> <\/tr>\n
24.00 <\/td> 92.00 <\/td> <\/tr>\n
24.00 <\/td> 93.00 <\/td> <\/tr>\n
24.00 <\/td> 120.00 <\/td> <\/tr>\n
25.00 <\/td> 85.00 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest/005.png b/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest/005.png new file mode 100644 index 0000000000..fcb348cd28 Binary files /dev/null and b/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest/005.png differ diff --git a/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest/006.json b/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest/006.json new file mode 100644 index 0000000000..d20d14eb4d --- /dev/null +++ b/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest/006.json @@ -0,0 +1,11 @@ +{ + "input": { + "dataset": "pressure" + }, + "output": { + "table": "\n\n
temperature <\/th> pressure <\/th> <\/tr> <\/thead>
0.00 <\/td> 0.00 <\/td> <\/tr>\n
20.00 <\/td> 0.00 <\/td> <\/tr>\n
40.00 <\/td> 0.01 <\/td> <\/tr>\n
60.00 <\/td> 0.03 <\/td> <\/tr>\n
80.00 <\/td> 0.09 <\/td> <\/tr>\n
100.00 <\/td> 0.27 <\/td> <\/tr>\n
120.00 <\/td> 0.75 <\/td> <\/tr>\n
140.00 <\/td> 1.85 <\/td> <\/tr>\n
160.00 <\/td> 4.20 <\/td> <\/tr>\n
180.00 <\/td> 8.80 <\/td> <\/tr>\n
200.00 <\/td> 17.30 <\/td> <\/tr>\n
220.00 <\/td> 32.10 <\/td> <\/tr>\n
240.00 <\/td> 57.00 <\/td> <\/tr>\n
260.00 <\/td> 96.00 <\/td> <\/tr>\n
280.00 <\/td> 157.00 <\/td> <\/tr>\n
300.00 <\/td> 247.00 <\/td> <\/tr>\n
320.00 <\/td> 376.00 <\/td> <\/tr>\n
340.00 <\/td> 558.00 <\/td> <\/tr>\n
360.00 <\/td> 806.00 <\/td> <\/tr>\n <\/tbody> <\/table>" + }, + "export": { + + } +} diff --git a/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest/007.png b/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest/007.png new file mode 100644 index 0000000000..1c7c5fb1a0 Binary files /dev/null and b/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest/007.png differ diff --git a/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest/008-pressure.csv b/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest/008-pressure.csv new file mode 100644 index 0000000000..2a6bb442dc --- /dev/null +++ b/inst/apps/010-download/tests/testthat/_snaps/mac-4.4/mytest/008-pressure.csv @@ -0,0 +1,20 @@ +"temperature","pressure" +0,2e-04 +20,0.0012 +40,0.006 +60,0.03 +80,0.09 +100,0.27 +120,0.75 +140,1.85 +160,4.2 +180,8.8 +200,17.3 +220,32.1 +240,57 +260,96 +280,157 +300,247 +320,376 +340,558 +360,806 diff --git a/inst/apps/012-datatables/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/012-datatables/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..6ae88397a2 --- /dev/null +++ b/inst/apps/012-datatables/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,1298 @@ +{ + "input": { + "dataset": "diamonds", + "mytable1_cell_clicked": { + + }, + "mytable1_cells_selected": [ + + ], + "mytable1_columns_selected": null, + "mytable1_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150, + 151, + 152, + 153, + 154, + 155, + 156, + 157, + 158, + 159, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167, + 168, + 169, + 170, + 171, + 172, + 173, + 174, + 175, + 176, + 177, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 196, + 197, + 198, + 199, + 200, + 201, + 202, + 203, + 204, + 205, + 206, + 207, + 208, + 209, + 210, + 211, + 212, + 213, + 214, + 215, + 216, + 217, + 218, + 219, + 220, + 221, + 222, + 223, + 224, + 225, + 226, + 227, + 228, + 229, + 230, + 231, + 232, + 233, + 234, + 235, + 236, + 237, + 238, + 239, + 240, + 241, + 242, + 243, + 244, + 245, + 246, + 247, + 248, + 249, + 250, + 251, + 252, + 253, + 254, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 271, + 272, + 273, + 274, + 275, + 276, + 277, + 278, + 279, + 280, + 281, + 282, + 283, + 284, + 285, + 286, + 287, + 288, + 289, + 290, + 291, + 292, + 293, + 294, + 295, + 296, + 297, + 298, + 299, + 300, + 301, + 302, + 303, + 304, + 305, + 306, + 307, + 308, + 309, + 310, + 311, + 312, + 313, + 314, + 315, + 316, + 317, + 318, + 319, + 320, + 321, + 322, + 323, + 324, + 325, + 326, + 327, + 328, + 329, + 330, + 331, + 332, + 333, + 334, + 335, + 336, + 337, + 338, + 339, + 340, + 341, + 342, + 343, + 344, + 345, + 346, + 347, + 348, + 349, + 350, + 351, + 352, + 353, + 354, + 355, + 356, + 357, + 358, + 359, + 360, + 361, + 362, + 363, + 364, + 365, + 366, + 367, + 368, + 369, + 370, + 371, + 372, + 373, + 374, + 375, + 376, + 377, + 378, + 379, + 380, + 381, + 382, + 383, + 384, + 385, + 386, + 387, + 388, + 389, + 390, + 391, + 392, + 393, + 394, + 395, + 396, + 397, + 398, + 399, + 400, + 401, + 402, + 403, + 404, + 405, + 406, + 407, + 408, + 409, + 410, + 411, + 412, + 413, + 414, + 415, + 416, + 417, + 418, + 419, + 420, + 421, + 422, + 423, + 424, + 425, + 426, + 427, + 428, + 429, + 430, + 431, + 432, + 433, + 434, + 435, + 436, + 437, + 438, + 439, + 440, + 441, + 442, + 443, + 444, + 445, + 446, + 447, + 448, + 449, + 450, + 451, + 452, + 453, + 454, + 455, + 456, + 457, + 458, + 459, + 460, + 461, + 462, + 463, + 464, + 465, + 466, + 467, + 468, + 469, + 470, + 471, + 472, + 473, + 474, + 475, + 476, + 477, + 478, + 479, + 480, + 481, + 482, + 483, + 484, + 485, + 486, + 487, + 488, + 489, + 490, + 491, + 492, + 493, + 494, + 495, + 496, + 497, + 498, + 499, + 500, + 501, + 502, + 503, + 504, + 505, + 506, + 507, + 508, + 509, + 510, + 511, + 512, + 513, + 514, + 515, + 516, + 517, + 518, + 519, + 520, + 521, + 522, + 523, + 524, + 525, + 526, + 527, + 528, + 529, + 530, + 531, + 532, + 533, + 534, + 535, + 536, + 537, + 538, + 539, + 540, + 541, + 542, + 543, + 544, + 545, + 546, + 547, + 548, + 549, + 550, + 551, + 552, + 553, + 554, + 555, + 556, + 557, + 558, + 559, + 560, + 561, + 562, + 563, + 564, + 565, + 566, + 567, + 568, + 569, + 570, + 571, + 572, + 573, + 574, + 575, + 576, + 577, + 578, + 579, + 580, + 581, + 582, + 583, + 584, + 585, + 586, + 587, + 588, + 589, + 590, + 591, + 592, + 593, + 594, + 595, + 596, + 597, + 598, + 599, + 600, + 601, + 602, + 603, + 604, + 605, + 606, + 607, + 608, + 609, + 610, + 611, + 612, + 613, + 614, + 615, + 616, + 617, + 618, + 619, + 620, + 621, + 622, + 623, + 624, + 625, + 626, + 627, + 628, + 629, + 630, + 631, + 632, + 633, + 634, + 635, + 636, + 637, + 638, + 639, + 640, + 641, + 642, + 643, + 644, + 645, + 646, + 647, + 648, + 649, + 650, + 651, + 652, + 653, + 654, + 655, + 656, + 657, + 658, + 659, + 660, + 661, + 662, + 663, + 664, + 665, + 666, + 667, + 668, + 669, + 670, + 671, + 672, + 673, + 674, + 675, + 676, + 677, + 678, + 679, + 680, + 681, + 682, + 683, + 684, + 685, + 686, + 687, + 688, + 689, + 690, + 691, + 692, + 693, + 694, + 695, + 696, + 697, + 698, + 699, + 700, + 701, + 702, + 703, + 704, + 705, + 706, + 707, + 708, + 709, + 710, + 711, + 712, + 713, + 714, + 715, + 716, + 717, + 718, + 719, + 720, + 721, + 722, + 723, + 724, + 725, + 726, + 727, + 728, + 729, + 730, + 731, + 732, + 733, + 734, + 735, + 736, + 737, + 738, + 739, + 740, + 741, + 742, + 743, + 744, + 745, + 746, + 747, + 748, + 749, + 750, + 751, + 752, + 753, + 754, + 755, + 756, + 757, + 758, + 759, + 760, + 761, + 762, + 763, + 764, + 765, + 766, + 767, + 768, + 769, + 770, + 771, + 772, + 773, + 774, + 775, + 776, + 777, + 778, + 779, + 780, + 781, + 782, + 783, + 784, + 785, + 786, + 787, + 788, + 789, + 790, + 791, + 792, + 793, + 794, + 795, + 796, + 797, + 798, + 799, + 800, + 801, + 802, + 803, + 804, + 805, + 806, + 807, + 808, + 809, + 810, + 811, + 812, + 813, + 814, + 815, + 816, + 817, + 818, + 819, + 820, + 821, + 822, + 823, + 824, + 825, + 826, + 827, + 828, + 829, + 830, + 831, + 832, + 833, + 834, + 835, + 836, + 837, + 838, + 839, + 840, + 841, + 842, + 843, + 844, + 845, + 846, + 847, + 848, + 849, + 850, + 851, + 852, + 853, + 854, + 855, + 856, + 857, + 858, + 859, + 860, + 861, + 862, + 863, + 864, + 865, + 866, + 867, + 868, + 869, + 870, + 871, + 872, + 873, + 874, + 875, + 876, + 877, + 878, + 879, + 880, + 881, + 882, + 883, + 884, + 885, + 886, + 887, + 888, + 889, + 890, + 891, + 892, + 893, + 894, + 895, + 896, + 897, + 898, + 899, + 900, + 901, + 902, + 903, + 904, + 905, + 906, + 907, + 908, + 909, + 910, + 911, + 912, + 913, + 914, + 915, + 916, + 917, + 918, + 919, + 920, + 921, + 922, + 923, + 924, + 925, + 926, + 927, + 928, + 929, + 930, + 931, + 932, + 933, + 934, + 935, + 936, + 937, + 938, + 939, + 940, + 941, + 942, + 943, + 944, + 945, + 946, + 947, + 948, + 949, + 950, + 951, + 952, + 953, + 954, + 955, + 956, + 957, + 958, + 959, + 960, + 961, + 962, + 963, + 964, + 965, + 966, + 967, + 968, + 969, + 970, + 971, + 972, + 973, + 974, + 975, + 976, + 977, + 978, + 979, + 980, + 981, + 982, + 983, + 984, + 985, + 986, + 987, + 988, + 989, + 990, + 991, + 992, + 993, + 994, + 995, + 996, + 997, + 998, + 999, + 1000 + ], + "mytable1_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10 + ], + "mytable1_rows_selected": null, + "mytable1_search": "", + "mytable1_state": { + "start": 0, + "length": 10, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "show_vars": [ + "carat", + "cut", + "color", + "clarity", + "depth", + "table", + "price", + "x", + "y", + "z" + ] + }, + "output": { + "mytable1": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n carat<\/th>\n cut<\/th>\n color<\/th>\n clarity<\/th>\n depth<\/th>\n table<\/th>\n price<\/th>\n x<\/th>\n y<\/th>\n z<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 5, + 6, + 7, + 8, + 9, + 10 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "carat", + "targets": 1 + }, + { + "name": "cut", + "targets": 2 + }, + { + "name": "color", + "targets": 3 + }, + { + "name": "clarity", + "targets": 4 + }, + { + "name": "depth", + "targets": 5 + }, + { + "name": "table", + "targets": 6 + }, + { + "name": "price", + "targets": 7 + }, + { + "name": "x", + "targets": 8 + }, + { + "name": "y", + "targets": 9 + }, + { + "name": "z", + "targets": 10 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/012-datatables/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/012-datatables/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..905edcc9ff Binary files /dev/null and b/inst/apps/012-datatables/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/012-datatables/tests/testthat/_snaps/linux-4.4/mytest/003.json b/inst/apps/012-datatables/tests/testthat/_snaps/linux-4.4/mytest/003.json new file mode 100644 index 0000000000..8e9ef06d4b --- /dev/null +++ b/inst/apps/012-datatables/tests/testthat/_snaps/linux-4.4/mytest/003.json @@ -0,0 +1,1268 @@ +{ + "input": { + "dataset": "diamonds", + "mytable1_cell_clicked": { + + }, + "mytable1_cells_selected": [ + + ], + "mytable1_columns_selected": null, + "mytable1_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150, + 151, + 152, + 153, + 154, + 155, + 156, + 157, + 158, + 159, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167, + 168, + 169, + 170, + 171, + 172, + 173, + 174, + 175, + 176, + 177, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 196, + 197, + 198, + 199, + 200, + 201, + 202, + 203, + 204, + 205, + 206, + 207, + 208, + 209, + 210, + 211, + 212, + 213, + 214, + 215, + 216, + 217, + 218, + 219, + 220, + 221, + 222, + 223, + 224, + 225, + 226, + 227, + 228, + 229, + 230, + 231, + 232, + 233, + 234, + 235, + 236, + 237, + 238, + 239, + 240, + 241, + 242, + 243, + 244, + 245, + 246, + 247, + 248, + 249, + 250, + 251, + 252, + 253, + 254, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 271, + 272, + 273, + 274, + 275, + 276, + 277, + 278, + 279, + 280, + 281, + 282, + 283, + 284, + 285, + 286, + 287, + 288, + 289, + 290, + 291, + 292, + 293, + 294, + 295, + 296, + 297, + 298, + 299, + 300, + 301, + 302, + 303, + 304, + 305, + 306, + 307, + 308, + 309, + 310, + 311, + 312, + 313, + 314, + 315, + 316, + 317, + 318, + 319, + 320, + 321, + 322, + 323, + 324, + 325, + 326, + 327, + 328, + 329, + 330, + 331, + 332, + 333, + 334, + 335, + 336, + 337, + 338, + 339, + 340, + 341, + 342, + 343, + 344, + 345, + 346, + 347, + 348, + 349, + 350, + 351, + 352, + 353, + 354, + 355, + 356, + 357, + 358, + 359, + 360, + 361, + 362, + 363, + 364, + 365, + 366, + 367, + 368, + 369, + 370, + 371, + 372, + 373, + 374, + 375, + 376, + 377, + 378, + 379, + 380, + 381, + 382, + 383, + 384, + 385, + 386, + 387, + 388, + 389, + 390, + 391, + 392, + 393, + 394, + 395, + 396, + 397, + 398, + 399, + 400, + 401, + 402, + 403, + 404, + 405, + 406, + 407, + 408, + 409, + 410, + 411, + 412, + 413, + 414, + 415, + 416, + 417, + 418, + 419, + 420, + 421, + 422, + 423, + 424, + 425, + 426, + 427, + 428, + 429, + 430, + 431, + 432, + 433, + 434, + 435, + 436, + 437, + 438, + 439, + 440, + 441, + 442, + 443, + 444, + 445, + 446, + 447, + 448, + 449, + 450, + 451, + 452, + 453, + 454, + 455, + 456, + 457, + 458, + 459, + 460, + 461, + 462, + 463, + 464, + 465, + 466, + 467, + 468, + 469, + 470, + 471, + 472, + 473, + 474, + 475, + 476, + 477, + 478, + 479, + 480, + 481, + 482, + 483, + 484, + 485, + 486, + 487, + 488, + 489, + 490, + 491, + 492, + 493, + 494, + 495, + 496, + 497, + 498, + 499, + 500, + 501, + 502, + 503, + 504, + 505, + 506, + 507, + 508, + 509, + 510, + 511, + 512, + 513, + 514, + 515, + 516, + 517, + 518, + 519, + 520, + 521, + 522, + 523, + 524, + 525, + 526, + 527, + 528, + 529, + 530, + 531, + 532, + 533, + 534, + 535, + 536, + 537, + 538, + 539, + 540, + 541, + 542, + 543, + 544, + 545, + 546, + 547, + 548, + 549, + 550, + 551, + 552, + 553, + 554, + 555, + 556, + 557, + 558, + 559, + 560, + 561, + 562, + 563, + 564, + 565, + 566, + 567, + 568, + 569, + 570, + 571, + 572, + 573, + 574, + 575, + 576, + 577, + 578, + 579, + 580, + 581, + 582, + 583, + 584, + 585, + 586, + 587, + 588, + 589, + 590, + 591, + 592, + 593, + 594, + 595, + 596, + 597, + 598, + 599, + 600, + 601, + 602, + 603, + 604, + 605, + 606, + 607, + 608, + 609, + 610, + 611, + 612, + 613, + 614, + 615, + 616, + 617, + 618, + 619, + 620, + 621, + 622, + 623, + 624, + 625, + 626, + 627, + 628, + 629, + 630, + 631, + 632, + 633, + 634, + 635, + 636, + 637, + 638, + 639, + 640, + 641, + 642, + 643, + 644, + 645, + 646, + 647, + 648, + 649, + 650, + 651, + 652, + 653, + 654, + 655, + 656, + 657, + 658, + 659, + 660, + 661, + 662, + 663, + 664, + 665, + 666, + 667, + 668, + 669, + 670, + 671, + 672, + 673, + 674, + 675, + 676, + 677, + 678, + 679, + 680, + 681, + 682, + 683, + 684, + 685, + 686, + 687, + 688, + 689, + 690, + 691, + 692, + 693, + 694, + 695, + 696, + 697, + 698, + 699, + 700, + 701, + 702, + 703, + 704, + 705, + 706, + 707, + 708, + 709, + 710, + 711, + 712, + 713, + 714, + 715, + 716, + 717, + 718, + 719, + 720, + 721, + 722, + 723, + 724, + 725, + 726, + 727, + 728, + 729, + 730, + 731, + 732, + 733, + 734, + 735, + 736, + 737, + 738, + 739, + 740, + 741, + 742, + 743, + 744, + 745, + 746, + 747, + 748, + 749, + 750, + 751, + 752, + 753, + 754, + 755, + 756, + 757, + 758, + 759, + 760, + 761, + 762, + 763, + 764, + 765, + 766, + 767, + 768, + 769, + 770, + 771, + 772, + 773, + 774, + 775, + 776, + 777, + 778, + 779, + 780, + 781, + 782, + 783, + 784, + 785, + 786, + 787, + 788, + 789, + 790, + 791, + 792, + 793, + 794, + 795, + 796, + 797, + 798, + 799, + 800, + 801, + 802, + 803, + 804, + 805, + 806, + 807, + 808, + 809, + 810, + 811, + 812, + 813, + 814, + 815, + 816, + 817, + 818, + 819, + 820, + 821, + 822, + 823, + 824, + 825, + 826, + 827, + 828, + 829, + 830, + 831, + 832, + 833, + 834, + 835, + 836, + 837, + 838, + 839, + 840, + 841, + 842, + 843, + 844, + 845, + 846, + 847, + 848, + 849, + 850, + 851, + 852, + 853, + 854, + 855, + 856, + 857, + 858, + 859, + 860, + 861, + 862, + 863, + 864, + 865, + 866, + 867, + 868, + 869, + 870, + 871, + 872, + 873, + 874, + 875, + 876, + 877, + 878, + 879, + 880, + 881, + 882, + 883, + 884, + 885, + 886, + 887, + 888, + 889, + 890, + 891, + 892, + 893, + 894, + 895, + 896, + 897, + 898, + 899, + 900, + 901, + 902, + 903, + 904, + 905, + 906, + 907, + 908, + 909, + 910, + 911, + 912, + 913, + 914, + 915, + 916, + 917, + 918, + 919, + 920, + 921, + 922, + 923, + 924, + 925, + 926, + 927, + 928, + 929, + 930, + 931, + 932, + 933, + 934, + 935, + 936, + 937, + 938, + 939, + 940, + 941, + 942, + 943, + 944, + 945, + 946, + 947, + 948, + 949, + 950, + 951, + 952, + 953, + 954, + 955, + 956, + 957, + 958, + 959, + 960, + 961, + 962, + 963, + 964, + 965, + 966, + 967, + 968, + 969, + 970, + 971, + 972, + 973, + 974, + 975, + 976, + 977, + 978, + 979, + 980, + 981, + 982, + 983, + 984, + 985, + 986, + 987, + 988, + 989, + 990, + 991, + 992, + 993, + 994, + 995, + 996, + 997, + 998, + 999, + 1000 + ], + "mytable1_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10 + ], + "mytable1_rows_selected": null, + "mytable1_search": "", + "mytable1_state": { + "start": 0, + "length": 10, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "show_vars": [ + "carat", + "cut", + "color", + "clarity", + "price", + "x", + "y", + "z" + ] + }, + "output": { + "mytable1": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n carat<\/th>\n cut<\/th>\n color<\/th>\n clarity<\/th>\n price<\/th>\n x<\/th>\n y<\/th>\n z<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 5, + 6, + 7, + 8 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "carat", + "targets": 1 + }, + { + "name": "cut", + "targets": 2 + }, + { + "name": "color", + "targets": 3 + }, + { + "name": "clarity", + "targets": 4 + }, + { + "name": "price", + "targets": 5 + }, + { + "name": "x", + "targets": 6 + }, + { + "name": "y", + "targets": 7 + }, + { + "name": "z", + "targets": 8 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/012-datatables/tests/testthat/_snaps/linux-4.4/mytest/004.png b/inst/apps/012-datatables/tests/testthat/_snaps/linux-4.4/mytest/004.png new file mode 100644 index 0000000000..442c8c3e4a Binary files /dev/null and b/inst/apps/012-datatables/tests/testthat/_snaps/linux-4.4/mytest/004.png differ diff --git a/inst/apps/012-datatables/tests/testthat/_snaps/linux-4.4/mytest/005.json b/inst/apps/012-datatables/tests/testthat/_snaps/linux-4.4/mytest/005.json new file mode 100644 index 0000000000..59c70bbf13 --- /dev/null +++ b/inst/apps/012-datatables/tests/testthat/_snaps/linux-4.4/mytest/005.json @@ -0,0 +1,1162 @@ +{ + "input": { + "dataset": "diamonds", + "mytable1_cell_clicked": { + + }, + "mytable1_cells_selected": [ + + ], + "mytable1_columns_selected": null, + "mytable1_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150, + 151, + 152, + 153, + 154, + 155, + 156, + 157, + 158, + 159, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167, + 168, + 169, + 170, + 171, + 172, + 173, + 174, + 175, + 176, + 177, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 196, + 197, + 198, + 199, + 200, + 201, + 202, + 203, + 204, + 205, + 206, + 207, + 208, + 209, + 210, + 211, + 212, + 213, + 214, + 215, + 216, + 217, + 218, + 219, + 220, + 221, + 222, + 223, + 224, + 225, + 226, + 227, + 228, + 229, + 230, + 231, + 232, + 233, + 234, + 235, + 236, + 237, + 238, + 239, + 240, + 241, + 242, + 243, + 244, + 245, + 246, + 247, + 248, + 249, + 250, + 251, + 252, + 253, + 254, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 271, + 272, + 273, + 274, + 275, + 276, + 277, + 278, + 279, + 280, + 281, + 282, + 283, + 284, + 285, + 286, + 287, + 288, + 289, + 290, + 291, + 292, + 293, + 294, + 295, + 296, + 297, + 298, + 299, + 300, + 301, + 302, + 303, + 304, + 305, + 306, + 307, + 308, + 309, + 310, + 311, + 312, + 313, + 314, + 315, + 316, + 317, + 318, + 319, + 320, + 321, + 322, + 323, + 324, + 325, + 326, + 327, + 328, + 329, + 330, + 331, + 332, + 333, + 334, + 335, + 336, + 337, + 338, + 339, + 340, + 341, + 342, + 343, + 344, + 345, + 346, + 347, + 348, + 349, + 350, + 351, + 352, + 353, + 354, + 355, + 356, + 357, + 358, + 359, + 360, + 361, + 362, + 363, + 364, + 365, + 366, + 367, + 368, + 369, + 370, + 371, + 372, + 373, + 374, + 375, + 376, + 377, + 378, + 379, + 380, + 381, + 382, + 383, + 384, + 385, + 386, + 387, + 388, + 389, + 390, + 391, + 392, + 393, + 394, + 395, + 396, + 397, + 398, + 399, + 400, + 401, + 402, + 403, + 404, + 405, + 406, + 407, + 408, + 409, + 410, + 411, + 412, + 413, + 414, + 415, + 416, + 417, + 418, + 419, + 420, + 421, + 422, + 423, + 424, + 425, + 426, + 427, + 428, + 429, + 430, + 431, + 432, + 433, + 434, + 435, + 436, + 437, + 438, + 439, + 440, + 441, + 442, + 443, + 444, + 445, + 446, + 447, + 448, + 449, + 450, + 451, + 452, + 453, + 454, + 455, + 456, + 457, + 458, + 459, + 460, + 461, + 462, + 463, + 464, + 465, + 466, + 467, + 468, + 469, + 470, + 471, + 472, + 473, + 474, + 475, + 476, + 477, + 478, + 479, + 480, + 481, + 482, + 483, + 484, + 485, + 486, + 487, + 488, + 489, + 490, + 491, + 492, + 493, + 494, + 495, + 496, + 497, + 498, + 499, + 500, + 501, + 502, + 503, + 504, + 505, + 506, + 507, + 508, + 509, + 510, + 511, + 512, + 513, + 514, + 515, + 516, + 517, + 518, + 519, + 520, + 521, + 522, + 523, + 524, + 525, + 526, + 527, + 528, + 529, + 530, + 531, + 532, + 533, + 534, + 535, + 536, + 537, + 538, + 539, + 540, + 541, + 542, + 543, + 544, + 545, + 546, + 547, + 548, + 549, + 550, + 551, + 552, + 553, + 554, + 555, + 556, + 557, + 558, + 559, + 560, + 561, + 562, + 563, + 564, + 565, + 566, + 567, + 568, + 569, + 570, + 571, + 572, + 573, + 574, + 575, + 576, + 577, + 578, + 579, + 580, + 581, + 582, + 583, + 584, + 585, + 586, + 587, + 588, + 589, + 590, + 591, + 592, + 593, + 594, + 595, + 596, + 597, + 598, + 599, + 600, + 601, + 602, + 603, + 604, + 605, + 606, + 607, + 608, + 609, + 610, + 611, + 612, + 613, + 614, + 615, + 616, + 617, + 618, + 619, + 620, + 621, + 622, + 623, + 624, + 625, + 626, + 627, + 628, + 629, + 630, + 631, + 632, + 633, + 634, + 635, + 636, + 637, + 638, + 639, + 640, + 641, + 642, + 643, + 644, + 645, + 646, + 647, + 648, + 649, + 650, + 651, + 652, + 653, + 654, + 655, + 656, + 657, + 658, + 659, + 660, + 661, + 662, + 663, + 664, + 665, + 666, + 667, + 668, + 669, + 670, + 671, + 672, + 673, + 674, + 675, + 676, + 677, + 678, + 679, + 680, + 681, + 682, + 683, + 684, + 685, + 686, + 687, + 688, + 689, + 690, + 691, + 692, + 693, + 694, + 695, + 696, + 697, + 698, + 699, + 700, + 701, + 702, + 703, + 704, + 705, + 706, + 707, + 708, + 709, + 710, + 711, + 712, + 713, + 714, + 715, + 716, + 717, + 718, + 719, + 720, + 721, + 722, + 723, + 724, + 725, + 726, + 727, + 728, + 729, + 730, + 731, + 732, + 733, + 734, + 735, + 736, + 737, + 738, + 739, + 740, + 741, + 742, + 743, + 744, + 745, + 746, + 747, + 748, + 749, + 750, + 751, + 752, + 753, + 754, + 755, + 756, + 757, + 758, + 759, + 760, + 761, + 762, + 763, + 764, + 765, + 766, + 767, + 768, + 769, + 770, + 771, + 772, + 773, + 774, + 775, + 776, + 777, + 778, + 779, + 780, + 781, + 782, + 783, + 784, + 785, + 786, + 787, + 788, + 789, + 790, + 791, + 792, + 793, + 794, + 795, + 796, + 797, + 798, + 799, + 800, + 801, + 802, + 803, + 804, + 805, + 806, + 807, + 808, + 809, + 810, + 811, + 812, + 813, + 814, + 815, + 816, + 817, + 818, + 819, + 820, + 821, + 822, + 823, + 824, + 825, + 826, + 827, + 828, + 829, + 830, + 831, + 832, + 833, + 834, + 835, + 836, + 837, + 838, + 839, + 840, + 841, + 842, + 843, + 844, + 845, + 846, + 847, + 848, + 849, + 850, + 851, + 852, + 853, + 854, + 855, + 856, + 857, + 858, + 859, + 860, + 861, + 862, + 863, + 864, + 865, + 866, + 867, + 868, + 869, + 870, + 871, + 872, + 873, + 874, + 875, + 876, + 877, + 878, + 879, + 880, + 881, + 882, + 883, + 884, + 885, + 886, + 887, + 888, + 889, + 890, + 891, + 892, + 893, + 894, + 895, + 896, + 897, + 898, + 899, + 900, + 901, + 902, + 903, + 904, + 905, + 906, + 907, + 908, + 909, + 910, + 911, + 912, + 913, + 914, + 915, + 916, + 917, + 918, + 919, + 920, + 921, + 922, + 923, + 924, + 925, + 926, + 927, + 928, + 929, + 930, + 931, + 932, + 933, + 934, + 935, + 936, + 937, + 938, + 939, + 940, + 941, + 942, + 943, + 944, + 945, + 946, + 947, + 948, + 949, + 950, + 951, + 952, + 953, + 954, + 955, + 956, + 957, + 958, + 959, + 960, + 961, + 962, + 963, + 964, + 965, + 966, + 967, + 968, + 969, + 970, + 971, + 972, + 973, + 974, + 975, + 976, + 977, + 978, + 979, + 980, + 981, + 982, + 983, + 984, + 985, + 986, + 987, + 988, + 989, + 990, + 991, + 992, + 993, + 994, + 995, + 996, + 997, + 998, + 999, + 1000 + ], + "mytable1_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10 + ], + "mytable1_rows_selected": null, + "mytable1_search": "", + "mytable1_state": { + "start": 0, + "length": 10, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "show_vars": "z" + }, + "output": { + "mytable1": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n z<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "columnDefs": [ + { + "className": "dt-right", + "targets": 1 + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "z", + "targets": 1 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/012-datatables/tests/testthat/_snaps/linux-4.4/mytest/006.png b/inst/apps/012-datatables/tests/testthat/_snaps/linux-4.4/mytest/006.png new file mode 100644 index 0000000000..7d1716639b Binary files /dev/null and b/inst/apps/012-datatables/tests/testthat/_snaps/linux-4.4/mytest/006.png differ diff --git a/inst/apps/012-datatables/tests/testthat/_snaps/linux-4.4/mytest/007.json b/inst/apps/012-datatables/tests/testthat/_snaps/linux-4.4/mytest/007.json new file mode 100644 index 0000000000..7e51d38cad --- /dev/null +++ b/inst/apps/012-datatables/tests/testthat/_snaps/linux-4.4/mytest/007.json @@ -0,0 +1,1487 @@ +{ + "input": { + "dataset": "mtcars", + "mytable1_cell_clicked": { + + }, + "mytable1_cells_selected": [ + + ], + "mytable1_columns_selected": null, + "mytable1_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150, + 151, + 152, + 153, + 154, + 155, + 156, + 157, + 158, + 159, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167, + 168, + 169, + 170, + 171, + 172, + 173, + 174, + 175, + 176, + 177, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 196, + 197, + 198, + 199, + 200, + 201, + 202, + 203, + 204, + 205, + 206, + 207, + 208, + 209, + 210, + 211, + 212, + 213, + 214, + 215, + 216, + 217, + 218, + 219, + 220, + 221, + 222, + 223, + 224, + 225, + 226, + 227, + 228, + 229, + 230, + 231, + 232, + 233, + 234, + 235, + 236, + 237, + 238, + 239, + 240, + 241, + 242, + 243, + 244, + 245, + 246, + 247, + 248, + 249, + 250, + 251, + 252, + 253, + 254, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 271, + 272, + 273, + 274, + 275, + 276, + 277, + 278, + 279, + 280, + 281, + 282, + 283, + 284, + 285, + 286, + 287, + 288, + 289, + 290, + 291, + 292, + 293, + 294, + 295, + 296, + 297, + 298, + 299, + 300, + 301, + 302, + 303, + 304, + 305, + 306, + 307, + 308, + 309, + 310, + 311, + 312, + 313, + 314, + 315, + 316, + 317, + 318, + 319, + 320, + 321, + 322, + 323, + 324, + 325, + 326, + 327, + 328, + 329, + 330, + 331, + 332, + 333, + 334, + 335, + 336, + 337, + 338, + 339, + 340, + 341, + 342, + 343, + 344, + 345, + 346, + 347, + 348, + 349, + 350, + 351, + 352, + 353, + 354, + 355, + 356, + 357, + 358, + 359, + 360, + 361, + 362, + 363, + 364, + 365, + 366, + 367, + 368, + 369, + 370, + 371, + 372, + 373, + 374, + 375, + 376, + 377, + 378, + 379, + 380, + 381, + 382, + 383, + 384, + 385, + 386, + 387, + 388, + 389, + 390, + 391, + 392, + 393, + 394, + 395, + 396, + 397, + 398, + 399, + 400, + 401, + 402, + 403, + 404, + 405, + 406, + 407, + 408, + 409, + 410, + 411, + 412, + 413, + 414, + 415, + 416, + 417, + 418, + 419, + 420, + 421, + 422, + 423, + 424, + 425, + 426, + 427, + 428, + 429, + 430, + 431, + 432, + 433, + 434, + 435, + 436, + 437, + 438, + 439, + 440, + 441, + 442, + 443, + 444, + 445, + 446, + 447, + 448, + 449, + 450, + 451, + 452, + 453, + 454, + 455, + 456, + 457, + 458, + 459, + 460, + 461, + 462, + 463, + 464, + 465, + 466, + 467, + 468, + 469, + 470, + 471, + 472, + 473, + 474, + 475, + 476, + 477, + 478, + 479, + 480, + 481, + 482, + 483, + 484, + 485, + 486, + 487, + 488, + 489, + 490, + 491, + 492, + 493, + 494, + 495, + 496, + 497, + 498, + 499, + 500, + 501, + 502, + 503, + 504, + 505, + 506, + 507, + 508, + 509, + 510, + 511, + 512, + 513, + 514, + 515, + 516, + 517, + 518, + 519, + 520, + 521, + 522, + 523, + 524, + 525, + 526, + 527, + 528, + 529, + 530, + 531, + 532, + 533, + 534, + 535, + 536, + 537, + 538, + 539, + 540, + 541, + 542, + 543, + 544, + 545, + 546, + 547, + 548, + 549, + 550, + 551, + 552, + 553, + 554, + 555, + 556, + 557, + 558, + 559, + 560, + 561, + 562, + 563, + 564, + 565, + 566, + 567, + 568, + 569, + 570, + 571, + 572, + 573, + 574, + 575, + 576, + 577, + 578, + 579, + 580, + 581, + 582, + 583, + 584, + 585, + 586, + 587, + 588, + 589, + 590, + 591, + 592, + 593, + 594, + 595, + 596, + 597, + 598, + 599, + 600, + 601, + 602, + 603, + 604, + 605, + 606, + 607, + 608, + 609, + 610, + 611, + 612, + 613, + 614, + 615, + 616, + 617, + 618, + 619, + 620, + 621, + 622, + 623, + 624, + 625, + 626, + 627, + 628, + 629, + 630, + 631, + 632, + 633, + 634, + 635, + 636, + 637, + 638, + 639, + 640, + 641, + 642, + 643, + 644, + 645, + 646, + 647, + 648, + 649, + 650, + 651, + 652, + 653, + 654, + 655, + 656, + 657, + 658, + 659, + 660, + 661, + 662, + 663, + 664, + 665, + 666, + 667, + 668, + 669, + 670, + 671, + 672, + 673, + 674, + 675, + 676, + 677, + 678, + 679, + 680, + 681, + 682, + 683, + 684, + 685, + 686, + 687, + 688, + 689, + 690, + 691, + 692, + 693, + 694, + 695, + 696, + 697, + 698, + 699, + 700, + 701, + 702, + 703, + 704, + 705, + 706, + 707, + 708, + 709, + 710, + 711, + 712, + 713, + 714, + 715, + 716, + 717, + 718, + 719, + 720, + 721, + 722, + 723, + 724, + 725, + 726, + 727, + 728, + 729, + 730, + 731, + 732, + 733, + 734, + 735, + 736, + 737, + 738, + 739, + 740, + 741, + 742, + 743, + 744, + 745, + 746, + 747, + 748, + 749, + 750, + 751, + 752, + 753, + 754, + 755, + 756, + 757, + 758, + 759, + 760, + 761, + 762, + 763, + 764, + 765, + 766, + 767, + 768, + 769, + 770, + 771, + 772, + 773, + 774, + 775, + 776, + 777, + 778, + 779, + 780, + 781, + 782, + 783, + 784, + 785, + 786, + 787, + 788, + 789, + 790, + 791, + 792, + 793, + 794, + 795, + 796, + 797, + 798, + 799, + 800, + 801, + 802, + 803, + 804, + 805, + 806, + 807, + 808, + 809, + 810, + 811, + 812, + 813, + 814, + 815, + 816, + 817, + 818, + 819, + 820, + 821, + 822, + 823, + 824, + 825, + 826, + 827, + 828, + 829, + 830, + 831, + 832, + 833, + 834, + 835, + 836, + 837, + 838, + 839, + 840, + 841, + 842, + 843, + 844, + 845, + 846, + 847, + 848, + 849, + 850, + 851, + 852, + 853, + 854, + 855, + 856, + 857, + 858, + 859, + 860, + 861, + 862, + 863, + 864, + 865, + 866, + 867, + 868, + 869, + 870, + 871, + 872, + 873, + 874, + 875, + 876, + 877, + 878, + 879, + 880, + 881, + 882, + 883, + 884, + 885, + 886, + 887, + 888, + 889, + 890, + 891, + 892, + 893, + 894, + 895, + 896, + 897, + 898, + 899, + 900, + 901, + 902, + 903, + 904, + 905, + 906, + 907, + 908, + 909, + 910, + 911, + 912, + 913, + 914, + 915, + 916, + 917, + 918, + 919, + 920, + 921, + 922, + 923, + 924, + 925, + 926, + 927, + 928, + 929, + 930, + 931, + 932, + 933, + 934, + 935, + 936, + 937, + 938, + 939, + 940, + 941, + 942, + 943, + 944, + 945, + 946, + 947, + 948, + 949, + 950, + 951, + 952, + 953, + 954, + 955, + 956, + 957, + 958, + 959, + 960, + 961, + 962, + 963, + 964, + 965, + 966, + 967, + 968, + 969, + 970, + 971, + 972, + 973, + 974, + 975, + 976, + 977, + 978, + 979, + 980, + 981, + 982, + 983, + 984, + 985, + 986, + 987, + 988, + 989, + 990, + 991, + 992, + 993, + 994, + 995, + 996, + 997, + 998, + 999, + 1000 + ], + "mytable1_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10 + ], + "mytable1_rows_selected": null, + "mytable1_search": "", + "mytable1_state": { + "start": 0, + "length": 10, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "mytable2_cell_clicked": { + + }, + "mytable2_cells_selected": [ + + ], + "mytable2_columns_selected": null, + "mytable2_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32 + ], + "mytable2_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10 + ], + "mytable2_rows_selected": null, + "mytable2_search": "", + "mytable2_state": { + "start": 0, + "length": 10, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "show_vars": "z" + }, + "output": { + "mytable1": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n z<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "columnDefs": [ + { + "className": "dt-right", + "targets": 1 + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "z", + "targets": 1 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + }, + "mytable2": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n mpg<\/th>\n cyl<\/th>\n disp<\/th>\n hp<\/th>\n drat<\/th>\n wt<\/th>\n qsec<\/th>\n vs<\/th>\n am<\/th>\n gear<\/th>\n carb<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "orderClasses": true, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "mpg", + "targets": 1 + }, + { + "name": "cyl", + "targets": 2 + }, + { + "name": "disp", + "targets": 3 + }, + { + "name": "hp", + "targets": 4 + }, + { + "name": "drat", + "targets": 5 + }, + { + "name": "wt", + "targets": 6 + }, + { + "name": "qsec", + "targets": 7 + }, + { + "name": "vs", + "targets": 8 + }, + { + "name": "am", + "targets": 9 + }, + { + "name": "gear", + "targets": 10 + }, + { + "name": "carb", + "targets": 11 + } + ], + "order": [ + + ], + "autoWidth": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/012-datatables/tests/testthat/_snaps/linux-4.4/mytest/008.png b/inst/apps/012-datatables/tests/testthat/_snaps/linux-4.4/mytest/008.png new file mode 100644 index 0000000000..38b2e91567 Binary files /dev/null and b/inst/apps/012-datatables/tests/testthat/_snaps/linux-4.4/mytest/008.png differ diff --git a/inst/apps/012-datatables/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/012-datatables/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..6ae88397a2 --- /dev/null +++ b/inst/apps/012-datatables/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,1298 @@ +{ + "input": { + "dataset": "diamonds", + "mytable1_cell_clicked": { + + }, + "mytable1_cells_selected": [ + + ], + "mytable1_columns_selected": null, + "mytable1_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150, + 151, + 152, + 153, + 154, + 155, + 156, + 157, + 158, + 159, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167, + 168, + 169, + 170, + 171, + 172, + 173, + 174, + 175, + 176, + 177, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 196, + 197, + 198, + 199, + 200, + 201, + 202, + 203, + 204, + 205, + 206, + 207, + 208, + 209, + 210, + 211, + 212, + 213, + 214, + 215, + 216, + 217, + 218, + 219, + 220, + 221, + 222, + 223, + 224, + 225, + 226, + 227, + 228, + 229, + 230, + 231, + 232, + 233, + 234, + 235, + 236, + 237, + 238, + 239, + 240, + 241, + 242, + 243, + 244, + 245, + 246, + 247, + 248, + 249, + 250, + 251, + 252, + 253, + 254, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 271, + 272, + 273, + 274, + 275, + 276, + 277, + 278, + 279, + 280, + 281, + 282, + 283, + 284, + 285, + 286, + 287, + 288, + 289, + 290, + 291, + 292, + 293, + 294, + 295, + 296, + 297, + 298, + 299, + 300, + 301, + 302, + 303, + 304, + 305, + 306, + 307, + 308, + 309, + 310, + 311, + 312, + 313, + 314, + 315, + 316, + 317, + 318, + 319, + 320, + 321, + 322, + 323, + 324, + 325, + 326, + 327, + 328, + 329, + 330, + 331, + 332, + 333, + 334, + 335, + 336, + 337, + 338, + 339, + 340, + 341, + 342, + 343, + 344, + 345, + 346, + 347, + 348, + 349, + 350, + 351, + 352, + 353, + 354, + 355, + 356, + 357, + 358, + 359, + 360, + 361, + 362, + 363, + 364, + 365, + 366, + 367, + 368, + 369, + 370, + 371, + 372, + 373, + 374, + 375, + 376, + 377, + 378, + 379, + 380, + 381, + 382, + 383, + 384, + 385, + 386, + 387, + 388, + 389, + 390, + 391, + 392, + 393, + 394, + 395, + 396, + 397, + 398, + 399, + 400, + 401, + 402, + 403, + 404, + 405, + 406, + 407, + 408, + 409, + 410, + 411, + 412, + 413, + 414, + 415, + 416, + 417, + 418, + 419, + 420, + 421, + 422, + 423, + 424, + 425, + 426, + 427, + 428, + 429, + 430, + 431, + 432, + 433, + 434, + 435, + 436, + 437, + 438, + 439, + 440, + 441, + 442, + 443, + 444, + 445, + 446, + 447, + 448, + 449, + 450, + 451, + 452, + 453, + 454, + 455, + 456, + 457, + 458, + 459, + 460, + 461, + 462, + 463, + 464, + 465, + 466, + 467, + 468, + 469, + 470, + 471, + 472, + 473, + 474, + 475, + 476, + 477, + 478, + 479, + 480, + 481, + 482, + 483, + 484, + 485, + 486, + 487, + 488, + 489, + 490, + 491, + 492, + 493, + 494, + 495, + 496, + 497, + 498, + 499, + 500, + 501, + 502, + 503, + 504, + 505, + 506, + 507, + 508, + 509, + 510, + 511, + 512, + 513, + 514, + 515, + 516, + 517, + 518, + 519, + 520, + 521, + 522, + 523, + 524, + 525, + 526, + 527, + 528, + 529, + 530, + 531, + 532, + 533, + 534, + 535, + 536, + 537, + 538, + 539, + 540, + 541, + 542, + 543, + 544, + 545, + 546, + 547, + 548, + 549, + 550, + 551, + 552, + 553, + 554, + 555, + 556, + 557, + 558, + 559, + 560, + 561, + 562, + 563, + 564, + 565, + 566, + 567, + 568, + 569, + 570, + 571, + 572, + 573, + 574, + 575, + 576, + 577, + 578, + 579, + 580, + 581, + 582, + 583, + 584, + 585, + 586, + 587, + 588, + 589, + 590, + 591, + 592, + 593, + 594, + 595, + 596, + 597, + 598, + 599, + 600, + 601, + 602, + 603, + 604, + 605, + 606, + 607, + 608, + 609, + 610, + 611, + 612, + 613, + 614, + 615, + 616, + 617, + 618, + 619, + 620, + 621, + 622, + 623, + 624, + 625, + 626, + 627, + 628, + 629, + 630, + 631, + 632, + 633, + 634, + 635, + 636, + 637, + 638, + 639, + 640, + 641, + 642, + 643, + 644, + 645, + 646, + 647, + 648, + 649, + 650, + 651, + 652, + 653, + 654, + 655, + 656, + 657, + 658, + 659, + 660, + 661, + 662, + 663, + 664, + 665, + 666, + 667, + 668, + 669, + 670, + 671, + 672, + 673, + 674, + 675, + 676, + 677, + 678, + 679, + 680, + 681, + 682, + 683, + 684, + 685, + 686, + 687, + 688, + 689, + 690, + 691, + 692, + 693, + 694, + 695, + 696, + 697, + 698, + 699, + 700, + 701, + 702, + 703, + 704, + 705, + 706, + 707, + 708, + 709, + 710, + 711, + 712, + 713, + 714, + 715, + 716, + 717, + 718, + 719, + 720, + 721, + 722, + 723, + 724, + 725, + 726, + 727, + 728, + 729, + 730, + 731, + 732, + 733, + 734, + 735, + 736, + 737, + 738, + 739, + 740, + 741, + 742, + 743, + 744, + 745, + 746, + 747, + 748, + 749, + 750, + 751, + 752, + 753, + 754, + 755, + 756, + 757, + 758, + 759, + 760, + 761, + 762, + 763, + 764, + 765, + 766, + 767, + 768, + 769, + 770, + 771, + 772, + 773, + 774, + 775, + 776, + 777, + 778, + 779, + 780, + 781, + 782, + 783, + 784, + 785, + 786, + 787, + 788, + 789, + 790, + 791, + 792, + 793, + 794, + 795, + 796, + 797, + 798, + 799, + 800, + 801, + 802, + 803, + 804, + 805, + 806, + 807, + 808, + 809, + 810, + 811, + 812, + 813, + 814, + 815, + 816, + 817, + 818, + 819, + 820, + 821, + 822, + 823, + 824, + 825, + 826, + 827, + 828, + 829, + 830, + 831, + 832, + 833, + 834, + 835, + 836, + 837, + 838, + 839, + 840, + 841, + 842, + 843, + 844, + 845, + 846, + 847, + 848, + 849, + 850, + 851, + 852, + 853, + 854, + 855, + 856, + 857, + 858, + 859, + 860, + 861, + 862, + 863, + 864, + 865, + 866, + 867, + 868, + 869, + 870, + 871, + 872, + 873, + 874, + 875, + 876, + 877, + 878, + 879, + 880, + 881, + 882, + 883, + 884, + 885, + 886, + 887, + 888, + 889, + 890, + 891, + 892, + 893, + 894, + 895, + 896, + 897, + 898, + 899, + 900, + 901, + 902, + 903, + 904, + 905, + 906, + 907, + 908, + 909, + 910, + 911, + 912, + 913, + 914, + 915, + 916, + 917, + 918, + 919, + 920, + 921, + 922, + 923, + 924, + 925, + 926, + 927, + 928, + 929, + 930, + 931, + 932, + 933, + 934, + 935, + 936, + 937, + 938, + 939, + 940, + 941, + 942, + 943, + 944, + 945, + 946, + 947, + 948, + 949, + 950, + 951, + 952, + 953, + 954, + 955, + 956, + 957, + 958, + 959, + 960, + 961, + 962, + 963, + 964, + 965, + 966, + 967, + 968, + 969, + 970, + 971, + 972, + 973, + 974, + 975, + 976, + 977, + 978, + 979, + 980, + 981, + 982, + 983, + 984, + 985, + 986, + 987, + 988, + 989, + 990, + 991, + 992, + 993, + 994, + 995, + 996, + 997, + 998, + 999, + 1000 + ], + "mytable1_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10 + ], + "mytable1_rows_selected": null, + "mytable1_search": "", + "mytable1_state": { + "start": 0, + "length": 10, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "show_vars": [ + "carat", + "cut", + "color", + "clarity", + "depth", + "table", + "price", + "x", + "y", + "z" + ] + }, + "output": { + "mytable1": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n carat<\/th>\n cut<\/th>\n color<\/th>\n clarity<\/th>\n depth<\/th>\n table<\/th>\n price<\/th>\n x<\/th>\n y<\/th>\n z<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 5, + 6, + 7, + 8, + 9, + 10 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "carat", + "targets": 1 + }, + { + "name": "cut", + "targets": 2 + }, + { + "name": "color", + "targets": 3 + }, + { + "name": "clarity", + "targets": 4 + }, + { + "name": "depth", + "targets": 5 + }, + { + "name": "table", + "targets": 6 + }, + { + "name": "price", + "targets": 7 + }, + { + "name": "x", + "targets": 8 + }, + { + "name": "y", + "targets": 9 + }, + { + "name": "z", + "targets": 10 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/012-datatables/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/012-datatables/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..22d132be4b Binary files /dev/null and b/inst/apps/012-datatables/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/012-datatables/tests/testthat/_snaps/mac-4.4/mytest/003.json b/inst/apps/012-datatables/tests/testthat/_snaps/mac-4.4/mytest/003.json new file mode 100644 index 0000000000..8e9ef06d4b --- /dev/null +++ b/inst/apps/012-datatables/tests/testthat/_snaps/mac-4.4/mytest/003.json @@ -0,0 +1,1268 @@ +{ + "input": { + "dataset": "diamonds", + "mytable1_cell_clicked": { + + }, + "mytable1_cells_selected": [ + + ], + "mytable1_columns_selected": null, + "mytable1_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150, + 151, + 152, + 153, + 154, + 155, + 156, + 157, + 158, + 159, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167, + 168, + 169, + 170, + 171, + 172, + 173, + 174, + 175, + 176, + 177, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 196, + 197, + 198, + 199, + 200, + 201, + 202, + 203, + 204, + 205, + 206, + 207, + 208, + 209, + 210, + 211, + 212, + 213, + 214, + 215, + 216, + 217, + 218, + 219, + 220, + 221, + 222, + 223, + 224, + 225, + 226, + 227, + 228, + 229, + 230, + 231, + 232, + 233, + 234, + 235, + 236, + 237, + 238, + 239, + 240, + 241, + 242, + 243, + 244, + 245, + 246, + 247, + 248, + 249, + 250, + 251, + 252, + 253, + 254, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 271, + 272, + 273, + 274, + 275, + 276, + 277, + 278, + 279, + 280, + 281, + 282, + 283, + 284, + 285, + 286, + 287, + 288, + 289, + 290, + 291, + 292, + 293, + 294, + 295, + 296, + 297, + 298, + 299, + 300, + 301, + 302, + 303, + 304, + 305, + 306, + 307, + 308, + 309, + 310, + 311, + 312, + 313, + 314, + 315, + 316, + 317, + 318, + 319, + 320, + 321, + 322, + 323, + 324, + 325, + 326, + 327, + 328, + 329, + 330, + 331, + 332, + 333, + 334, + 335, + 336, + 337, + 338, + 339, + 340, + 341, + 342, + 343, + 344, + 345, + 346, + 347, + 348, + 349, + 350, + 351, + 352, + 353, + 354, + 355, + 356, + 357, + 358, + 359, + 360, + 361, + 362, + 363, + 364, + 365, + 366, + 367, + 368, + 369, + 370, + 371, + 372, + 373, + 374, + 375, + 376, + 377, + 378, + 379, + 380, + 381, + 382, + 383, + 384, + 385, + 386, + 387, + 388, + 389, + 390, + 391, + 392, + 393, + 394, + 395, + 396, + 397, + 398, + 399, + 400, + 401, + 402, + 403, + 404, + 405, + 406, + 407, + 408, + 409, + 410, + 411, + 412, + 413, + 414, + 415, + 416, + 417, + 418, + 419, + 420, + 421, + 422, + 423, + 424, + 425, + 426, + 427, + 428, + 429, + 430, + 431, + 432, + 433, + 434, + 435, + 436, + 437, + 438, + 439, + 440, + 441, + 442, + 443, + 444, + 445, + 446, + 447, + 448, + 449, + 450, + 451, + 452, + 453, + 454, + 455, + 456, + 457, + 458, + 459, + 460, + 461, + 462, + 463, + 464, + 465, + 466, + 467, + 468, + 469, + 470, + 471, + 472, + 473, + 474, + 475, + 476, + 477, + 478, + 479, + 480, + 481, + 482, + 483, + 484, + 485, + 486, + 487, + 488, + 489, + 490, + 491, + 492, + 493, + 494, + 495, + 496, + 497, + 498, + 499, + 500, + 501, + 502, + 503, + 504, + 505, + 506, + 507, + 508, + 509, + 510, + 511, + 512, + 513, + 514, + 515, + 516, + 517, + 518, + 519, + 520, + 521, + 522, + 523, + 524, + 525, + 526, + 527, + 528, + 529, + 530, + 531, + 532, + 533, + 534, + 535, + 536, + 537, + 538, + 539, + 540, + 541, + 542, + 543, + 544, + 545, + 546, + 547, + 548, + 549, + 550, + 551, + 552, + 553, + 554, + 555, + 556, + 557, + 558, + 559, + 560, + 561, + 562, + 563, + 564, + 565, + 566, + 567, + 568, + 569, + 570, + 571, + 572, + 573, + 574, + 575, + 576, + 577, + 578, + 579, + 580, + 581, + 582, + 583, + 584, + 585, + 586, + 587, + 588, + 589, + 590, + 591, + 592, + 593, + 594, + 595, + 596, + 597, + 598, + 599, + 600, + 601, + 602, + 603, + 604, + 605, + 606, + 607, + 608, + 609, + 610, + 611, + 612, + 613, + 614, + 615, + 616, + 617, + 618, + 619, + 620, + 621, + 622, + 623, + 624, + 625, + 626, + 627, + 628, + 629, + 630, + 631, + 632, + 633, + 634, + 635, + 636, + 637, + 638, + 639, + 640, + 641, + 642, + 643, + 644, + 645, + 646, + 647, + 648, + 649, + 650, + 651, + 652, + 653, + 654, + 655, + 656, + 657, + 658, + 659, + 660, + 661, + 662, + 663, + 664, + 665, + 666, + 667, + 668, + 669, + 670, + 671, + 672, + 673, + 674, + 675, + 676, + 677, + 678, + 679, + 680, + 681, + 682, + 683, + 684, + 685, + 686, + 687, + 688, + 689, + 690, + 691, + 692, + 693, + 694, + 695, + 696, + 697, + 698, + 699, + 700, + 701, + 702, + 703, + 704, + 705, + 706, + 707, + 708, + 709, + 710, + 711, + 712, + 713, + 714, + 715, + 716, + 717, + 718, + 719, + 720, + 721, + 722, + 723, + 724, + 725, + 726, + 727, + 728, + 729, + 730, + 731, + 732, + 733, + 734, + 735, + 736, + 737, + 738, + 739, + 740, + 741, + 742, + 743, + 744, + 745, + 746, + 747, + 748, + 749, + 750, + 751, + 752, + 753, + 754, + 755, + 756, + 757, + 758, + 759, + 760, + 761, + 762, + 763, + 764, + 765, + 766, + 767, + 768, + 769, + 770, + 771, + 772, + 773, + 774, + 775, + 776, + 777, + 778, + 779, + 780, + 781, + 782, + 783, + 784, + 785, + 786, + 787, + 788, + 789, + 790, + 791, + 792, + 793, + 794, + 795, + 796, + 797, + 798, + 799, + 800, + 801, + 802, + 803, + 804, + 805, + 806, + 807, + 808, + 809, + 810, + 811, + 812, + 813, + 814, + 815, + 816, + 817, + 818, + 819, + 820, + 821, + 822, + 823, + 824, + 825, + 826, + 827, + 828, + 829, + 830, + 831, + 832, + 833, + 834, + 835, + 836, + 837, + 838, + 839, + 840, + 841, + 842, + 843, + 844, + 845, + 846, + 847, + 848, + 849, + 850, + 851, + 852, + 853, + 854, + 855, + 856, + 857, + 858, + 859, + 860, + 861, + 862, + 863, + 864, + 865, + 866, + 867, + 868, + 869, + 870, + 871, + 872, + 873, + 874, + 875, + 876, + 877, + 878, + 879, + 880, + 881, + 882, + 883, + 884, + 885, + 886, + 887, + 888, + 889, + 890, + 891, + 892, + 893, + 894, + 895, + 896, + 897, + 898, + 899, + 900, + 901, + 902, + 903, + 904, + 905, + 906, + 907, + 908, + 909, + 910, + 911, + 912, + 913, + 914, + 915, + 916, + 917, + 918, + 919, + 920, + 921, + 922, + 923, + 924, + 925, + 926, + 927, + 928, + 929, + 930, + 931, + 932, + 933, + 934, + 935, + 936, + 937, + 938, + 939, + 940, + 941, + 942, + 943, + 944, + 945, + 946, + 947, + 948, + 949, + 950, + 951, + 952, + 953, + 954, + 955, + 956, + 957, + 958, + 959, + 960, + 961, + 962, + 963, + 964, + 965, + 966, + 967, + 968, + 969, + 970, + 971, + 972, + 973, + 974, + 975, + 976, + 977, + 978, + 979, + 980, + 981, + 982, + 983, + 984, + 985, + 986, + 987, + 988, + 989, + 990, + 991, + 992, + 993, + 994, + 995, + 996, + 997, + 998, + 999, + 1000 + ], + "mytable1_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10 + ], + "mytable1_rows_selected": null, + "mytable1_search": "", + "mytable1_state": { + "start": 0, + "length": 10, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "show_vars": [ + "carat", + "cut", + "color", + "clarity", + "price", + "x", + "y", + "z" + ] + }, + "output": { + "mytable1": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n carat<\/th>\n cut<\/th>\n color<\/th>\n clarity<\/th>\n price<\/th>\n x<\/th>\n y<\/th>\n z<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 5, + 6, + 7, + 8 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "carat", + "targets": 1 + }, + { + "name": "cut", + "targets": 2 + }, + { + "name": "color", + "targets": 3 + }, + { + "name": "clarity", + "targets": 4 + }, + { + "name": "price", + "targets": 5 + }, + { + "name": "x", + "targets": 6 + }, + { + "name": "y", + "targets": 7 + }, + { + "name": "z", + "targets": 8 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/012-datatables/tests/testthat/_snaps/mac-4.4/mytest/004.png b/inst/apps/012-datatables/tests/testthat/_snaps/mac-4.4/mytest/004.png new file mode 100644 index 0000000000..9b6c7cc5c4 Binary files /dev/null and b/inst/apps/012-datatables/tests/testthat/_snaps/mac-4.4/mytest/004.png differ diff --git a/inst/apps/012-datatables/tests/testthat/_snaps/mac-4.4/mytest/005.json b/inst/apps/012-datatables/tests/testthat/_snaps/mac-4.4/mytest/005.json new file mode 100644 index 0000000000..59c70bbf13 --- /dev/null +++ b/inst/apps/012-datatables/tests/testthat/_snaps/mac-4.4/mytest/005.json @@ -0,0 +1,1162 @@ +{ + "input": { + "dataset": "diamonds", + "mytable1_cell_clicked": { + + }, + "mytable1_cells_selected": [ + + ], + "mytable1_columns_selected": null, + "mytable1_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150, + 151, + 152, + 153, + 154, + 155, + 156, + 157, + 158, + 159, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167, + 168, + 169, + 170, + 171, + 172, + 173, + 174, + 175, + 176, + 177, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 196, + 197, + 198, + 199, + 200, + 201, + 202, + 203, + 204, + 205, + 206, + 207, + 208, + 209, + 210, + 211, + 212, + 213, + 214, + 215, + 216, + 217, + 218, + 219, + 220, + 221, + 222, + 223, + 224, + 225, + 226, + 227, + 228, + 229, + 230, + 231, + 232, + 233, + 234, + 235, + 236, + 237, + 238, + 239, + 240, + 241, + 242, + 243, + 244, + 245, + 246, + 247, + 248, + 249, + 250, + 251, + 252, + 253, + 254, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 271, + 272, + 273, + 274, + 275, + 276, + 277, + 278, + 279, + 280, + 281, + 282, + 283, + 284, + 285, + 286, + 287, + 288, + 289, + 290, + 291, + 292, + 293, + 294, + 295, + 296, + 297, + 298, + 299, + 300, + 301, + 302, + 303, + 304, + 305, + 306, + 307, + 308, + 309, + 310, + 311, + 312, + 313, + 314, + 315, + 316, + 317, + 318, + 319, + 320, + 321, + 322, + 323, + 324, + 325, + 326, + 327, + 328, + 329, + 330, + 331, + 332, + 333, + 334, + 335, + 336, + 337, + 338, + 339, + 340, + 341, + 342, + 343, + 344, + 345, + 346, + 347, + 348, + 349, + 350, + 351, + 352, + 353, + 354, + 355, + 356, + 357, + 358, + 359, + 360, + 361, + 362, + 363, + 364, + 365, + 366, + 367, + 368, + 369, + 370, + 371, + 372, + 373, + 374, + 375, + 376, + 377, + 378, + 379, + 380, + 381, + 382, + 383, + 384, + 385, + 386, + 387, + 388, + 389, + 390, + 391, + 392, + 393, + 394, + 395, + 396, + 397, + 398, + 399, + 400, + 401, + 402, + 403, + 404, + 405, + 406, + 407, + 408, + 409, + 410, + 411, + 412, + 413, + 414, + 415, + 416, + 417, + 418, + 419, + 420, + 421, + 422, + 423, + 424, + 425, + 426, + 427, + 428, + 429, + 430, + 431, + 432, + 433, + 434, + 435, + 436, + 437, + 438, + 439, + 440, + 441, + 442, + 443, + 444, + 445, + 446, + 447, + 448, + 449, + 450, + 451, + 452, + 453, + 454, + 455, + 456, + 457, + 458, + 459, + 460, + 461, + 462, + 463, + 464, + 465, + 466, + 467, + 468, + 469, + 470, + 471, + 472, + 473, + 474, + 475, + 476, + 477, + 478, + 479, + 480, + 481, + 482, + 483, + 484, + 485, + 486, + 487, + 488, + 489, + 490, + 491, + 492, + 493, + 494, + 495, + 496, + 497, + 498, + 499, + 500, + 501, + 502, + 503, + 504, + 505, + 506, + 507, + 508, + 509, + 510, + 511, + 512, + 513, + 514, + 515, + 516, + 517, + 518, + 519, + 520, + 521, + 522, + 523, + 524, + 525, + 526, + 527, + 528, + 529, + 530, + 531, + 532, + 533, + 534, + 535, + 536, + 537, + 538, + 539, + 540, + 541, + 542, + 543, + 544, + 545, + 546, + 547, + 548, + 549, + 550, + 551, + 552, + 553, + 554, + 555, + 556, + 557, + 558, + 559, + 560, + 561, + 562, + 563, + 564, + 565, + 566, + 567, + 568, + 569, + 570, + 571, + 572, + 573, + 574, + 575, + 576, + 577, + 578, + 579, + 580, + 581, + 582, + 583, + 584, + 585, + 586, + 587, + 588, + 589, + 590, + 591, + 592, + 593, + 594, + 595, + 596, + 597, + 598, + 599, + 600, + 601, + 602, + 603, + 604, + 605, + 606, + 607, + 608, + 609, + 610, + 611, + 612, + 613, + 614, + 615, + 616, + 617, + 618, + 619, + 620, + 621, + 622, + 623, + 624, + 625, + 626, + 627, + 628, + 629, + 630, + 631, + 632, + 633, + 634, + 635, + 636, + 637, + 638, + 639, + 640, + 641, + 642, + 643, + 644, + 645, + 646, + 647, + 648, + 649, + 650, + 651, + 652, + 653, + 654, + 655, + 656, + 657, + 658, + 659, + 660, + 661, + 662, + 663, + 664, + 665, + 666, + 667, + 668, + 669, + 670, + 671, + 672, + 673, + 674, + 675, + 676, + 677, + 678, + 679, + 680, + 681, + 682, + 683, + 684, + 685, + 686, + 687, + 688, + 689, + 690, + 691, + 692, + 693, + 694, + 695, + 696, + 697, + 698, + 699, + 700, + 701, + 702, + 703, + 704, + 705, + 706, + 707, + 708, + 709, + 710, + 711, + 712, + 713, + 714, + 715, + 716, + 717, + 718, + 719, + 720, + 721, + 722, + 723, + 724, + 725, + 726, + 727, + 728, + 729, + 730, + 731, + 732, + 733, + 734, + 735, + 736, + 737, + 738, + 739, + 740, + 741, + 742, + 743, + 744, + 745, + 746, + 747, + 748, + 749, + 750, + 751, + 752, + 753, + 754, + 755, + 756, + 757, + 758, + 759, + 760, + 761, + 762, + 763, + 764, + 765, + 766, + 767, + 768, + 769, + 770, + 771, + 772, + 773, + 774, + 775, + 776, + 777, + 778, + 779, + 780, + 781, + 782, + 783, + 784, + 785, + 786, + 787, + 788, + 789, + 790, + 791, + 792, + 793, + 794, + 795, + 796, + 797, + 798, + 799, + 800, + 801, + 802, + 803, + 804, + 805, + 806, + 807, + 808, + 809, + 810, + 811, + 812, + 813, + 814, + 815, + 816, + 817, + 818, + 819, + 820, + 821, + 822, + 823, + 824, + 825, + 826, + 827, + 828, + 829, + 830, + 831, + 832, + 833, + 834, + 835, + 836, + 837, + 838, + 839, + 840, + 841, + 842, + 843, + 844, + 845, + 846, + 847, + 848, + 849, + 850, + 851, + 852, + 853, + 854, + 855, + 856, + 857, + 858, + 859, + 860, + 861, + 862, + 863, + 864, + 865, + 866, + 867, + 868, + 869, + 870, + 871, + 872, + 873, + 874, + 875, + 876, + 877, + 878, + 879, + 880, + 881, + 882, + 883, + 884, + 885, + 886, + 887, + 888, + 889, + 890, + 891, + 892, + 893, + 894, + 895, + 896, + 897, + 898, + 899, + 900, + 901, + 902, + 903, + 904, + 905, + 906, + 907, + 908, + 909, + 910, + 911, + 912, + 913, + 914, + 915, + 916, + 917, + 918, + 919, + 920, + 921, + 922, + 923, + 924, + 925, + 926, + 927, + 928, + 929, + 930, + 931, + 932, + 933, + 934, + 935, + 936, + 937, + 938, + 939, + 940, + 941, + 942, + 943, + 944, + 945, + 946, + 947, + 948, + 949, + 950, + 951, + 952, + 953, + 954, + 955, + 956, + 957, + 958, + 959, + 960, + 961, + 962, + 963, + 964, + 965, + 966, + 967, + 968, + 969, + 970, + 971, + 972, + 973, + 974, + 975, + 976, + 977, + 978, + 979, + 980, + 981, + 982, + 983, + 984, + 985, + 986, + 987, + 988, + 989, + 990, + 991, + 992, + 993, + 994, + 995, + 996, + 997, + 998, + 999, + 1000 + ], + "mytable1_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10 + ], + "mytable1_rows_selected": null, + "mytable1_search": "", + "mytable1_state": { + "start": 0, + "length": 10, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "show_vars": "z" + }, + "output": { + "mytable1": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n z<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "columnDefs": [ + { + "className": "dt-right", + "targets": 1 + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "z", + "targets": 1 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/012-datatables/tests/testthat/_snaps/mac-4.4/mytest/006.png b/inst/apps/012-datatables/tests/testthat/_snaps/mac-4.4/mytest/006.png new file mode 100644 index 0000000000..a843d87d2e Binary files /dev/null and b/inst/apps/012-datatables/tests/testthat/_snaps/mac-4.4/mytest/006.png differ diff --git a/inst/apps/012-datatables/tests/testthat/_snaps/mac-4.4/mytest/007.json b/inst/apps/012-datatables/tests/testthat/_snaps/mac-4.4/mytest/007.json new file mode 100644 index 0000000000..7e51d38cad --- /dev/null +++ b/inst/apps/012-datatables/tests/testthat/_snaps/mac-4.4/mytest/007.json @@ -0,0 +1,1487 @@ +{ + "input": { + "dataset": "mtcars", + "mytable1_cell_clicked": { + + }, + "mytable1_cells_selected": [ + + ], + "mytable1_columns_selected": null, + "mytable1_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150, + 151, + 152, + 153, + 154, + 155, + 156, + 157, + 158, + 159, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167, + 168, + 169, + 170, + 171, + 172, + 173, + 174, + 175, + 176, + 177, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 196, + 197, + 198, + 199, + 200, + 201, + 202, + 203, + 204, + 205, + 206, + 207, + 208, + 209, + 210, + 211, + 212, + 213, + 214, + 215, + 216, + 217, + 218, + 219, + 220, + 221, + 222, + 223, + 224, + 225, + 226, + 227, + 228, + 229, + 230, + 231, + 232, + 233, + 234, + 235, + 236, + 237, + 238, + 239, + 240, + 241, + 242, + 243, + 244, + 245, + 246, + 247, + 248, + 249, + 250, + 251, + 252, + 253, + 254, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 271, + 272, + 273, + 274, + 275, + 276, + 277, + 278, + 279, + 280, + 281, + 282, + 283, + 284, + 285, + 286, + 287, + 288, + 289, + 290, + 291, + 292, + 293, + 294, + 295, + 296, + 297, + 298, + 299, + 300, + 301, + 302, + 303, + 304, + 305, + 306, + 307, + 308, + 309, + 310, + 311, + 312, + 313, + 314, + 315, + 316, + 317, + 318, + 319, + 320, + 321, + 322, + 323, + 324, + 325, + 326, + 327, + 328, + 329, + 330, + 331, + 332, + 333, + 334, + 335, + 336, + 337, + 338, + 339, + 340, + 341, + 342, + 343, + 344, + 345, + 346, + 347, + 348, + 349, + 350, + 351, + 352, + 353, + 354, + 355, + 356, + 357, + 358, + 359, + 360, + 361, + 362, + 363, + 364, + 365, + 366, + 367, + 368, + 369, + 370, + 371, + 372, + 373, + 374, + 375, + 376, + 377, + 378, + 379, + 380, + 381, + 382, + 383, + 384, + 385, + 386, + 387, + 388, + 389, + 390, + 391, + 392, + 393, + 394, + 395, + 396, + 397, + 398, + 399, + 400, + 401, + 402, + 403, + 404, + 405, + 406, + 407, + 408, + 409, + 410, + 411, + 412, + 413, + 414, + 415, + 416, + 417, + 418, + 419, + 420, + 421, + 422, + 423, + 424, + 425, + 426, + 427, + 428, + 429, + 430, + 431, + 432, + 433, + 434, + 435, + 436, + 437, + 438, + 439, + 440, + 441, + 442, + 443, + 444, + 445, + 446, + 447, + 448, + 449, + 450, + 451, + 452, + 453, + 454, + 455, + 456, + 457, + 458, + 459, + 460, + 461, + 462, + 463, + 464, + 465, + 466, + 467, + 468, + 469, + 470, + 471, + 472, + 473, + 474, + 475, + 476, + 477, + 478, + 479, + 480, + 481, + 482, + 483, + 484, + 485, + 486, + 487, + 488, + 489, + 490, + 491, + 492, + 493, + 494, + 495, + 496, + 497, + 498, + 499, + 500, + 501, + 502, + 503, + 504, + 505, + 506, + 507, + 508, + 509, + 510, + 511, + 512, + 513, + 514, + 515, + 516, + 517, + 518, + 519, + 520, + 521, + 522, + 523, + 524, + 525, + 526, + 527, + 528, + 529, + 530, + 531, + 532, + 533, + 534, + 535, + 536, + 537, + 538, + 539, + 540, + 541, + 542, + 543, + 544, + 545, + 546, + 547, + 548, + 549, + 550, + 551, + 552, + 553, + 554, + 555, + 556, + 557, + 558, + 559, + 560, + 561, + 562, + 563, + 564, + 565, + 566, + 567, + 568, + 569, + 570, + 571, + 572, + 573, + 574, + 575, + 576, + 577, + 578, + 579, + 580, + 581, + 582, + 583, + 584, + 585, + 586, + 587, + 588, + 589, + 590, + 591, + 592, + 593, + 594, + 595, + 596, + 597, + 598, + 599, + 600, + 601, + 602, + 603, + 604, + 605, + 606, + 607, + 608, + 609, + 610, + 611, + 612, + 613, + 614, + 615, + 616, + 617, + 618, + 619, + 620, + 621, + 622, + 623, + 624, + 625, + 626, + 627, + 628, + 629, + 630, + 631, + 632, + 633, + 634, + 635, + 636, + 637, + 638, + 639, + 640, + 641, + 642, + 643, + 644, + 645, + 646, + 647, + 648, + 649, + 650, + 651, + 652, + 653, + 654, + 655, + 656, + 657, + 658, + 659, + 660, + 661, + 662, + 663, + 664, + 665, + 666, + 667, + 668, + 669, + 670, + 671, + 672, + 673, + 674, + 675, + 676, + 677, + 678, + 679, + 680, + 681, + 682, + 683, + 684, + 685, + 686, + 687, + 688, + 689, + 690, + 691, + 692, + 693, + 694, + 695, + 696, + 697, + 698, + 699, + 700, + 701, + 702, + 703, + 704, + 705, + 706, + 707, + 708, + 709, + 710, + 711, + 712, + 713, + 714, + 715, + 716, + 717, + 718, + 719, + 720, + 721, + 722, + 723, + 724, + 725, + 726, + 727, + 728, + 729, + 730, + 731, + 732, + 733, + 734, + 735, + 736, + 737, + 738, + 739, + 740, + 741, + 742, + 743, + 744, + 745, + 746, + 747, + 748, + 749, + 750, + 751, + 752, + 753, + 754, + 755, + 756, + 757, + 758, + 759, + 760, + 761, + 762, + 763, + 764, + 765, + 766, + 767, + 768, + 769, + 770, + 771, + 772, + 773, + 774, + 775, + 776, + 777, + 778, + 779, + 780, + 781, + 782, + 783, + 784, + 785, + 786, + 787, + 788, + 789, + 790, + 791, + 792, + 793, + 794, + 795, + 796, + 797, + 798, + 799, + 800, + 801, + 802, + 803, + 804, + 805, + 806, + 807, + 808, + 809, + 810, + 811, + 812, + 813, + 814, + 815, + 816, + 817, + 818, + 819, + 820, + 821, + 822, + 823, + 824, + 825, + 826, + 827, + 828, + 829, + 830, + 831, + 832, + 833, + 834, + 835, + 836, + 837, + 838, + 839, + 840, + 841, + 842, + 843, + 844, + 845, + 846, + 847, + 848, + 849, + 850, + 851, + 852, + 853, + 854, + 855, + 856, + 857, + 858, + 859, + 860, + 861, + 862, + 863, + 864, + 865, + 866, + 867, + 868, + 869, + 870, + 871, + 872, + 873, + 874, + 875, + 876, + 877, + 878, + 879, + 880, + 881, + 882, + 883, + 884, + 885, + 886, + 887, + 888, + 889, + 890, + 891, + 892, + 893, + 894, + 895, + 896, + 897, + 898, + 899, + 900, + 901, + 902, + 903, + 904, + 905, + 906, + 907, + 908, + 909, + 910, + 911, + 912, + 913, + 914, + 915, + 916, + 917, + 918, + 919, + 920, + 921, + 922, + 923, + 924, + 925, + 926, + 927, + 928, + 929, + 930, + 931, + 932, + 933, + 934, + 935, + 936, + 937, + 938, + 939, + 940, + 941, + 942, + 943, + 944, + 945, + 946, + 947, + 948, + 949, + 950, + 951, + 952, + 953, + 954, + 955, + 956, + 957, + 958, + 959, + 960, + 961, + 962, + 963, + 964, + 965, + 966, + 967, + 968, + 969, + 970, + 971, + 972, + 973, + 974, + 975, + 976, + 977, + 978, + 979, + 980, + 981, + 982, + 983, + 984, + 985, + 986, + 987, + 988, + 989, + 990, + 991, + 992, + 993, + 994, + 995, + 996, + 997, + 998, + 999, + 1000 + ], + "mytable1_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10 + ], + "mytable1_rows_selected": null, + "mytable1_search": "", + "mytable1_state": { + "start": 0, + "length": 10, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "mytable2_cell_clicked": { + + }, + "mytable2_cells_selected": [ + + ], + "mytable2_columns_selected": null, + "mytable2_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32 + ], + "mytable2_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10 + ], + "mytable2_rows_selected": null, + "mytable2_search": "", + "mytable2_state": { + "start": 0, + "length": 10, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "show_vars": "z" + }, + "output": { + "mytable1": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n z<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "columnDefs": [ + { + "className": "dt-right", + "targets": 1 + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "z", + "targets": 1 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + }, + "mytable2": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n mpg<\/th>\n cyl<\/th>\n disp<\/th>\n hp<\/th>\n drat<\/th>\n wt<\/th>\n qsec<\/th>\n vs<\/th>\n am<\/th>\n gear<\/th>\n carb<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "orderClasses": true, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "mpg", + "targets": 1 + }, + { + "name": "cyl", + "targets": 2 + }, + { + "name": "disp", + "targets": 3 + }, + { + "name": "hp", + "targets": 4 + }, + { + "name": "drat", + "targets": 5 + }, + { + "name": "wt", + "targets": 6 + }, + { + "name": "qsec", + "targets": 7 + }, + { + "name": "vs", + "targets": 8 + }, + { + "name": "am", + "targets": 9 + }, + { + "name": "gear", + "targets": 10 + }, + { + "name": "carb", + "targets": 11 + } + ], + "order": [ + + ], + "autoWidth": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/012-datatables/tests/testthat/_snaps/mac-4.4/mytest/008.png b/inst/apps/012-datatables/tests/testthat/_snaps/mac-4.4/mytest/008.png new file mode 100644 index 0000000000..9b6a227045 Binary files /dev/null and b/inst/apps/012-datatables/tests/testthat/_snaps/mac-4.4/mytest/008.png differ diff --git a/inst/apps/013-selectize/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/013-selectize/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..151e8b4311 --- /dev/null +++ b/inst/apps/013-selectize/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,20 @@ +{ + "input": { + "e0": "Alabama", + "e1": "Alabama", + "e2": null, + "e3": "Alabama", + "e4": "Alabama", + "e5": null, + "e6": "", + "e7": "Alabama", + "github": "" + }, + "output": { + "ex_out": "List of 8\n $ e0: chr \"Alabama\"\n $ e1: chr \"Alabama\"\n $ e2: NULL\n $ e3: chr \"Alabama\"\n $ e4: chr \"Alabama\"\n $ e5: NULL\n $ e6: chr \"\"\n $ e7: chr \"Alabama\"", + "github": "You selected nothing in the Github example." + }, + "export": { + + } +} diff --git a/inst/apps/013-selectize/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/013-selectize/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..0ebbc018ea Binary files /dev/null and b/inst/apps/013-selectize/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/013-selectize/tests/testthat/_snaps/linux-4.4/mytest/003.json b/inst/apps/013-selectize/tests/testthat/_snaps/linux-4.4/mytest/003.json new file mode 100644 index 0000000000..eaa7e856ea --- /dev/null +++ b/inst/apps/013-selectize/tests/testthat/_snaps/linux-4.4/mytest/003.json @@ -0,0 +1,23 @@ +{ + "input": { + "e0": "California", + "e1": "Alabama", + "e2": null, + "e3": "Arizona", + "e4": "Alabama", + "e5": [ + "Colorado", + "Connecticut" + ], + "e6": "Arkansas", + "e7": "Arizona", + "github": "" + }, + "output": { + "ex_out": "List of 8\n $ e0: chr \"California\"\n $ e1: chr \"Alabama\"\n $ e2: NULL\n $ e3: chr \"Arizona\"\n $ e4: chr \"Alabama\"\n $ e5: chr [1:2] \"Colorado\" \"Connecticut\"\n $ e6: chr \"Arkansas\"\n $ e7: chr \"Arizona\"", + "github": "You selected nothing in the Github example." + }, + "export": { + + } +} diff --git a/inst/apps/013-selectize/tests/testthat/_snaps/linux-4.4/mytest/004.png b/inst/apps/013-selectize/tests/testthat/_snaps/linux-4.4/mytest/004.png new file mode 100644 index 0000000000..4a3e4145a3 Binary files /dev/null and b/inst/apps/013-selectize/tests/testthat/_snaps/linux-4.4/mytest/004.png differ diff --git a/inst/apps/013-selectize/tests/testthat/_snaps/linux-4.4/mytest/005.json b/inst/apps/013-selectize/tests/testthat/_snaps/linux-4.4/mytest/005.json new file mode 100644 index 0000000000..646eb104a4 --- /dev/null +++ b/inst/apps/013-selectize/tests/testthat/_snaps/linux-4.4/mytest/005.json @@ -0,0 +1,23 @@ +{ + "input": { + "e0": "California", + "e1": "Alabama", + "e2": "California", + "e3": "Arizona", + "e4": "Arizona", + "e5": [ + "Colorado", + "Connecticut" + ], + "e6": "Arkansas", + "e7": "Arizona", + "github": "" + }, + "output": { + "ex_out": "List of 8\n $ e0: chr \"California\"\n $ e1: chr \"Alabama\"\n $ e2: chr \"California\"\n $ e3: chr \"Arizona\"\n $ e4: chr \"Arizona\"\n $ e5: chr [1:2] \"Colorado\" \"Connecticut\"\n $ e6: chr \"Arkansas\"\n $ e7: chr \"Arizona\"", + "github": "You selected nothing in the Github example." + }, + "export": { + + } +} diff --git a/inst/apps/013-selectize/tests/testthat/_snaps/linux-4.4/mytest/006.png b/inst/apps/013-selectize/tests/testthat/_snaps/linux-4.4/mytest/006.png new file mode 100644 index 0000000000..6f5f99b393 Binary files /dev/null and b/inst/apps/013-selectize/tests/testthat/_snaps/linux-4.4/mytest/006.png differ diff --git a/inst/apps/013-selectize/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/013-selectize/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..151e8b4311 --- /dev/null +++ b/inst/apps/013-selectize/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,20 @@ +{ + "input": { + "e0": "Alabama", + "e1": "Alabama", + "e2": null, + "e3": "Alabama", + "e4": "Alabama", + "e5": null, + "e6": "", + "e7": "Alabama", + "github": "" + }, + "output": { + "ex_out": "List of 8\n $ e0: chr \"Alabama\"\n $ e1: chr \"Alabama\"\n $ e2: NULL\n $ e3: chr \"Alabama\"\n $ e4: chr \"Alabama\"\n $ e5: NULL\n $ e6: chr \"\"\n $ e7: chr \"Alabama\"", + "github": "You selected nothing in the Github example." + }, + "export": { + + } +} diff --git a/inst/apps/013-selectize/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/013-selectize/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..0fad368948 Binary files /dev/null and b/inst/apps/013-selectize/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/013-selectize/tests/testthat/_snaps/mac-4.4/mytest/003.json b/inst/apps/013-selectize/tests/testthat/_snaps/mac-4.4/mytest/003.json new file mode 100644 index 0000000000..eaa7e856ea --- /dev/null +++ b/inst/apps/013-selectize/tests/testthat/_snaps/mac-4.4/mytest/003.json @@ -0,0 +1,23 @@ +{ + "input": { + "e0": "California", + "e1": "Alabama", + "e2": null, + "e3": "Arizona", + "e4": "Alabama", + "e5": [ + "Colorado", + "Connecticut" + ], + "e6": "Arkansas", + "e7": "Arizona", + "github": "" + }, + "output": { + "ex_out": "List of 8\n $ e0: chr \"California\"\n $ e1: chr \"Alabama\"\n $ e2: NULL\n $ e3: chr \"Arizona\"\n $ e4: chr \"Alabama\"\n $ e5: chr [1:2] \"Colorado\" \"Connecticut\"\n $ e6: chr \"Arkansas\"\n $ e7: chr \"Arizona\"", + "github": "You selected nothing in the Github example." + }, + "export": { + + } +} diff --git a/inst/apps/013-selectize/tests/testthat/_snaps/mac-4.4/mytest/004.png b/inst/apps/013-selectize/tests/testthat/_snaps/mac-4.4/mytest/004.png new file mode 100644 index 0000000000..c21ac66269 Binary files /dev/null and b/inst/apps/013-selectize/tests/testthat/_snaps/mac-4.4/mytest/004.png differ diff --git a/inst/apps/013-selectize/tests/testthat/_snaps/mac-4.4/mytest/005.json b/inst/apps/013-selectize/tests/testthat/_snaps/mac-4.4/mytest/005.json new file mode 100644 index 0000000000..646eb104a4 --- /dev/null +++ b/inst/apps/013-selectize/tests/testthat/_snaps/mac-4.4/mytest/005.json @@ -0,0 +1,23 @@ +{ + "input": { + "e0": "California", + "e1": "Alabama", + "e2": "California", + "e3": "Arizona", + "e4": "Arizona", + "e5": [ + "Colorado", + "Connecticut" + ], + "e6": "Arkansas", + "e7": "Arizona", + "github": "" + }, + "output": { + "ex_out": "List of 8\n $ e0: chr \"California\"\n $ e1: chr \"Alabama\"\n $ e2: chr \"California\"\n $ e3: chr \"Arizona\"\n $ e4: chr \"Arizona\"\n $ e5: chr [1:2] \"Colorado\" \"Connecticut\"\n $ e6: chr \"Arkansas\"\n $ e7: chr \"Arizona\"", + "github": "You selected nothing in the Github example." + }, + "export": { + + } +} diff --git a/inst/apps/013-selectize/tests/testthat/_snaps/mac-4.4/mytest/006.png b/inst/apps/013-selectize/tests/testthat/_snaps/mac-4.4/mytest/006.png new file mode 100644 index 0000000000..0f6986b4ff Binary files /dev/null and b/inst/apps/013-selectize/tests/testthat/_snaps/mac-4.4/mytest/006.png differ diff --git a/inst/apps/014-onflushed/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/014-onflushed/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..c181fa290b --- /dev/null +++ b/inst/apps/014-onflushed/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,47 @@ +{ + "input": { + + }, + "output": { + "fast": "This happens right away", + "slow": "Please wait for 2 seconds", + "slow_plot": { + "src": "[image data hash: 60005a8b2dfeaed7f88fa9a84cbd829d]", + "width": 962, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 3.16, + "right": 25.84, + "bottom": -2.72, + "top": 124.72 + }, + "range": { + "left": 59.04, + "right": 931.76, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 962, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/014-onflushed/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/014-onflushed/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..ebb15e24fe Binary files /dev/null and b/inst/apps/014-onflushed/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/014-onflushed/tests/testthat/_snaps/linux-4.4/mytest/003.json b/inst/apps/014-onflushed/tests/testthat/_snaps/linux-4.4/mytest/003.json new file mode 100644 index 0000000000..8339c36b3b --- /dev/null +++ b/inst/apps/014-onflushed/tests/testthat/_snaps/linux-4.4/mytest/003.json @@ -0,0 +1,47 @@ +{ + "input": { + + }, + "output": { + "fast": "This happens right away", + "slow": "This happens later", + "slow_plot": { + "src": "[image data hash: 8d20e222040805dd759996eaddc5b636]", + "width": 962, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -3998.96, + "right": 103999.96, + "bottom": -4.8696, + "top": 4.7184 + }, + "range": { + "left": 59.04, + "right": 931.76, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 962, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/014-onflushed/tests/testthat/_snaps/linux-4.4/mytest/004.png b/inst/apps/014-onflushed/tests/testthat/_snaps/linux-4.4/mytest/004.png new file mode 100644 index 0000000000..727abf1799 Binary files /dev/null and b/inst/apps/014-onflushed/tests/testthat/_snaps/linux-4.4/mytest/004.png differ diff --git a/inst/apps/014-onflushed/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/014-onflushed/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..3cbeb45d81 --- /dev/null +++ b/inst/apps/014-onflushed/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,47 @@ +{ + "input": { + + }, + "output": { + "fast": "This happens right away", + "slow": "Please wait for 2 seconds", + "slow_plot": { + "src": "[image data hash: e222bc58a0e47644442ed9fb21742233]", + "width": 962, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 3.16, + "right": 25.84, + "bottom": -2.72, + "top": 124.72 + }, + "range": { + "left": 59.04, + "right": 931.76, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 962, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/014-onflushed/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/014-onflushed/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..fe5f5c8b75 Binary files /dev/null and b/inst/apps/014-onflushed/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/014-onflushed/tests/testthat/_snaps/mac-4.4/mytest/003.json b/inst/apps/014-onflushed/tests/testthat/_snaps/mac-4.4/mytest/003.json new file mode 100644 index 0000000000..d5b7349def --- /dev/null +++ b/inst/apps/014-onflushed/tests/testthat/_snaps/mac-4.4/mytest/003.json @@ -0,0 +1,47 @@ +{ + "input": { + + }, + "output": { + "fast": "This happens right away", + "slow": "This happens later", + "slow_plot": { + "src": "[image data hash: b4717d789331cc031c165986faafda83]", + "width": 962, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -3998.96, + "right": 103999.96, + "bottom": -4.8696, + "top": 4.7184 + }, + "range": { + "left": 59.04, + "right": 931.76, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 962, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/014-onflushed/tests/testthat/_snaps/mac-4.4/mytest/004.png b/inst/apps/014-onflushed/tests/testthat/_snaps/mac-4.4/mytest/004.png new file mode 100644 index 0000000000..d586bb0c33 Binary files /dev/null and b/inst/apps/014-onflushed/tests/testthat/_snaps/mac-4.4/mytest/004.png differ diff --git a/inst/apps/016-knitr-pdf/tests/testthat/_snaps/linux-4.4/mytest.md b/inst/apps/016-knitr-pdf/tests/testthat/_snaps/linux-4.4/mytest.md new file mode 100644 index 0000000000..085e2d3e67 --- /dev/null +++ b/inst/apps/016-knitr-pdf/tests/testthat/_snaps/linux-4.4/mytest.md @@ -0,0 +1,4 @@ +# Migrated shinytest test: mytest.R + + "my-report.html" + diff --git a/inst/apps/016-knitr-pdf/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/016-knitr-pdf/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..08000edfa3 --- /dev/null +++ b/inst/apps/016-knitr-pdf/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,46 @@ +{ + "input": { + "format": "PDF", + "x": "cyl" + }, + "output": { + "regPlot": { + "src": "[image data hash: ee82803200edfc329a2291fe7b85743a]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 3.84, + "right": 8.16, + "bottom": 9.46, + "top": 34.84 + }, + "range": { + "left": 57.63, + "right": 629.8874, + "bottom": 341.4, + "top": 0.44 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/016-knitr-pdf/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/016-knitr-pdf/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..c88df845cb Binary files /dev/null and b/inst/apps/016-knitr-pdf/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/016-knitr-pdf/tests/testthat/_snaps/linux-4.4/mytest/003.json b/inst/apps/016-knitr-pdf/tests/testthat/_snaps/linux-4.4/mytest/003.json new file mode 100644 index 0000000000..16c9f4ada7 --- /dev/null +++ b/inst/apps/016-knitr-pdf/tests/testthat/_snaps/linux-4.4/mytest/003.json @@ -0,0 +1,46 @@ +{ + "input": { + "format": "HTML", + "x": "disp" + }, + "output": { + "regPlot": { + "src": "[image data hash: fe1403b03e2d8ff30935352e936c0d01]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 55.064, + "right": 488.036, + "bottom": 9.46, + "top": 34.84 + }, + "range": { + "left": 57.63, + "right": 629.8874, + "bottom": 341.4, + "top": 0.44 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/016-knitr-pdf/tests/testthat/_snaps/linux-4.4/mytest/004.png b/inst/apps/016-knitr-pdf/tests/testthat/_snaps/linux-4.4/mytest/004.png new file mode 100644 index 0000000000..72808b646a Binary files /dev/null and b/inst/apps/016-knitr-pdf/tests/testthat/_snaps/linux-4.4/mytest/004.png differ diff --git a/inst/apps/016-knitr-pdf/tests/testthat/_snaps/linux-4.4/mytest/005-my-report.html b/inst/apps/016-knitr-pdf/tests/testthat/_snaps/linux-4.4/mytest/005-my-report.html new file mode 100644 index 0000000000..3ba85eacea --- /dev/null +++ b/inst/apps/016-knitr-pdf/tests/testthat/_snaps/linux-4.4/mytest/005-my-report.html @@ -0,0 +1,423 @@ + + + + + + + + + + + + + +report.knit + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +

Here is my regression model:

+
options(digits = 4)
+fit <- lm(regFormula(), data = mtcars)
+b   <- coef(fit)
+summary(fit)
+## 
+## Call:
+## lm(formula = regFormula(), data = mtcars)
+## 
+## Residuals:
+##    Min     1Q Median     3Q    Max 
+## -4.892 -2.202 -0.963  1.627  7.231 
+## 
+## Coefficients:
+##             Estimate Std. Error t value Pr(>|t|)    
+## (Intercept) 29.59985    1.22972   24.07  < 2e-16 ***
+## disp        -0.04122    0.00471   -8.75  9.4e-10 ***
+## ---
+## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
+## 
+## Residual standard error: 3.25 on 30 degrees of freedom
+## Multiple R-squared:  0.718,  Adjusted R-squared:  0.709 
+## F-statistic: 76.5 on 1 and 30 DF,  p-value: 9.38e-10
+

The fitting result is \(mpg = 29.5999 + -0.0412disp\). Below is a scatter plot with the regression line.

+
par(mar = c(4, 4, 1, 1))
+plot(regFormula(), data = mtcars, pch = 19, col = 'gray')
+abline(fit, col = 'red', lwd = 2)
+

+ + + + +
+ + + + + + + + + + + + + + + diff --git a/inst/apps/016-knitr-pdf/tests/testthat/_snaps/mac-4.4/mytest.md b/inst/apps/016-knitr-pdf/tests/testthat/_snaps/mac-4.4/mytest.md new file mode 100644 index 0000000000..085e2d3e67 --- /dev/null +++ b/inst/apps/016-knitr-pdf/tests/testthat/_snaps/mac-4.4/mytest.md @@ -0,0 +1,4 @@ +# Migrated shinytest test: mytest.R + + "my-report.html" + diff --git a/inst/apps/016-knitr-pdf/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/016-knitr-pdf/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..5227fb7d18 --- /dev/null +++ b/inst/apps/016-knitr-pdf/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,46 @@ +{ + "input": { + "format": "PDF", + "x": "cyl" + }, + "output": { + "regPlot": { + "src": "[image data hash: 470c5634b8b360aec96ea860e8a87136]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 3.84, + "right": 8.16, + "bottom": 9.46, + "top": 34.84 + }, + "range": { + "left": 57.63, + "right": 629.8874, + "bottom": 341.4, + "top": 0.44 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/016-knitr-pdf/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/016-knitr-pdf/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..9cac532337 Binary files /dev/null and b/inst/apps/016-knitr-pdf/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/016-knitr-pdf/tests/testthat/_snaps/mac-4.4/mytest/003.json b/inst/apps/016-knitr-pdf/tests/testthat/_snaps/mac-4.4/mytest/003.json new file mode 100644 index 0000000000..f5b31260fc --- /dev/null +++ b/inst/apps/016-knitr-pdf/tests/testthat/_snaps/mac-4.4/mytest/003.json @@ -0,0 +1,46 @@ +{ + "input": { + "format": "HTML", + "x": "disp" + }, + "output": { + "regPlot": { + "src": "[image data hash: 2cb7f3677538d6eb997426d9a4856e8d]", + "width": 631.3281, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 55.064, + "right": 488.036, + "bottom": 9.46, + "top": 34.84 + }, + "range": { + "left": 57.63, + "right": 629.8874, + "bottom": 341.4, + "top": 0.44 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 631.3281, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/016-knitr-pdf/tests/testthat/_snaps/mac-4.4/mytest/004.png b/inst/apps/016-knitr-pdf/tests/testthat/_snaps/mac-4.4/mytest/004.png new file mode 100644 index 0000000000..8a761c632c Binary files /dev/null and b/inst/apps/016-knitr-pdf/tests/testthat/_snaps/mac-4.4/mytest/004.png differ diff --git a/inst/apps/016-knitr-pdf/tests/testthat/_snaps/mac-4.4/mytest/005-my-report.html b/inst/apps/016-knitr-pdf/tests/testthat/_snaps/mac-4.4/mytest/005-my-report.html new file mode 100644 index 0000000000..795e3ce390 --- /dev/null +++ b/inst/apps/016-knitr-pdf/tests/testthat/_snaps/mac-4.4/mytest/005-my-report.html @@ -0,0 +1,423 @@ + + + + + + + + + + + + + +report.knit + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +

Here is my regression model:

+
options(digits = 4)
+fit <- lm(regFormula(), data = mtcars)
+b   <- coef(fit)
+summary(fit)
+## 
+## Call:
+## lm(formula = regFormula(), data = mtcars)
+## 
+## Residuals:
+##    Min     1Q Median     3Q    Max 
+## -4.892 -2.202 -0.963  1.627  7.231 
+## 
+## Coefficients:
+##             Estimate Std. Error t value Pr(>|t|)    
+## (Intercept) 29.59985    1.22972   24.07  < 2e-16 ***
+## disp        -0.04122    0.00471   -8.75  9.4e-10 ***
+## ---
+## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
+## 
+## Residual standard error: 3.25 on 30 degrees of freedom
+## Multiple R-squared:  0.718,  Adjusted R-squared:  0.709 
+## F-statistic: 76.5 on 1 and 30 DF,  p-value: 9.38e-10
+

The fitting result is \(mpg = 29.5999 + -0.0412disp\). Below is a scatter plot with the regression line.

+
par(mar = c(4, 4, 1, 1))
+plot(regFormula(), data = mtcars, pch = 19, col = 'gray')
+abline(fit, col = 'red', lwd = 2)
+

+ + + + +
+ + + + + + + + + + + + + + + diff --git a/inst/apps/017-select-vs-selectize/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/017-select-vs-selectize/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..9990a0d0ea --- /dev/null +++ b/inst/apps/017-select-vs-selectize/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,21 @@ +{ + "input": { + "in1": "", + "in2": "Alabama", + "in3": null, + "in4": "", + "in5": "Alabama", + "in6": null + }, + "output": { + "out1": "[1] \"\"", + "out2": "[1] \"Alabama\"", + "out3": "NULL", + "out4": "[1] \"\"", + "out5": "[1] \"Alabama\"", + "out6": "NULL" + }, + "export": { + + } +} diff --git a/inst/apps/017-select-vs-selectize/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/017-select-vs-selectize/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..858ea858de Binary files /dev/null and b/inst/apps/017-select-vs-selectize/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/017-select-vs-selectize/tests/testthat/_snaps/linux-4.4/mytest/003.json b/inst/apps/017-select-vs-selectize/tests/testthat/_snaps/linux-4.4/mytest/003.json new file mode 100644 index 0000000000..18b20d1cfb --- /dev/null +++ b/inst/apps/017-select-vs-selectize/tests/testthat/_snaps/linux-4.4/mytest/003.json @@ -0,0 +1,25 @@ +{ + "input": { + "in1": "California", + "in2": "Arkansas", + "in3": "Arkansas", + "in4": "Arkansas", + "in5": "Arkansas", + "in6": [ + "Arizona", + "California", + "Connecticut" + ] + }, + "output": { + "out1": "[1] \"California\"", + "out2": "[1] \"Arkansas\"", + "out3": "[1] \"Arkansas\"", + "out4": "[1] \"Arkansas\"", + "out5": "[1] \"Arkansas\"", + "out6": "[1] \"Arizona\" \"California\" \"Connecticut\"" + }, + "export": { + + } +} diff --git a/inst/apps/017-select-vs-selectize/tests/testthat/_snaps/linux-4.4/mytest/004.png b/inst/apps/017-select-vs-selectize/tests/testthat/_snaps/linux-4.4/mytest/004.png new file mode 100644 index 0000000000..d7843f877d Binary files /dev/null and b/inst/apps/017-select-vs-selectize/tests/testthat/_snaps/linux-4.4/mytest/004.png differ diff --git a/inst/apps/017-select-vs-selectize/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/017-select-vs-selectize/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..9990a0d0ea --- /dev/null +++ b/inst/apps/017-select-vs-selectize/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,21 @@ +{ + "input": { + "in1": "", + "in2": "Alabama", + "in3": null, + "in4": "", + "in5": "Alabama", + "in6": null + }, + "output": { + "out1": "[1] \"\"", + "out2": "[1] \"Alabama\"", + "out3": "NULL", + "out4": "[1] \"\"", + "out5": "[1] \"Alabama\"", + "out6": "NULL" + }, + "export": { + + } +} diff --git a/inst/apps/017-select-vs-selectize/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/017-select-vs-selectize/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..54521750e9 Binary files /dev/null and b/inst/apps/017-select-vs-selectize/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/017-select-vs-selectize/tests/testthat/_snaps/mac-4.4/mytest/003.json b/inst/apps/017-select-vs-selectize/tests/testthat/_snaps/mac-4.4/mytest/003.json new file mode 100644 index 0000000000..18b20d1cfb --- /dev/null +++ b/inst/apps/017-select-vs-selectize/tests/testthat/_snaps/mac-4.4/mytest/003.json @@ -0,0 +1,25 @@ +{ + "input": { + "in1": "California", + "in2": "Arkansas", + "in3": "Arkansas", + "in4": "Arkansas", + "in5": "Arkansas", + "in6": [ + "Arizona", + "California", + "Connecticut" + ] + }, + "output": { + "out1": "[1] \"California\"", + "out2": "[1] \"Arkansas\"", + "out3": "[1] \"Arkansas\"", + "out4": "[1] \"Arkansas\"", + "out5": "[1] \"Arkansas\"", + "out6": "[1] \"Arizona\" \"California\" \"Connecticut\"" + }, + "export": { + + } +} diff --git a/inst/apps/017-select-vs-selectize/tests/testthat/_snaps/mac-4.4/mytest/004.png b/inst/apps/017-select-vs-selectize/tests/testthat/_snaps/mac-4.4/mytest/004.png new file mode 100644 index 0000000000..a72eff3f8e Binary files /dev/null and b/inst/apps/017-select-vs-selectize/tests/testthat/_snaps/mac-4.4/mytest/004.png differ diff --git a/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..7ee8a37a6a --- /dev/null +++ b/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,384 @@ +{ + "input": { + "ex1_cell_clicked": { + + }, + "ex1_cells_selected": [ + + ], + "ex1_columns_selected": null, + "ex1_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex1_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ], + "ex1_rows_selected": null, + "ex1_search": "", + "ex1_state": { + "start": 0, + "length": 25, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "tabs": "Display length" + }, + "output": { + "ex1": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "pageLength": 25, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..db9b53e4a6 Binary files /dev/null and b/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/003.json b/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/003.json new file mode 100644 index 0000000000..aaeac3a0af --- /dev/null +++ b/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/003.json @@ -0,0 +1,760 @@ +{ + "input": { + "ex1_cell_clicked": { + + }, + "ex1_cells_selected": [ + + ], + "ex1_columns_selected": null, + "ex1_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex1_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ], + "ex1_rows_selected": null, + "ex1_search": "", + "ex1_state": { + "start": 0, + "length": 25, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "ex2_cell_clicked": { + + }, + "ex2_cells_selected": [ + + ], + "ex2_columns_selected": null, + "ex2_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex2_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15 + ], + "ex2_rows_selected": null, + "ex2_search": "", + "ex2_state": { + "start": 0, + "length": 15, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "tabs": "Length menu" + }, + "output": { + "ex1": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "pageLength": 25, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + }, + "ex2": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "lengthMenu": [ + [ + 5, + 15, + -1 + ], + [ + "5", + "15", + "All" + ] + ], + "pageLength": 15, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/004.png b/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/004.png new file mode 100644 index 0000000000..ace378a97a Binary files /dev/null and b/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/004.png differ diff --git a/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/005.json b/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/005.json new file mode 100644 index 0000000000..45d6b7d2bd --- /dev/null +++ b/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/005.json @@ -0,0 +1,1259 @@ +{ + "input": { + "ex1_cell_clicked": { + + }, + "ex1_cells_selected": [ + + ], + "ex1_columns_selected": null, + "ex1_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex1_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ], + "ex1_rows_selected": null, + "ex1_search": "", + "ex1_state": { + "start": 0, + "length": 25, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "ex2_cell_clicked": { + + }, + "ex2_cells_selected": [ + + ], + "ex2_columns_selected": null, + "ex2_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex2_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15 + ], + "ex2_rows_selected": null, + "ex2_search": "", + "ex2_state": { + "start": 0, + "length": 15, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "ex3_cell_clicked": { + + }, + "ex3_cells_selected": [ + + ], + "ex3_columns_selected": null, + "ex3_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex3_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex3_rows_selected": null, + "ex3_search": "", + "ex3_state": { + "start": 0, + "length": 10, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "tabs": "No pagination" + }, + "output": { + "ex1": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "pageLength": 25, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + }, + "ex2": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "lengthMenu": [ + [ + 5, + 15, + -1 + ], + [ + "5", + "15", + "All" + ] + ], + "pageLength": 15, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + }, + "ex3": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "paging": false, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/006.png b/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/006.png new file mode 100644 index 0000000000..824ab0a90a Binary files /dev/null and b/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/006.png differ diff --git a/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/007.json b/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/007.json new file mode 100644 index 0000000000..0fb33ad00b --- /dev/null +++ b/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/007.json @@ -0,0 +1,1618 @@ +{ + "input": { + "ex1_cell_clicked": { + + }, + "ex1_cells_selected": [ + + ], + "ex1_columns_selected": null, + "ex1_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex1_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ], + "ex1_rows_selected": null, + "ex1_search": "", + "ex1_state": { + "start": 0, + "length": 25, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "ex2_cell_clicked": { + + }, + "ex2_cells_selected": [ + + ], + "ex2_columns_selected": null, + "ex2_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex2_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15 + ], + "ex2_rows_selected": null, + "ex2_search": "", + "ex2_state": { + "start": 0, + "length": 15, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "ex3_cell_clicked": { + + }, + "ex3_cells_selected": [ + + ], + "ex3_columns_selected": null, + "ex3_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex3_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex3_rows_selected": null, + "ex3_search": "", + "ex3_state": { + "start": 0, + "length": 10, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "ex4_cell_clicked": { + + }, + "ex4_cells_selected": [ + + ], + "ex4_columns_selected": null, + "ex4_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex4_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10 + ], + "ex4_rows_selected": null, + "ex4_search": "", + "ex4_state": { + "start": 0, + "length": 10, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "tabs": "No filtering" + }, + "output": { + "ex1": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "pageLength": 25, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + }, + "ex2": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "lengthMenu": [ + [ + 5, + 15, + -1 + ], + [ + "5", + "15", + "All" + ] + ], + "pageLength": 15, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + }, + "ex3": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "paging": false, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + }, + "ex4": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "searching": false, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/008.png b/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/008.png new file mode 100644 index 0000000000..9199187d93 Binary files /dev/null and b/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/008.png differ diff --git a/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/009.json b/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/009.json new file mode 100644 index 0000000000..3e4f761df9 --- /dev/null +++ b/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/009.json @@ -0,0 +1,1978 @@ +{ + "input": { + "ex1_cell_clicked": { + + }, + "ex1_cells_selected": [ + + ], + "ex1_columns_selected": null, + "ex1_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex1_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ], + "ex1_rows_selected": null, + "ex1_search": "", + "ex1_state": { + "start": 0, + "length": 25, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "ex2_cell_clicked": { + + }, + "ex2_cells_selected": [ + + ], + "ex2_columns_selected": null, + "ex2_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex2_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15 + ], + "ex2_rows_selected": null, + "ex2_search": "", + "ex2_state": { + "start": 0, + "length": 15, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "ex3_cell_clicked": { + + }, + "ex3_cells_selected": [ + + ], + "ex3_columns_selected": null, + "ex3_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex3_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex3_rows_selected": null, + "ex3_search": "", + "ex3_state": { + "start": 0, + "length": 10, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "ex4_cell_clicked": { + + }, + "ex4_cells_selected": [ + + ], + "ex4_columns_selected": null, + "ex4_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex4_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10 + ], + "ex4_rows_selected": null, + "ex4_search": "", + "ex4_state": { + "start": 0, + "length": 10, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "ex5_cell_clicked": { + + }, + "ex5_cells_selected": [ + + ], + "ex5_columns_selected": null, + "ex5_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex5_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10 + ], + "ex5_rows_selected": null, + "ex5_search": "", + "ex5_state": { + "start": 0, + "length": 10, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "tabs": "Function callback" + }, + "output": { + "ex1": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "pageLength": 25, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + }, + "ex2": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "lengthMenu": [ + [ + 5, + 15, + -1 + ], + [ + "5", + "15", + "All" + ] + ], + "pageLength": 15, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + }, + "ex3": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "paging": false, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + }, + "ex4": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "searching": false, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + }, + "ex5": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "rowCallback": "function(row, data) {\n // Bold cells for those >= 5 in the first column\n if (parseFloat(data[1]) >= 5.0)\n $(\"td:eq(1)\", row).css(\"font-weight\", \"bold\");\n }", + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.rowCallback", + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/010.png b/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/010.png new file mode 100644 index 0000000000..603201783b Binary files /dev/null and b/inst/apps/018-datatable-options/tests/testthat/_snaps/linux-4.4/mytest/010.png differ diff --git a/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..7ee8a37a6a --- /dev/null +++ b/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,384 @@ +{ + "input": { + "ex1_cell_clicked": { + + }, + "ex1_cells_selected": [ + + ], + "ex1_columns_selected": null, + "ex1_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex1_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ], + "ex1_rows_selected": null, + "ex1_search": "", + "ex1_state": { + "start": 0, + "length": 25, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "tabs": "Display length" + }, + "output": { + "ex1": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "pageLength": 25, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..d02c32f1cb Binary files /dev/null and b/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/003.json b/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/003.json new file mode 100644 index 0000000000..aaeac3a0af --- /dev/null +++ b/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/003.json @@ -0,0 +1,760 @@ +{ + "input": { + "ex1_cell_clicked": { + + }, + "ex1_cells_selected": [ + + ], + "ex1_columns_selected": null, + "ex1_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex1_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ], + "ex1_rows_selected": null, + "ex1_search": "", + "ex1_state": { + "start": 0, + "length": 25, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "ex2_cell_clicked": { + + }, + "ex2_cells_selected": [ + + ], + "ex2_columns_selected": null, + "ex2_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex2_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15 + ], + "ex2_rows_selected": null, + "ex2_search": "", + "ex2_state": { + "start": 0, + "length": 15, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "tabs": "Length menu" + }, + "output": { + "ex1": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "pageLength": 25, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + }, + "ex2": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "lengthMenu": [ + [ + 5, + 15, + -1 + ], + [ + "5", + "15", + "All" + ] + ], + "pageLength": 15, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/004.png b/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/004.png new file mode 100644 index 0000000000..94b299833a Binary files /dev/null and b/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/004.png differ diff --git a/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/005.json b/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/005.json new file mode 100644 index 0000000000..45d6b7d2bd --- /dev/null +++ b/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/005.json @@ -0,0 +1,1259 @@ +{ + "input": { + "ex1_cell_clicked": { + + }, + "ex1_cells_selected": [ + + ], + "ex1_columns_selected": null, + "ex1_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex1_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ], + "ex1_rows_selected": null, + "ex1_search": "", + "ex1_state": { + "start": 0, + "length": 25, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "ex2_cell_clicked": { + + }, + "ex2_cells_selected": [ + + ], + "ex2_columns_selected": null, + "ex2_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex2_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15 + ], + "ex2_rows_selected": null, + "ex2_search": "", + "ex2_state": { + "start": 0, + "length": 15, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "ex3_cell_clicked": { + + }, + "ex3_cells_selected": [ + + ], + "ex3_columns_selected": null, + "ex3_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex3_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex3_rows_selected": null, + "ex3_search": "", + "ex3_state": { + "start": 0, + "length": 10, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "tabs": "No pagination" + }, + "output": { + "ex1": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "pageLength": 25, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + }, + "ex2": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "lengthMenu": [ + [ + 5, + 15, + -1 + ], + [ + "5", + "15", + "All" + ] + ], + "pageLength": 15, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + }, + "ex3": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "paging": false, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/006.png b/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/006.png new file mode 100644 index 0000000000..3c5a37b991 Binary files /dev/null and b/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/006.png differ diff --git a/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/007.json b/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/007.json new file mode 100644 index 0000000000..0fb33ad00b --- /dev/null +++ b/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/007.json @@ -0,0 +1,1618 @@ +{ + "input": { + "ex1_cell_clicked": { + + }, + "ex1_cells_selected": [ + + ], + "ex1_columns_selected": null, + "ex1_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex1_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ], + "ex1_rows_selected": null, + "ex1_search": "", + "ex1_state": { + "start": 0, + "length": 25, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "ex2_cell_clicked": { + + }, + "ex2_cells_selected": [ + + ], + "ex2_columns_selected": null, + "ex2_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex2_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15 + ], + "ex2_rows_selected": null, + "ex2_search": "", + "ex2_state": { + "start": 0, + "length": 15, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "ex3_cell_clicked": { + + }, + "ex3_cells_selected": [ + + ], + "ex3_columns_selected": null, + "ex3_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex3_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex3_rows_selected": null, + "ex3_search": "", + "ex3_state": { + "start": 0, + "length": 10, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "ex4_cell_clicked": { + + }, + "ex4_cells_selected": [ + + ], + "ex4_columns_selected": null, + "ex4_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex4_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10 + ], + "ex4_rows_selected": null, + "ex4_search": "", + "ex4_state": { + "start": 0, + "length": 10, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "tabs": "No filtering" + }, + "output": { + "ex1": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "pageLength": 25, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + }, + "ex2": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "lengthMenu": [ + [ + 5, + 15, + -1 + ], + [ + "5", + "15", + "All" + ] + ], + "pageLength": 15, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + }, + "ex3": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "paging": false, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + }, + "ex4": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "searching": false, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/008.png b/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/008.png new file mode 100644 index 0000000000..e18954fae5 Binary files /dev/null and b/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/008.png differ diff --git a/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/009.json b/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/009.json new file mode 100644 index 0000000000..3e4f761df9 --- /dev/null +++ b/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/009.json @@ -0,0 +1,1978 @@ +{ + "input": { + "ex1_cell_clicked": { + + }, + "ex1_cells_selected": [ + + ], + "ex1_columns_selected": null, + "ex1_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex1_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ], + "ex1_rows_selected": null, + "ex1_search": "", + "ex1_state": { + "start": 0, + "length": 25, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "ex2_cell_clicked": { + + }, + "ex2_cells_selected": [ + + ], + "ex2_columns_selected": null, + "ex2_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex2_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15 + ], + "ex2_rows_selected": null, + "ex2_search": "", + "ex2_state": { + "start": 0, + "length": 15, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "ex3_cell_clicked": { + + }, + "ex3_cells_selected": [ + + ], + "ex3_columns_selected": null, + "ex3_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex3_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex3_rows_selected": null, + "ex3_search": "", + "ex3_state": { + "start": 0, + "length": 10, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "ex4_cell_clicked": { + + }, + "ex4_cells_selected": [ + + ], + "ex4_columns_selected": null, + "ex4_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex4_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10 + ], + "ex4_rows_selected": null, + "ex4_search": "", + "ex4_state": { + "start": 0, + "length": 10, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "ex5_cell_clicked": { + + }, + "ex5_cells_selected": [ + + ], + "ex5_columns_selected": null, + "ex5_rows_all": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150 + ], + "ex5_rows_current": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10 + ], + "ex5_rows_selected": null, + "ex5_search": "", + "ex5_state": { + "start": 0, + "length": 10, + "order": [ + + ], + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + }, + "columns": [ + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + }, + { + "visible": true, + "search": { + "search": "", + "smart": true, + "regex": false, + "caseInsensitive": true + } + } + ] + }, + "tabs": "Function callback" + }, + "output": { + "ex1": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "pageLength": 25, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + }, + "ex2": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "lengthMenu": [ + [ + 5, + 15, + -1 + ], + [ + "5", + "15", + "All" + ] + ], + "pageLength": 15, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + }, + "ex3": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "paging": false, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + }, + "ex4": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "searching": false, + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + }, + "ex5": { + "x": { + "filter": "none", + "vertical": false, + "container": "\n \n \n
<\/th>\n Sepal.Length<\/th>\n Sepal.Width<\/th>\n Petal.Length<\/th>\n Petal.Width<\/th>\n Species<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "options": { + "rowCallback": "function(row, data) {\n // Bold cells for those >= 5 in the first column\n if (parseFloat(data[1]) >= 5.0)\n $(\"td:eq(1)\", row).css(\"font-weight\", \"bold\");\n }", + "columnDefs": [ + { + "className": "dt-right", + "targets": [ + 1, + 2, + 3, + 4 + ] + }, + { + "orderable": false, + "targets": 0 + }, + { + "name": " ", + "targets": 0 + }, + { + "name": "Sepal.Length", + "targets": 1 + }, + { + "name": "Sepal.Width", + "targets": 2 + }, + { + "name": "Petal.Length", + "targets": 3 + }, + { + "name": "Petal.Width", + "targets": 4 + }, + { + "name": "Species", + "targets": 5 + } + ], + "order": [ + + ], + "autoWidth": false, + "orderClasses": false, + "ajax": { + "type": "POST", + "data": "function(d) {\nd.search.caseInsensitive = true;\nd.search.smart = true;\nd.escape = true;\nvar encodeAmp = function(x) { x.value = x.value.replace(/&/g, \"%26\"); }\nencodeAmp(d.search);\n$.each(d.columns, function(i, v) {encodeAmp(v.search);});\n}" + }, + "serverSide": true, + "processing": true + }, + "selection": { + "mode": "multiple", + "selected": null, + "target": "row", + "selectable": null + } + }, + "evals": [ + "options.rowCallback", + "options.ajax.data" + ], + "jsHooks": [ + + ], + "deps": [ + { + "name": "jquery", + "version": "3.6.0", + "src": { + "href": "jquery-3.6.0" + }, + "meta": null, + "script": "jquery-3.6.0.min.js", + "stylesheet": null, + "head": null, + "attachment": null, + "all_files": true + }, + { + "name": "dt-core", + "version": "1.13.6", + "src": { + "href": "dt-core-1.13.6" + }, + "meta": null, + "script": "js/jquery.dataTables.min.js", + "stylesheet": [ + "css/jquery.dataTables.min.css", + "css/jquery.dataTables.extra.css" + ], + "head": null, + "attachment": null, + "package": null, + "all_files": false + }, + { + "name": "crosstalk", + "version": "1.2.1.9000", + "src": { + "href": "crosstalk-1.2.1.9000" + }, + "meta": null, + "script": "js/crosstalk.min.js", + "stylesheet": "css/crosstalk.min.css", + "head": null, + "attachment": null, + "all_files": true + } + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/010.png b/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/010.png new file mode 100644 index 0000000000..892ac19e60 Binary files /dev/null and b/inst/apps/018-datatable-options/tests/testthat/_snaps/mac-4.4/mytest/010.png differ diff --git a/inst/apps/019-mathjax/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/019-mathjax/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..529a916fce --- /dev/null +++ b/inst/apps/019-mathjax/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,35 @@ +{ + "input": { + "ex5_visible": false + }, + "output": { + "ex1": { + "html": "<\/head>\nDynamic output 1: $$\\alpha^2$$<\/span>\n + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +
# The `params` object is available in the document.
+params$n
+
## [1] 75
+

A plot of params$n random points.

+
plot(rnorm(params$n), rnorm(params$n))
+

+ + + + +
+ + + + + + + + + + + + + + + diff --git a/inst/apps/112-generate-report/tests/testthat/_snaps/linux-4.4/mytest/002.json b/inst/apps/112-generate-report/tests/testthat/_snaps/linux-4.4/mytest/002.json new file mode 100644 index 0000000000..52de5aefa1 --- /dev/null +++ b/inst/apps/112-generate-report/tests/testthat/_snaps/linux-4.4/mytest/002.json @@ -0,0 +1,11 @@ +{ + "input": { + "slider": 75 + }, + "output": { + + }, + "export": { + + } +} diff --git a/inst/apps/112-generate-report/tests/testthat/_snaps/linux-4.4/mytest/003.png b/inst/apps/112-generate-report/tests/testthat/_snaps/linux-4.4/mytest/003.png new file mode 100644 index 0000000000..51a26b8037 Binary files /dev/null and b/inst/apps/112-generate-report/tests/testthat/_snaps/linux-4.4/mytest/003.png differ diff --git a/inst/apps/112-generate-report/tests/testthat/_snaps/mac-4.4/mytest.md b/inst/apps/112-generate-report/tests/testthat/_snaps/mac-4.4/mytest.md new file mode 100644 index 0000000000..74e748d8e1 --- /dev/null +++ b/inst/apps/112-generate-report/tests/testthat/_snaps/mac-4.4/mytest.md @@ -0,0 +1,4 @@ +# Migrated shinytest test: mytest.R + + "report.html" + diff --git a/inst/apps/112-generate-report/tests/testthat/_snaps/mac-4.4/mytest/001-report.html b/inst/apps/112-generate-report/tests/testthat/_snaps/mac-4.4/mytest/001-report.html new file mode 100644 index 0000000000..aeee6e1fe6 --- /dev/null +++ b/inst/apps/112-generate-report/tests/testthat/_snaps/mac-4.4/mytest/001-report.html @@ -0,0 +1,402 @@ + + + + + + + + + + + + + +Dynamic report + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +
# The `params` object is available in the document.
+params$n
+
## [1] 75
+

A plot of params$n random points.

+
plot(rnorm(params$n), rnorm(params$n))
+

+ + + + +
+ + + + + + + + + + + + + + + diff --git a/inst/apps/112-generate-report/tests/testthat/_snaps/mac-4.4/mytest/002.json b/inst/apps/112-generate-report/tests/testthat/_snaps/mac-4.4/mytest/002.json new file mode 100644 index 0000000000..52de5aefa1 --- /dev/null +++ b/inst/apps/112-generate-report/tests/testthat/_snaps/mac-4.4/mytest/002.json @@ -0,0 +1,11 @@ +{ + "input": { + "slider": 75 + }, + "output": { + + }, + "export": { + + } +} diff --git a/inst/apps/112-generate-report/tests/testthat/_snaps/mac-4.4/mytest/003.png b/inst/apps/112-generate-report/tests/testthat/_snaps/mac-4.4/mytest/003.png new file mode 100644 index 0000000000..035baac4c0 Binary files /dev/null and b/inst/apps/112-generate-report/tests/testthat/_snaps/mac-4.4/mytest/003.png differ diff --git a/inst/apps/114-modal-dialog/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/114-modal-dialog/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..d30538bc73 --- /dev/null +++ b/inst/apps/114-modal-dialog/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,12 @@ +{ + "input": { + "selectizeInput": "Alabama", + "show": 1 + }, + "output": { + + }, + "export": { + + } +} diff --git a/inst/apps/114-modal-dialog/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/114-modal-dialog/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..da50ddab08 Binary files /dev/null and b/inst/apps/114-modal-dialog/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/114-modal-dialog/tests/testthat/_snaps/linux-4.4/mytest/003.json b/inst/apps/114-modal-dialog/tests/testthat/_snaps/linux-4.4/mytest/003.json new file mode 100644 index 0000000000..d30538bc73 --- /dev/null +++ b/inst/apps/114-modal-dialog/tests/testthat/_snaps/linux-4.4/mytest/003.json @@ -0,0 +1,12 @@ +{ + "input": { + "selectizeInput": "Alabama", + "show": 1 + }, + "output": { + + }, + "export": { + + } +} diff --git a/inst/apps/114-modal-dialog/tests/testthat/_snaps/linux-4.4/mytest/004.png b/inst/apps/114-modal-dialog/tests/testthat/_snaps/linux-4.4/mytest/004.png new file mode 100644 index 0000000000..7759ed6d05 Binary files /dev/null and b/inst/apps/114-modal-dialog/tests/testthat/_snaps/linux-4.4/mytest/004.png differ diff --git a/inst/apps/114-modal-dialog/tests/testthat/_snaps/linux-4.4/mytest/005.json b/inst/apps/114-modal-dialog/tests/testthat/_snaps/linux-4.4/mytest/005.json new file mode 100644 index 0000000000..d97f992b20 --- /dev/null +++ b/inst/apps/114-modal-dialog/tests/testthat/_snaps/linux-4.4/mytest/005.json @@ -0,0 +1,12 @@ +{ + "input": { + "selectizeInput": "California", + "show": 1 + }, + "output": { + + }, + "export": { + + } +} diff --git a/inst/apps/114-modal-dialog/tests/testthat/_snaps/linux-4.4/mytest/006.png b/inst/apps/114-modal-dialog/tests/testthat/_snaps/linux-4.4/mytest/006.png new file mode 100644 index 0000000000..43db9a27c1 Binary files /dev/null and b/inst/apps/114-modal-dialog/tests/testthat/_snaps/linux-4.4/mytest/006.png differ diff --git a/inst/apps/114-modal-dialog/tests/testthat/_snaps/linux-4.4/mytest/007.json b/inst/apps/114-modal-dialog/tests/testthat/_snaps/linux-4.4/mytest/007.json new file mode 100644 index 0000000000..d97f992b20 --- /dev/null +++ b/inst/apps/114-modal-dialog/tests/testthat/_snaps/linux-4.4/mytest/007.json @@ -0,0 +1,12 @@ +{ + "input": { + "selectizeInput": "California", + "show": 1 + }, + "output": { + + }, + "export": { + + } +} diff --git a/inst/apps/114-modal-dialog/tests/testthat/_snaps/linux-4.4/mytest/008.png b/inst/apps/114-modal-dialog/tests/testthat/_snaps/linux-4.4/mytest/008.png new file mode 100644 index 0000000000..f35d0d49af Binary files /dev/null and b/inst/apps/114-modal-dialog/tests/testthat/_snaps/linux-4.4/mytest/008.png differ diff --git a/inst/apps/114-modal-dialog/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/114-modal-dialog/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..d30538bc73 --- /dev/null +++ b/inst/apps/114-modal-dialog/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,12 @@ +{ + "input": { + "selectizeInput": "Alabama", + "show": 1 + }, + "output": { + + }, + "export": { + + } +} diff --git a/inst/apps/114-modal-dialog/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/114-modal-dialog/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..81adb30ae3 Binary files /dev/null and b/inst/apps/114-modal-dialog/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/114-modal-dialog/tests/testthat/_snaps/mac-4.4/mytest/003.json b/inst/apps/114-modal-dialog/tests/testthat/_snaps/mac-4.4/mytest/003.json new file mode 100644 index 0000000000..d30538bc73 --- /dev/null +++ b/inst/apps/114-modal-dialog/tests/testthat/_snaps/mac-4.4/mytest/003.json @@ -0,0 +1,12 @@ +{ + "input": { + "selectizeInput": "Alabama", + "show": 1 + }, + "output": { + + }, + "export": { + + } +} diff --git a/inst/apps/114-modal-dialog/tests/testthat/_snaps/mac-4.4/mytest/004.png b/inst/apps/114-modal-dialog/tests/testthat/_snaps/mac-4.4/mytest/004.png new file mode 100644 index 0000000000..3d62195130 Binary files /dev/null and b/inst/apps/114-modal-dialog/tests/testthat/_snaps/mac-4.4/mytest/004.png differ diff --git a/inst/apps/114-modal-dialog/tests/testthat/_snaps/mac-4.4/mytest/005.json b/inst/apps/114-modal-dialog/tests/testthat/_snaps/mac-4.4/mytest/005.json new file mode 100644 index 0000000000..d97f992b20 --- /dev/null +++ b/inst/apps/114-modal-dialog/tests/testthat/_snaps/mac-4.4/mytest/005.json @@ -0,0 +1,12 @@ +{ + "input": { + "selectizeInput": "California", + "show": 1 + }, + "output": { + + }, + "export": { + + } +} diff --git a/inst/apps/114-modal-dialog/tests/testthat/_snaps/mac-4.4/mytest/006.png b/inst/apps/114-modal-dialog/tests/testthat/_snaps/mac-4.4/mytest/006.png new file mode 100644 index 0000000000..e0d138173e Binary files /dev/null and b/inst/apps/114-modal-dialog/tests/testthat/_snaps/mac-4.4/mytest/006.png differ diff --git a/inst/apps/114-modal-dialog/tests/testthat/_snaps/mac-4.4/mytest/007.json b/inst/apps/114-modal-dialog/tests/testthat/_snaps/mac-4.4/mytest/007.json new file mode 100644 index 0000000000..d97f992b20 --- /dev/null +++ b/inst/apps/114-modal-dialog/tests/testthat/_snaps/mac-4.4/mytest/007.json @@ -0,0 +1,12 @@ +{ + "input": { + "selectizeInput": "California", + "show": 1 + }, + "output": { + + }, + "export": { + + } +} diff --git a/inst/apps/114-modal-dialog/tests/testthat/_snaps/mac-4.4/mytest/008.png b/inst/apps/114-modal-dialog/tests/testthat/_snaps/mac-4.4/mytest/008.png new file mode 100644 index 0000000000..3e1f5253d8 Binary files /dev/null and b/inst/apps/114-modal-dialog/tests/testthat/_snaps/mac-4.4/mytest/008.png differ diff --git a/inst/apps/115-remove-modal/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/115-remove-modal/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..bcb45aaff6 --- /dev/null +++ b/inst/apps/115-remove-modal/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,12 @@ +{ + "input": { + "closeModalBtn": 0, + "openModalBtn": 1 + }, + "output": { + + }, + "export": { + + } +} diff --git a/inst/apps/115-remove-modal/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/115-remove-modal/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..7910a0b58b Binary files /dev/null and b/inst/apps/115-remove-modal/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/115-remove-modal/tests/testthat/_snaps/linux-4.4/mytest/003.json b/inst/apps/115-remove-modal/tests/testthat/_snaps/linux-4.4/mytest/003.json new file mode 100644 index 0000000000..75c41bc91e --- /dev/null +++ b/inst/apps/115-remove-modal/tests/testthat/_snaps/linux-4.4/mytest/003.json @@ -0,0 +1,12 @@ +{ + "input": { + "closeModalBtn": 1, + "openModalBtn": 1 + }, + "output": { + + }, + "export": { + + } +} diff --git a/inst/apps/115-remove-modal/tests/testthat/_snaps/linux-4.4/mytest/004.png b/inst/apps/115-remove-modal/tests/testthat/_snaps/linux-4.4/mytest/004.png new file mode 100644 index 0000000000..3994bb1740 Binary files /dev/null and b/inst/apps/115-remove-modal/tests/testthat/_snaps/linux-4.4/mytest/004.png differ diff --git a/inst/apps/115-remove-modal/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/115-remove-modal/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..bcb45aaff6 --- /dev/null +++ b/inst/apps/115-remove-modal/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,12 @@ +{ + "input": { + "closeModalBtn": 0, + "openModalBtn": 1 + }, + "output": { + + }, + "export": { + + } +} diff --git a/inst/apps/115-remove-modal/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/115-remove-modal/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..b4965f5911 Binary files /dev/null and b/inst/apps/115-remove-modal/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/115-remove-modal/tests/testthat/_snaps/mac-4.4/mytest/003.json b/inst/apps/115-remove-modal/tests/testthat/_snaps/mac-4.4/mytest/003.json new file mode 100644 index 0000000000..75c41bc91e --- /dev/null +++ b/inst/apps/115-remove-modal/tests/testthat/_snaps/mac-4.4/mytest/003.json @@ -0,0 +1,12 @@ +{ + "input": { + "closeModalBtn": 1, + "openModalBtn": 1 + }, + "output": { + + }, + "export": { + + } +} diff --git a/inst/apps/115-remove-modal/tests/testthat/_snaps/mac-4.4/mytest/004.png b/inst/apps/115-remove-modal/tests/testthat/_snaps/mac-4.4/mytest/004.png new file mode 100644 index 0000000000..514249d294 Binary files /dev/null and b/inst/apps/115-remove-modal/tests/testthat/_snaps/mac-4.4/mytest/004.png differ diff --git a/inst/apps/117-shinythemes/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/117-shinythemes/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..b5703e5b62 --- /dev/null +++ b/inst/apps/117-shinythemes/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,17 @@ +{ + "input": { + "action": 0, + "action2": 0, + "file": null, + "shinytheme-selector": "default", + "slider": 30, + "txt": "general" + }, + "output": { + "table": "\n\n
speed <\/th> dist <\/th> <\/tr> <\/thead>
4.00 <\/td> 2.00 <\/td> <\/tr>\n
4.00 <\/td> 10.00 <\/td> <\/tr>\n
7.00 <\/td> 4.00 <\/td> <\/tr>\n
7.00 <\/td> 22.00 <\/td> <\/tr>\n <\/tbody> <\/table>", + "txtout": "general, 30, NULL" + }, + "export": { + + } +} diff --git a/inst/apps/117-shinythemes/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/117-shinythemes/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..7371572879 Binary files /dev/null and b/inst/apps/117-shinythemes/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/117-shinythemes/tests/testthat/_snaps/linux-4.4/mytest/003.json b/inst/apps/117-shinythemes/tests/testthat/_snaps/linux-4.4/mytest/003.json new file mode 100644 index 0000000000..6549105700 --- /dev/null +++ b/inst/apps/117-shinythemes/tests/testthat/_snaps/linux-4.4/mytest/003.json @@ -0,0 +1,17 @@ +{ + "input": { + "action": 0, + "action2": 0, + "file": null, + "shinytheme-selector": "lumen", + "slider": 30, + "txt": "general" + }, + "output": { + "table": "\n\n
speed <\/th> dist <\/th> <\/tr> <\/thead>
4.00 <\/td> 2.00 <\/td> <\/tr>\n
4.00 <\/td> 10.00 <\/td> <\/tr>\n
7.00 <\/td> 4.00 <\/td> <\/tr>\n
7.00 <\/td> 22.00 <\/td> <\/tr>\n <\/tbody> <\/table>", + "txtout": "general, 30, NULL" + }, + "export": { + + } +} diff --git a/inst/apps/117-shinythemes/tests/testthat/_snaps/linux-4.4/mytest/004.png b/inst/apps/117-shinythemes/tests/testthat/_snaps/linux-4.4/mytest/004.png new file mode 100644 index 0000000000..f41f2d7aa0 Binary files /dev/null and b/inst/apps/117-shinythemes/tests/testthat/_snaps/linux-4.4/mytest/004.png differ diff --git a/inst/apps/117-shinythemes/tests/testthat/_snaps/linux-4.4/mytest/005.json b/inst/apps/117-shinythemes/tests/testthat/_snaps/linux-4.4/mytest/005.json new file mode 100644 index 0000000000..e826c40764 --- /dev/null +++ b/inst/apps/117-shinythemes/tests/testthat/_snaps/linux-4.4/mytest/005.json @@ -0,0 +1,17 @@ +{ + "input": { + "action": 0, + "action2": 0, + "file": null, + "shinytheme-selector": "spacelab", + "slider": 30, + "txt": "general" + }, + "output": { + "table": "\n\n
speed <\/th> dist <\/th> <\/tr> <\/thead>
4.00 <\/td> 2.00 <\/td> <\/tr>\n
4.00 <\/td> 10.00 <\/td> <\/tr>\n
7.00 <\/td> 4.00 <\/td> <\/tr>\n
7.00 <\/td> 22.00 <\/td> <\/tr>\n <\/tbody> <\/table>", + "txtout": "general, 30, NULL" + }, + "export": { + + } +} diff --git a/inst/apps/117-shinythemes/tests/testthat/_snaps/linux-4.4/mytest/006.png b/inst/apps/117-shinythemes/tests/testthat/_snaps/linux-4.4/mytest/006.png new file mode 100644 index 0000000000..b1f9aa9172 Binary files /dev/null and b/inst/apps/117-shinythemes/tests/testthat/_snaps/linux-4.4/mytest/006.png differ diff --git a/inst/apps/117-shinythemes/tests/testthat/_snaps/linux-4.4/mytest/007.json b/inst/apps/117-shinythemes/tests/testthat/_snaps/linux-4.4/mytest/007.json new file mode 100644 index 0000000000..555c1f2c37 --- /dev/null +++ b/inst/apps/117-shinythemes/tests/testthat/_snaps/linux-4.4/mytest/007.json @@ -0,0 +1,17 @@ +{ + "input": { + "action": 0, + "action2": 0, + "file": null, + "shinytheme-selector": "yeti", + "slider": 30, + "txt": "general" + }, + "output": { + "table": "\n\n
speed <\/th> dist <\/th> <\/tr> <\/thead>
4.00 <\/td> 2.00 <\/td> <\/tr>\n
4.00 <\/td> 10.00 <\/td> <\/tr>\n
7.00 <\/td> 4.00 <\/td> <\/tr>\n
7.00 <\/td> 22.00 <\/td> <\/tr>\n <\/tbody> <\/table>", + "txtout": "general, 30, NULL" + }, + "export": { + + } +} diff --git a/inst/apps/117-shinythemes/tests/testthat/_snaps/linux-4.4/mytest/008.png b/inst/apps/117-shinythemes/tests/testthat/_snaps/linux-4.4/mytest/008.png new file mode 100644 index 0000000000..9542c3d445 Binary files /dev/null and b/inst/apps/117-shinythemes/tests/testthat/_snaps/linux-4.4/mytest/008.png differ diff --git a/inst/apps/117-shinythemes/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/117-shinythemes/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..b5703e5b62 --- /dev/null +++ b/inst/apps/117-shinythemes/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,17 @@ +{ + "input": { + "action": 0, + "action2": 0, + "file": null, + "shinytheme-selector": "default", + "slider": 30, + "txt": "general" + }, + "output": { + "table": "\n\n
speed <\/th> dist <\/th> <\/tr> <\/thead>
4.00 <\/td> 2.00 <\/td> <\/tr>\n
4.00 <\/td> 10.00 <\/td> <\/tr>\n
7.00 <\/td> 4.00 <\/td> <\/tr>\n
7.00 <\/td> 22.00 <\/td> <\/tr>\n <\/tbody> <\/table>", + "txtout": "general, 30, NULL" + }, + "export": { + + } +} diff --git a/inst/apps/117-shinythemes/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/117-shinythemes/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..88f1351de9 Binary files /dev/null and b/inst/apps/117-shinythemes/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/117-shinythemes/tests/testthat/_snaps/mac-4.4/mytest/003.json b/inst/apps/117-shinythemes/tests/testthat/_snaps/mac-4.4/mytest/003.json new file mode 100644 index 0000000000..6549105700 --- /dev/null +++ b/inst/apps/117-shinythemes/tests/testthat/_snaps/mac-4.4/mytest/003.json @@ -0,0 +1,17 @@ +{ + "input": { + "action": 0, + "action2": 0, + "file": null, + "shinytheme-selector": "lumen", + "slider": 30, + "txt": "general" + }, + "output": { + "table": "\n\n
speed <\/th> dist <\/th> <\/tr> <\/thead>
4.00 <\/td> 2.00 <\/td> <\/tr>\n
4.00 <\/td> 10.00 <\/td> <\/tr>\n
7.00 <\/td> 4.00 <\/td> <\/tr>\n
7.00 <\/td> 22.00 <\/td> <\/tr>\n <\/tbody> <\/table>", + "txtout": "general, 30, NULL" + }, + "export": { + + } +} diff --git a/inst/apps/117-shinythemes/tests/testthat/_snaps/mac-4.4/mytest/004.png b/inst/apps/117-shinythemes/tests/testthat/_snaps/mac-4.4/mytest/004.png new file mode 100644 index 0000000000..ecf6af1f7d Binary files /dev/null and b/inst/apps/117-shinythemes/tests/testthat/_snaps/mac-4.4/mytest/004.png differ diff --git a/inst/apps/117-shinythemes/tests/testthat/_snaps/mac-4.4/mytest/005.json b/inst/apps/117-shinythemes/tests/testthat/_snaps/mac-4.4/mytest/005.json new file mode 100644 index 0000000000..e826c40764 --- /dev/null +++ b/inst/apps/117-shinythemes/tests/testthat/_snaps/mac-4.4/mytest/005.json @@ -0,0 +1,17 @@ +{ + "input": { + "action": 0, + "action2": 0, + "file": null, + "shinytheme-selector": "spacelab", + "slider": 30, + "txt": "general" + }, + "output": { + "table": "\n\n
speed <\/th> dist <\/th> <\/tr> <\/thead>
4.00 <\/td> 2.00 <\/td> <\/tr>\n
4.00 <\/td> 10.00 <\/td> <\/tr>\n
7.00 <\/td> 4.00 <\/td> <\/tr>\n
7.00 <\/td> 22.00 <\/td> <\/tr>\n <\/tbody> <\/table>", + "txtout": "general, 30, NULL" + }, + "export": { + + } +} diff --git a/inst/apps/117-shinythemes/tests/testthat/_snaps/mac-4.4/mytest/006.png b/inst/apps/117-shinythemes/tests/testthat/_snaps/mac-4.4/mytest/006.png new file mode 100644 index 0000000000..4f55064426 Binary files /dev/null and b/inst/apps/117-shinythemes/tests/testthat/_snaps/mac-4.4/mytest/006.png differ diff --git a/inst/apps/117-shinythemes/tests/testthat/_snaps/mac-4.4/mytest/007.json b/inst/apps/117-shinythemes/tests/testthat/_snaps/mac-4.4/mytest/007.json new file mode 100644 index 0000000000..555c1f2c37 --- /dev/null +++ b/inst/apps/117-shinythemes/tests/testthat/_snaps/mac-4.4/mytest/007.json @@ -0,0 +1,17 @@ +{ + "input": { + "action": 0, + "action2": 0, + "file": null, + "shinytheme-selector": "yeti", + "slider": 30, + "txt": "general" + }, + "output": { + "table": "\n\n
speed <\/th> dist <\/th> <\/tr> <\/thead>
4.00 <\/td> 2.00 <\/td> <\/tr>\n
4.00 <\/td> 10.00 <\/td> <\/tr>\n
7.00 <\/td> 4.00 <\/td> <\/tr>\n
7.00 <\/td> 22.00 <\/td> <\/tr>\n <\/tbody> <\/table>", + "txtout": "general, 30, NULL" + }, + "export": { + + } +} diff --git a/inst/apps/117-shinythemes/tests/testthat/_snaps/mac-4.4/mytest/008.png b/inst/apps/117-shinythemes/tests/testthat/_snaps/mac-4.4/mytest/008.png new file mode 100644 index 0000000000..be4a41327b Binary files /dev/null and b/inst/apps/117-shinythemes/tests/testthat/_snaps/mac-4.4/mytest/008.png differ diff --git a/inst/apps/118-highcharter-births/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/118-highcharter-births/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..82aed8dca2 --- /dev/null +++ b/inst/apps/118-highcharter-births/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,219 @@ +{ + "input": { + "plot_type": "scatter", + "theme": "No theme", + "year": [ + 1994, + 2014 + ] + }, + "output": { + "hcontainer": { + "x": { + "hc_opts": { + "chart": { + "reflow": true + }, + "title": { + "text": "The Friday the 13th effect", + "style": { + "fontWeight": "bold" + } + }, + "yAxis": { + "title": { + "text": "Difference, in ppt" + }, + "allowDecimals": false + }, + "credits": { + "enabled": true, + "text": "Sources: CDC/NCHS, SOCIAL SECURITY ADMINISTRATION", + "style": { + "fontSize": "10px" + } + }, + "exporting": { + "enabled": false + }, + "boost": { + "enabled": false + }, + "plotOptions": { + "series": { + "label": { + "enabled": false + }, + "turboThreshold": 0 + }, + "treemap": { + "layoutAlgorithm": "squarified" + } + }, + "series": [ + { + "data": [ + -1.944, + -2.096, + -2.884, + -3.337, + -6.383, + -0.671, + -1.006 + ], + "type": "scatter", + "name": "Difference, in ppt", + "showInLegend": false + } + ], + "xAxis": { + "categories": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ], + "tickmarkPlacement": "on", + "opposite": true + }, + "subtitle": { + "text": "Difference in the share of U.S. births on 13th\n of each month from the average of births on the 6th\n and the 20th, 1994 - 2014" + }, + "tooltip": { + "valueDecimals": 4, + "pointFormat": "Day: {point.x}
Diff: {point.y}" + } + }, + "theme": { + "chart": { + "backgroundColor": "transparent" + }, + "colors": [ + "#7cb5ec", + "#434348", + "#90ed7d", + "#f7a35c", + "#8085e9", + "#f15c80", + "#e4d354", + "#2b908f", + "#f45b5b", + "#91e8e1" + ] + }, + "conf_opts": { + "global": { + "Date": null, + "VMLRadialGradientURL": "http =//code.highcharts.com/list(version)/gfx/vml-radial-gradient.png", + "canvasToolsURL": "http =//code.highcharts.com/list(version)/modules/canvas-tools.js", + "getTimezoneOffset": null, + "timezoneOffset": 0, + "useUTC": true + }, + "lang": { + "contextButtonTitle": "Chart context menu", + "decimalPoint": ".", + "downloadCSV": "Download CSV", + "downloadJPEG": "Download JPEG image", + "downloadPDF": "Download PDF document", + "downloadPNG": "Download PNG image", + "downloadSVG": "Download SVG vector image", + "downloadXLS": "Download XLS", + "drillUpText": "◁ Back to {series.name}", + "exitFullscreen": "Exit from full screen", + "exportData": { + "annotationHeader": "Annotations", + "categoryDatetimeHeader": "DateTime", + "categoryHeader": "Category" + }, + "hideData": "Hide data table", + "invalidDate": null, + "loading": "Loading...", + "months": [ + "January", + "February", + "March", + "April", + "May", + "June", + "July", + "August", + "September", + "October", + "November", + "December" + ], + "noData": "No data to display", + "numericSymbolMagnitude": 1000, + "numericSymbols": [ + "k", + "M", + "G", + "T", + "P", + "E" + ], + "printChart": "Print chart", + "resetZoom": "Reset zoom", + "resetZoomTitle": "Reset zoom level 1:1", + "shortMonths": [ + "Jan", + "Feb", + "Mar", + "Apr", + "May", + "Jun", + "Jul", + "Aug", + "Sep", + "Oct", + "Nov", + "Dec" + ], + "shortWeekdays": [ + "Sat", + "Sun", + "Mon", + "Tue", + "Wed", + "Thu", + "Fri" + ], + "thousandsSep": " ", + "viewData": "View data table", + "viewFullscreen": "View in full screen", + "weekdays": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ] + } + }, + "type": "chart", + "fonts": [ + + ], + "debug": false + }, + "evals": [ + + ], + "jsHooks": [ + + ], + "deps": [ + + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/118-highcharter-births/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/118-highcharter-births/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..1c82fab6df Binary files /dev/null and b/inst/apps/118-highcharter-births/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/118-highcharter-births/tests/testthat/_snaps/linux-4.4/mytest/003.json b/inst/apps/118-highcharter-births/tests/testthat/_snaps/linux-4.4/mytest/003.json new file mode 100644 index 0000000000..6422e6b858 --- /dev/null +++ b/inst/apps/118-highcharter-births/tests/testthat/_snaps/linux-4.4/mytest/003.json @@ -0,0 +1,296 @@ +{ + "input": { + "plot_type": "column", + "theme": "fivethirtyeight", + "year": [ + 1997, + 2005 + ] + }, + "output": { + "hcontainer": { + "x": { + "hc_opts": { + "chart": { + "reflow": true + }, + "title": { + "text": "The Friday the 13th effect", + "style": { + "fontWeight": "bold" + } + }, + "yAxis": { + "title": { + "text": "Difference, in ppt" + }, + "allowDecimals": false + }, + "credits": { + "enabled": true, + "text": "Sources: CDC/NCHS, SOCIAL SECURITY ADMINISTRATION", + "style": { + "fontSize": "10px" + } + }, + "exporting": { + "enabled": false + }, + "boost": { + "enabled": false + }, + "plotOptions": { + "series": { + "label": { + "enabled": false + }, + "turboThreshold": 0 + }, + "treemap": { + "layoutAlgorithm": "squarified" + } + }, + "series": [ + { + "data": [ + -1.85, + -1.846, + -3.298, + -3.138, + -6.925, + -1.068, + -0.5133 + ], + "type": "column", + "name": "Difference, in ppt", + "showInLegend": false + } + ], + "xAxis": { + "categories": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ], + "tickmarkPlacement": "on", + "opposite": true + }, + "subtitle": { + "text": "Difference in the share of U.S. births on 13th\n of each month from the average of births on the 6th\n and the 20th, 1997 - 2005" + }, + "tooltip": { + "valueDecimals": 4, + "pointFormat": "Day: {point.x}
Diff: {point.y}" + } + }, + "theme": { + "colors": [ + "#FF2700", + "#008FD5", + "#77AB43", + "#636464", + "#C4C4C4" + ], + "chart": { + "backgroundColor": "#F0F0F0", + "plotBorderColor": "#606063", + "style": { + "fontFamily": "Roboto", + "color": "#3C3C3C" + } + }, + "title": { + "align": "left", + "style": { + "fontWeight": "bold" + } + }, + "subtitle": { + "align": "left" + }, + "xAxis": { + "gridLineWidth": 1, + "gridLineColor": "#D7D7D8", + "labels": { + "style": { + "fontFamily": "Unica One, sans-serif", + "color": "#3C3C3C" + } + }, + "lineColor": "#D7D7D8", + "minorGridLineColor": "#505053", + "tickColor": "#D7D7D8", + "tickWidth": 1, + "title": { + "style": { + "color": "#A0A0A3" + } + } + }, + "yAxis": { + "gridLineColor": "#D7D7D8", + "labels": { + "style": { + "fontFamily": "Unica One, sans-serif", + "color": "#3C3C3C" + } + }, + "lineColor": "#D7D7D8", + "minorGridLineColor": "#505053", + "tickColor": "#D7D7D8", + "tickWidth": 1, + "title": { + "style": { + "color": "#A0A0A3" + } + } + }, + "tooltip": { + "backgroundColor": "rgba(0, 0, 0, 0.85)", + "style": { + "color": "#F0F0F0" + } + }, + "legend": { + "itemStyle": { + "color": "#3C3C3C" + }, + "itemHiddenStyle": { + "color": "#606063" + } + }, + "credits": { + "style": { + "color": "#666" + } + }, + "labels": { + "style": { + "color": "#D7D7D8" + } + }, + "legendBackgroundColor": "rgba(0, 0, 0, 0.5)", + "background2": "#505053", + "dataLabelsColor": "#B0B0B3", + "textColor": "#C0C0C0", + "contrastTextColor": "#F0F0F3", + "maskColor": "rgba(255,255,255,0.3)" + }, + "conf_opts": { + "global": { + "Date": null, + "VMLRadialGradientURL": "http =//code.highcharts.com/list(version)/gfx/vml-radial-gradient.png", + "canvasToolsURL": "http =//code.highcharts.com/list(version)/modules/canvas-tools.js", + "getTimezoneOffset": null, + "timezoneOffset": 0, + "useUTC": true + }, + "lang": { + "contextButtonTitle": "Chart context menu", + "decimalPoint": ".", + "downloadCSV": "Download CSV", + "downloadJPEG": "Download JPEG image", + "downloadPDF": "Download PDF document", + "downloadPNG": "Download PNG image", + "downloadSVG": "Download SVG vector image", + "downloadXLS": "Download XLS", + "drillUpText": "◁ Back to {series.name}", + "exitFullscreen": "Exit from full screen", + "exportData": { + "annotationHeader": "Annotations", + "categoryDatetimeHeader": "DateTime", + "categoryHeader": "Category" + }, + "hideData": "Hide data table", + "invalidDate": null, + "loading": "Loading...", + "months": [ + "January", + "February", + "March", + "April", + "May", + "June", + "July", + "August", + "September", + "October", + "November", + "December" + ], + "noData": "No data to display", + "numericSymbolMagnitude": 1000, + "numericSymbols": [ + "k", + "M", + "G", + "T", + "P", + "E" + ], + "printChart": "Print chart", + "resetZoom": "Reset zoom", + "resetZoomTitle": "Reset zoom level 1:1", + "shortMonths": [ + "Jan", + "Feb", + "Mar", + "Apr", + "May", + "Jun", + "Jul", + "Aug", + "Sep", + "Oct", + "Nov", + "Dec" + ], + "shortWeekdays": [ + "Sat", + "Sun", + "Mon", + "Tue", + "Wed", + "Thu", + "Fri" + ], + "thousandsSep": " ", + "viewData": "View data table", + "viewFullscreen": "View in full screen", + "weekdays": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ] + } + }, + "type": "chart", + "fonts": [ + "Roboto", + "Unica+One" + ], + "debug": false + }, + "evals": [ + + ], + "jsHooks": [ + + ], + "deps": [ + + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/118-highcharter-births/tests/testthat/_snaps/linux-4.4/mytest/004.png b/inst/apps/118-highcharter-births/tests/testthat/_snaps/linux-4.4/mytest/004.png new file mode 100644 index 0000000000..93311c0a65 Binary files /dev/null and b/inst/apps/118-highcharter-births/tests/testthat/_snaps/linux-4.4/mytest/004.png differ diff --git a/inst/apps/118-highcharter-births/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/118-highcharter-births/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..82aed8dca2 --- /dev/null +++ b/inst/apps/118-highcharter-births/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,219 @@ +{ + "input": { + "plot_type": "scatter", + "theme": "No theme", + "year": [ + 1994, + 2014 + ] + }, + "output": { + "hcontainer": { + "x": { + "hc_opts": { + "chart": { + "reflow": true + }, + "title": { + "text": "The Friday the 13th effect", + "style": { + "fontWeight": "bold" + } + }, + "yAxis": { + "title": { + "text": "Difference, in ppt" + }, + "allowDecimals": false + }, + "credits": { + "enabled": true, + "text": "Sources: CDC/NCHS, SOCIAL SECURITY ADMINISTRATION", + "style": { + "fontSize": "10px" + } + }, + "exporting": { + "enabled": false + }, + "boost": { + "enabled": false + }, + "plotOptions": { + "series": { + "label": { + "enabled": false + }, + "turboThreshold": 0 + }, + "treemap": { + "layoutAlgorithm": "squarified" + } + }, + "series": [ + { + "data": [ + -1.944, + -2.096, + -2.884, + -3.337, + -6.383, + -0.671, + -1.006 + ], + "type": "scatter", + "name": "Difference, in ppt", + "showInLegend": false + } + ], + "xAxis": { + "categories": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ], + "tickmarkPlacement": "on", + "opposite": true + }, + "subtitle": { + "text": "Difference in the share of U.S. births on 13th\n of each month from the average of births on the 6th\n and the 20th, 1994 - 2014" + }, + "tooltip": { + "valueDecimals": 4, + "pointFormat": "Day: {point.x}
Diff: {point.y}" + } + }, + "theme": { + "chart": { + "backgroundColor": "transparent" + }, + "colors": [ + "#7cb5ec", + "#434348", + "#90ed7d", + "#f7a35c", + "#8085e9", + "#f15c80", + "#e4d354", + "#2b908f", + "#f45b5b", + "#91e8e1" + ] + }, + "conf_opts": { + "global": { + "Date": null, + "VMLRadialGradientURL": "http =//code.highcharts.com/list(version)/gfx/vml-radial-gradient.png", + "canvasToolsURL": "http =//code.highcharts.com/list(version)/modules/canvas-tools.js", + "getTimezoneOffset": null, + "timezoneOffset": 0, + "useUTC": true + }, + "lang": { + "contextButtonTitle": "Chart context menu", + "decimalPoint": ".", + "downloadCSV": "Download CSV", + "downloadJPEG": "Download JPEG image", + "downloadPDF": "Download PDF document", + "downloadPNG": "Download PNG image", + "downloadSVG": "Download SVG vector image", + "downloadXLS": "Download XLS", + "drillUpText": "◁ Back to {series.name}", + "exitFullscreen": "Exit from full screen", + "exportData": { + "annotationHeader": "Annotations", + "categoryDatetimeHeader": "DateTime", + "categoryHeader": "Category" + }, + "hideData": "Hide data table", + "invalidDate": null, + "loading": "Loading...", + "months": [ + "January", + "February", + "March", + "April", + "May", + "June", + "July", + "August", + "September", + "October", + "November", + "December" + ], + "noData": "No data to display", + "numericSymbolMagnitude": 1000, + "numericSymbols": [ + "k", + "M", + "G", + "T", + "P", + "E" + ], + "printChart": "Print chart", + "resetZoom": "Reset zoom", + "resetZoomTitle": "Reset zoom level 1:1", + "shortMonths": [ + "Jan", + "Feb", + "Mar", + "Apr", + "May", + "Jun", + "Jul", + "Aug", + "Sep", + "Oct", + "Nov", + "Dec" + ], + "shortWeekdays": [ + "Sat", + "Sun", + "Mon", + "Tue", + "Wed", + "Thu", + "Fri" + ], + "thousandsSep": " ", + "viewData": "View data table", + "viewFullscreen": "View in full screen", + "weekdays": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ] + } + }, + "type": "chart", + "fonts": [ + + ], + "debug": false + }, + "evals": [ + + ], + "jsHooks": [ + + ], + "deps": [ + + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/118-highcharter-births/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/118-highcharter-births/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..11f812bc03 Binary files /dev/null and b/inst/apps/118-highcharter-births/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/118-highcharter-births/tests/testthat/_snaps/mac-4.4/mytest/003.json b/inst/apps/118-highcharter-births/tests/testthat/_snaps/mac-4.4/mytest/003.json new file mode 100644 index 0000000000..6422e6b858 --- /dev/null +++ b/inst/apps/118-highcharter-births/tests/testthat/_snaps/mac-4.4/mytest/003.json @@ -0,0 +1,296 @@ +{ + "input": { + "plot_type": "column", + "theme": "fivethirtyeight", + "year": [ + 1997, + 2005 + ] + }, + "output": { + "hcontainer": { + "x": { + "hc_opts": { + "chart": { + "reflow": true + }, + "title": { + "text": "The Friday the 13th effect", + "style": { + "fontWeight": "bold" + } + }, + "yAxis": { + "title": { + "text": "Difference, in ppt" + }, + "allowDecimals": false + }, + "credits": { + "enabled": true, + "text": "Sources: CDC/NCHS, SOCIAL SECURITY ADMINISTRATION", + "style": { + "fontSize": "10px" + } + }, + "exporting": { + "enabled": false + }, + "boost": { + "enabled": false + }, + "plotOptions": { + "series": { + "label": { + "enabled": false + }, + "turboThreshold": 0 + }, + "treemap": { + "layoutAlgorithm": "squarified" + } + }, + "series": [ + { + "data": [ + -1.85, + -1.846, + -3.298, + -3.138, + -6.925, + -1.068, + -0.5133 + ], + "type": "column", + "name": "Difference, in ppt", + "showInLegend": false + } + ], + "xAxis": { + "categories": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ], + "tickmarkPlacement": "on", + "opposite": true + }, + "subtitle": { + "text": "Difference in the share of U.S. births on 13th\n of each month from the average of births on the 6th\n and the 20th, 1997 - 2005" + }, + "tooltip": { + "valueDecimals": 4, + "pointFormat": "Day: {point.x}
Diff: {point.y}" + } + }, + "theme": { + "colors": [ + "#FF2700", + "#008FD5", + "#77AB43", + "#636464", + "#C4C4C4" + ], + "chart": { + "backgroundColor": "#F0F0F0", + "plotBorderColor": "#606063", + "style": { + "fontFamily": "Roboto", + "color": "#3C3C3C" + } + }, + "title": { + "align": "left", + "style": { + "fontWeight": "bold" + } + }, + "subtitle": { + "align": "left" + }, + "xAxis": { + "gridLineWidth": 1, + "gridLineColor": "#D7D7D8", + "labels": { + "style": { + "fontFamily": "Unica One, sans-serif", + "color": "#3C3C3C" + } + }, + "lineColor": "#D7D7D8", + "minorGridLineColor": "#505053", + "tickColor": "#D7D7D8", + "tickWidth": 1, + "title": { + "style": { + "color": "#A0A0A3" + } + } + }, + "yAxis": { + "gridLineColor": "#D7D7D8", + "labels": { + "style": { + "fontFamily": "Unica One, sans-serif", + "color": "#3C3C3C" + } + }, + "lineColor": "#D7D7D8", + "minorGridLineColor": "#505053", + "tickColor": "#D7D7D8", + "tickWidth": 1, + "title": { + "style": { + "color": "#A0A0A3" + } + } + }, + "tooltip": { + "backgroundColor": "rgba(0, 0, 0, 0.85)", + "style": { + "color": "#F0F0F0" + } + }, + "legend": { + "itemStyle": { + "color": "#3C3C3C" + }, + "itemHiddenStyle": { + "color": "#606063" + } + }, + "credits": { + "style": { + "color": "#666" + } + }, + "labels": { + "style": { + "color": "#D7D7D8" + } + }, + "legendBackgroundColor": "rgba(0, 0, 0, 0.5)", + "background2": "#505053", + "dataLabelsColor": "#B0B0B3", + "textColor": "#C0C0C0", + "contrastTextColor": "#F0F0F3", + "maskColor": "rgba(255,255,255,0.3)" + }, + "conf_opts": { + "global": { + "Date": null, + "VMLRadialGradientURL": "http =//code.highcharts.com/list(version)/gfx/vml-radial-gradient.png", + "canvasToolsURL": "http =//code.highcharts.com/list(version)/modules/canvas-tools.js", + "getTimezoneOffset": null, + "timezoneOffset": 0, + "useUTC": true + }, + "lang": { + "contextButtonTitle": "Chart context menu", + "decimalPoint": ".", + "downloadCSV": "Download CSV", + "downloadJPEG": "Download JPEG image", + "downloadPDF": "Download PDF document", + "downloadPNG": "Download PNG image", + "downloadSVG": "Download SVG vector image", + "downloadXLS": "Download XLS", + "drillUpText": "◁ Back to {series.name}", + "exitFullscreen": "Exit from full screen", + "exportData": { + "annotationHeader": "Annotations", + "categoryDatetimeHeader": "DateTime", + "categoryHeader": "Category" + }, + "hideData": "Hide data table", + "invalidDate": null, + "loading": "Loading...", + "months": [ + "January", + "February", + "March", + "April", + "May", + "June", + "July", + "August", + "September", + "October", + "November", + "December" + ], + "noData": "No data to display", + "numericSymbolMagnitude": 1000, + "numericSymbols": [ + "k", + "M", + "G", + "T", + "P", + "E" + ], + "printChart": "Print chart", + "resetZoom": "Reset zoom", + "resetZoomTitle": "Reset zoom level 1:1", + "shortMonths": [ + "Jan", + "Feb", + "Mar", + "Apr", + "May", + "Jun", + "Jul", + "Aug", + "Sep", + "Oct", + "Nov", + "Dec" + ], + "shortWeekdays": [ + "Sat", + "Sun", + "Mon", + "Tue", + "Wed", + "Thu", + "Fri" + ], + "thousandsSep": " ", + "viewData": "View data table", + "viewFullscreen": "View in full screen", + "weekdays": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ] + } + }, + "type": "chart", + "fonts": [ + "Roboto", + "Unica+One" + ], + "debug": false + }, + "evals": [ + + ], + "jsHooks": [ + + ], + "deps": [ + + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/118-highcharter-births/tests/testthat/_snaps/mac-4.4/mytest/004.png b/inst/apps/118-highcharter-births/tests/testthat/_snaps/mac-4.4/mytest/004.png new file mode 100644 index 0000000000..546d787edd Binary files /dev/null and b/inst/apps/118-highcharter-births/tests/testthat/_snaps/mac-4.4/mytest/004.png differ diff --git a/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..96bb9f7fd8 --- /dev/null +++ b/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,81 @@ +{ + "input": { + "plot1-n": 50, + "plot2-n": 50 + }, + "output": { + "plot1-scatterPlot": { + "src": "[image data hash: cdeea8820aea0573c8c51c3896682986]", + "width": 383.3281, + "height": 300, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -2.0462, + "right": 2.4779, + "bottom": -2.4661, + "top": 2.7761 + }, + "range": { + "left": 59.0906, + "right": 353.0622, + "bottom": 225.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 383.3281, + "height": 300 + } + } + }, + "plot2-scatterPlot": { + "src": "[image data hash: 574b57ba876b84ebbdd8304ae18d0dfc]", + "width": 383.3281, + "height": 300, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -2.2866, + "right": 1.7653, + "bottom": -2.2103, + "top": 2.337 + }, + "range": { + "left": 59.0906, + "right": 353.0622, + "bottom": 225.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 383.3281, + "height": 300 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..441b003602 Binary files /dev/null and b/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/linux-4.4/mytest/003.json b/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/linux-4.4/mytest/003.json new file mode 100644 index 0000000000..33459bfb86 --- /dev/null +++ b/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/linux-4.4/mytest/003.json @@ -0,0 +1,81 @@ +{ + "input": { + "plot1-n": 180, + "plot2-n": 50 + }, + "output": { + "plot1-scatterPlot": { + "src": "[image data hash: 7cb2c94786516c030dc66628cd37d197]", + "width": 383.3281, + "height": 300, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -3.2738, + "right": 3.5571, + "bottom": -3.5509, + "top": 2.6629 + }, + "range": { + "left": 59.0906, + "right": 353.0622, + "bottom": 225.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 383.3281, + "height": 300 + } + } + }, + "plot2-scatterPlot": { + "src": "[image data hash: 574b57ba876b84ebbdd8304ae18d0dfc]", + "width": 383.3281, + "height": 300, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -2.2866, + "right": 1.7653, + "bottom": -2.2103, + "top": 2.337 + }, + "range": { + "left": 59.0906, + "right": 353.0622, + "bottom": 225.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 383.3281, + "height": 300 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/linux-4.4/mytest/004.png b/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/linux-4.4/mytest/004.png new file mode 100644 index 0000000000..2f1797f0e0 Binary files /dev/null and b/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/linux-4.4/mytest/004.png differ diff --git a/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/linux-4.4/mytest/005.json b/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/linux-4.4/mytest/005.json new file mode 100644 index 0000000000..e0e55d3f69 --- /dev/null +++ b/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/linux-4.4/mytest/005.json @@ -0,0 +1,81 @@ +{ + "input": { + "plot1-n": 180, + "plot2-n": 190 + }, + "output": { + "plot1-scatterPlot": { + "src": "[image data hash: 7cb2c94786516c030dc66628cd37d197]", + "width": 383.3281, + "height": 300, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -3.2738, + "right": 3.5571, + "bottom": -3.5509, + "top": 2.6629 + }, + "range": { + "left": 59.0906, + "right": 353.0622, + "bottom": 225.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 383.3281, + "height": 300 + } + } + }, + "plot2-scatterPlot": { + "src": "[image data hash: 90bc1a6a2b42c67797a593202ba5e6a0]", + "width": 383.3281, + "height": 300, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -3.1115, + "right": 3.1181, + "bottom": -2.7264, + "top": 3.316 + }, + "range": { + "left": 59.0906, + "right": 353.0622, + "bottom": 225.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 383.3281, + "height": 300 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/linux-4.4/mytest/006.png b/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/linux-4.4/mytest/006.png new file mode 100644 index 0000000000..a3a1e7d55e Binary files /dev/null and b/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/linux-4.4/mytest/006.png differ diff --git a/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..ccbc232ee3 --- /dev/null +++ b/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,81 @@ +{ + "input": { + "plot1-n": 50, + "plot2-n": 50 + }, + "output": { + "plot1-scatterPlot": { + "src": "[image data hash: 491e70d0d66e858060d89e625b058562]", + "width": 383.3281, + "height": 300, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -2.0462, + "right": 2.4779, + "bottom": -2.4661, + "top": 2.7761 + }, + "range": { + "left": 59.0906, + "right": 353.0622, + "bottom": 225.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 383.3281, + "height": 300 + } + } + }, + "plot2-scatterPlot": { + "src": "[image data hash: 405db91a6b0d139e8cfc3adb496b5eb4]", + "width": 383.3281, + "height": 300, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -2.2866, + "right": 1.7653, + "bottom": -2.2103, + "top": 2.337 + }, + "range": { + "left": 59.0906, + "right": 353.0622, + "bottom": 225.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 383.3281, + "height": 300 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..e13ac164ec Binary files /dev/null and b/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/mac-4.4/mytest/003.json b/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/mac-4.4/mytest/003.json new file mode 100644 index 0000000000..eaa049d018 --- /dev/null +++ b/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/mac-4.4/mytest/003.json @@ -0,0 +1,81 @@ +{ + "input": { + "plot1-n": 180, + "plot2-n": 50 + }, + "output": { + "plot1-scatterPlot": { + "src": "[image data hash: 089a27f686bc6c0d2d3f89366e78475f]", + "width": 383.3281, + "height": 300, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -3.2738, + "right": 3.5571, + "bottom": -3.5509, + "top": 2.6629 + }, + "range": { + "left": 59.0906, + "right": 353.0622, + "bottom": 225.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 383.3281, + "height": 300 + } + } + }, + "plot2-scatterPlot": { + "src": "[image data hash: 405db91a6b0d139e8cfc3adb496b5eb4]", + "width": 383.3281, + "height": 300, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -2.2866, + "right": 1.7653, + "bottom": -2.2103, + "top": 2.337 + }, + "range": { + "left": 59.0906, + "right": 353.0622, + "bottom": 225.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 383.3281, + "height": 300 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/mac-4.4/mytest/004.png b/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/mac-4.4/mytest/004.png new file mode 100644 index 0000000000..548755b649 Binary files /dev/null and b/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/mac-4.4/mytest/004.png differ diff --git a/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/mac-4.4/mytest/005.json b/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/mac-4.4/mytest/005.json new file mode 100644 index 0000000000..eff87a5645 --- /dev/null +++ b/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/mac-4.4/mytest/005.json @@ -0,0 +1,81 @@ +{ + "input": { + "plot1-n": 180, + "plot2-n": 190 + }, + "output": { + "plot1-scatterPlot": { + "src": "[image data hash: 089a27f686bc6c0d2d3f89366e78475f]", + "width": 383.3281, + "height": 300, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -3.2738, + "right": 3.5571, + "bottom": -3.5509, + "top": 2.6629 + }, + "range": { + "left": 59.0906, + "right": 353.0622, + "bottom": 225.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 383.3281, + "height": 300 + } + } + }, + "plot2-scatterPlot": { + "src": "[image data hash: 42a1e06fd6df2fc045decff23b3751a7]", + "width": 383.3281, + "height": 300, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": -3.1115, + "right": 3.1181, + "bottom": -2.7264, + "top": 3.316 + }, + "range": { + "left": 59.0906, + "right": 353.0622, + "bottom": 225.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 383.3281, + "height": 300 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/mac-4.4/mytest/006.png b/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/mac-4.4/mytest/006.png new file mode 100644 index 0000000000..f505e24fb4 Binary files /dev/null and b/inst/apps/119-namespaced-conditionalpanel-demo/tests/testthat/_snaps/mac-4.4/mytest/006.png differ diff --git a/inst/apps/123-async-renderprint/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/123-async-renderprint/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..0f1b38ec82 --- /dev/null +++ b/inst/apps/123-async-renderprint/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,14 @@ +{ + "input": { + + }, + "output": { + "async_invisible": "", + "async_visible": "[1] \"Hello\"", + "sync_invisible": "", + "sync_visible": "[1] \"Hello\"" + }, + "export": { + + } +} diff --git a/inst/apps/123-async-renderprint/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/123-async-renderprint/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..32923d6a6b Binary files /dev/null and b/inst/apps/123-async-renderprint/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/123-async-renderprint/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/123-async-renderprint/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..0f1b38ec82 --- /dev/null +++ b/inst/apps/123-async-renderprint/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,14 @@ +{ + "input": { + + }, + "output": { + "async_invisible": "", + "async_visible": "[1] \"Hello\"", + "sync_invisible": "", + "sync_visible": "[1] \"Hello\"" + }, + "export": { + + } +} diff --git a/inst/apps/123-async-renderprint/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/123-async-renderprint/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..d161805cc9 Binary files /dev/null and b/inst/apps/123-async-renderprint/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/125-async-req/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/125-async-req/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..2e4ea4da4f --- /dev/null +++ b/inst/apps/125-async-req/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,16 @@ +{ + "input": { + "boom": 0 + }, + "output": { + "cancelOutput": "After self destruct, this text should remain", + "cancelOutput_async": "After self destruct, this text should remain", + "req": "After self destruct, this text should disappear", + "req_async": "After self destruct, this text should disappear", + "validateNeed": "After self destruct, this text should be replaced by a grey validation message", + "validateNeed_async": "After self destruct, this text should be replaced by a grey validation message" + }, + "export": { + + } +} diff --git a/inst/apps/125-async-req/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/125-async-req/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..d033d39e71 Binary files /dev/null and b/inst/apps/125-async-req/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/125-async-req/tests/testthat/_snaps/linux-4.4/mytest/003.json b/inst/apps/125-async-req/tests/testthat/_snaps/linux-4.4/mytest/003.json new file mode 100644 index 0000000000..37e528571e --- /dev/null +++ b/inst/apps/125-async-req/tests/testthat/_snaps/linux-4.4/mytest/003.json @@ -0,0 +1,44 @@ +{ + "input": { + "boom": 1 + }, + "output": { + "cancelOutput": "After self destruct, this text should remain", + "cancelOutput_async": "After self destruct, this text should remain", + "req": { + "message": "", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "req_async": { + "message": "", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "validateNeed": { + "message": "Self destructed", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "validateNeed_async": { + "message": "Self destructed", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/125-async-req/tests/testthat/_snaps/linux-4.4/mytest/004.png b/inst/apps/125-async-req/tests/testthat/_snaps/linux-4.4/mytest/004.png new file mode 100644 index 0000000000..b0229a2b9f Binary files /dev/null and b/inst/apps/125-async-req/tests/testthat/_snaps/linux-4.4/mytest/004.png differ diff --git a/inst/apps/125-async-req/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/125-async-req/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..2e4ea4da4f --- /dev/null +++ b/inst/apps/125-async-req/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,16 @@ +{ + "input": { + "boom": 0 + }, + "output": { + "cancelOutput": "After self destruct, this text should remain", + "cancelOutput_async": "After self destruct, this text should remain", + "req": "After self destruct, this text should disappear", + "req_async": "After self destruct, this text should disappear", + "validateNeed": "After self destruct, this text should be replaced by a grey validation message", + "validateNeed_async": "After self destruct, this text should be replaced by a grey validation message" + }, + "export": { + + } +} diff --git a/inst/apps/125-async-req/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/125-async-req/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..98a25a109e Binary files /dev/null and b/inst/apps/125-async-req/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/125-async-req/tests/testthat/_snaps/mac-4.4/mytest/003.json b/inst/apps/125-async-req/tests/testthat/_snaps/mac-4.4/mytest/003.json new file mode 100644 index 0000000000..37e528571e --- /dev/null +++ b/inst/apps/125-async-req/tests/testthat/_snaps/mac-4.4/mytest/003.json @@ -0,0 +1,44 @@ +{ + "input": { + "boom": 1 + }, + "output": { + "cancelOutput": "After self destruct, this text should remain", + "cancelOutput_async": "After self destruct, this text should remain", + "req": { + "message": "", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "req_async": { + "message": "", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "validateNeed": { + "message": "Self destructed", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "validateNeed_async": { + "message": "Self destructed", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/125-async-req/tests/testthat/_snaps/mac-4.4/mytest/004.png b/inst/apps/125-async-req/tests/testthat/_snaps/mac-4.4/mytest/004.png new file mode 100644 index 0000000000..7195f6ed02 Binary files /dev/null and b/inst/apps/125-async-req/tests/testthat/_snaps/mac-4.4/mytest/004.png differ diff --git a/inst/apps/126-async-ticks/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/126-async-ticks/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..0056f7b36a --- /dev/null +++ b/inst/apps/126-async-ticks/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,122 @@ +{ + "input": { + + }, + "output": { + "datatable": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "datatablea": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "image": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "imagea": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "plot": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "plota": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "print": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "printa": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "table": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "tablea": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "text": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "texta": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "ui": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "uia": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/126-async-ticks/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/126-async-ticks/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..320768cb98 Binary files /dev/null and b/inst/apps/126-async-ticks/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/126-async-ticks/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/126-async-ticks/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..0056f7b36a --- /dev/null +++ b/inst/apps/126-async-ticks/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,122 @@ +{ + "input": { + + }, + "output": { + "datatable": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "datatablea": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "image": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "imagea": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "plot": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "plota": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "print": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "printa": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "table": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "tablea": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "text": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "texta": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "ui": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "uia": { + "message": "OK", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/126-async-ticks/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/126-async-ticks/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..185c7ac6c7 Binary files /dev/null and b/inst/apps/126-async-ticks/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/128-plot-dim-error/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/128-plot-dim-error/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..952f51e73a --- /dev/null +++ b/inst/apps/128-plot-dim-error/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,18 @@ +{ + "input": { + "go": 0 + }, + "output": { + "plot": { + "message": "", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/128-plot-dim-error/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/128-plot-dim-error/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..a3ed99f57b Binary files /dev/null and b/inst/apps/128-plot-dim-error/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/128-plot-dim-error/tests/testthat/_snaps/linux-4.4/mytest/003.json b/inst/apps/128-plot-dim-error/tests/testthat/_snaps/linux-4.4/mytest/003.json new file mode 100644 index 0000000000..c6ab342a23 --- /dev/null +++ b/inst/apps/128-plot-dim-error/tests/testthat/_snaps/linux-4.4/mytest/003.json @@ -0,0 +1,45 @@ +{ + "input": { + "go": 1 + }, + "output": { + "plot": { + "src": "[image data hash: 5fb96b2ca91590171ce7efe4b2e35508]", + "width": 400, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 3.16, + "right": 25.84, + "bottom": -2.72, + "top": 124.72 + }, + "range": { + "left": 59.04, + "right": 369.76, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 400, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/128-plot-dim-error/tests/testthat/_snaps/linux-4.4/mytest/004.png b/inst/apps/128-plot-dim-error/tests/testthat/_snaps/linux-4.4/mytest/004.png new file mode 100644 index 0000000000..b6126063c9 Binary files /dev/null and b/inst/apps/128-plot-dim-error/tests/testthat/_snaps/linux-4.4/mytest/004.png differ diff --git a/inst/apps/128-plot-dim-error/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/128-plot-dim-error/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..952f51e73a --- /dev/null +++ b/inst/apps/128-plot-dim-error/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,18 @@ +{ + "input": { + "go": 0 + }, + "output": { + "plot": { + "message": "", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/128-plot-dim-error/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/128-plot-dim-error/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..2c7f8141f6 Binary files /dev/null and b/inst/apps/128-plot-dim-error/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/128-plot-dim-error/tests/testthat/_snaps/mac-4.4/mytest/003.json b/inst/apps/128-plot-dim-error/tests/testthat/_snaps/mac-4.4/mytest/003.json new file mode 100644 index 0000000000..9b23875ecf --- /dev/null +++ b/inst/apps/128-plot-dim-error/tests/testthat/_snaps/mac-4.4/mytest/003.json @@ -0,0 +1,45 @@ +{ + "input": { + "go": 1 + }, + "output": { + "plot": { + "src": "[image data hash: 4a467a2d9fba7e283155fd1eb54a214f]", + "width": 400, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 3.16, + "right": 25.84, + "bottom": -2.72, + "top": 124.72 + }, + "range": { + "left": 59.04, + "right": 369.76, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 400, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/128-plot-dim-error/tests/testthat/_snaps/mac-4.4/mytest/004.png b/inst/apps/128-plot-dim-error/tests/testthat/_snaps/mac-4.4/mytest/004.png new file mode 100644 index 0000000000..c1bbfca874 Binary files /dev/null and b/inst/apps/128-plot-dim-error/tests/testthat/_snaps/mac-4.4/mytest/004.png differ diff --git a/inst/apps/130-output-null/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/130-output-null/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..75df38d63f --- /dev/null +++ b/inst/apps/130-output-null/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,45 @@ +{ + "input": { + "clear": 0 + }, + "output": { + "plot": { + "src": "[image data hash: b6b1f89ea826a3637e70714b4d15efe1]", + "width": 962, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 3.16, + "right": 25.84, + "bottom": -2.72, + "top": 124.72 + }, + "range": { + "left": 59.04, + "right": 931.76, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 962, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/130-output-null/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/130-output-null/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..0b0eda37a6 Binary files /dev/null and b/inst/apps/130-output-null/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/130-output-null/tests/testthat/_snaps/linux-4.4/mytest/003.json b/inst/apps/130-output-null/tests/testthat/_snaps/linux-4.4/mytest/003.json new file mode 100644 index 0000000000..3e4c4a773e --- /dev/null +++ b/inst/apps/130-output-null/tests/testthat/_snaps/linux-4.4/mytest/003.json @@ -0,0 +1,18 @@ +{ + "input": { + "clear": 1 + }, + "output": { + "plot": { + "message": "", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/130-output-null/tests/testthat/_snaps/linux-4.4/mytest/004.png b/inst/apps/130-output-null/tests/testthat/_snaps/linux-4.4/mytest/004.png new file mode 100644 index 0000000000..0e02d57006 Binary files /dev/null and b/inst/apps/130-output-null/tests/testthat/_snaps/linux-4.4/mytest/004.png differ diff --git a/inst/apps/130-output-null/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/130-output-null/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..05a35a266a --- /dev/null +++ b/inst/apps/130-output-null/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,45 @@ +{ + "input": { + "clear": 0 + }, + "output": { + "plot": { + "src": "[image data hash: 6bb1e43e0f1bfa014b3e86cc8b7f64b0]", + "width": 962, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 3.16, + "right": 25.84, + "bottom": -2.72, + "top": 124.72 + }, + "range": { + "left": 59.04, + "right": 931.76, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 962, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/130-output-null/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/130-output-null/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..0cab59f5c3 Binary files /dev/null and b/inst/apps/130-output-null/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/130-output-null/tests/testthat/_snaps/mac-4.4/mytest/003.json b/inst/apps/130-output-null/tests/testthat/_snaps/mac-4.4/mytest/003.json new file mode 100644 index 0000000000..3e4c4a773e --- /dev/null +++ b/inst/apps/130-output-null/tests/testthat/_snaps/mac-4.4/mytest/003.json @@ -0,0 +1,18 @@ +{ + "input": { + "clear": 1 + }, + "output": { + "plot": { + "message": "", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/130-output-null/tests/testthat/_snaps/mac-4.4/mytest/004.png b/inst/apps/130-output-null/tests/testthat/_snaps/mac-4.4/mytest/004.png new file mode 100644 index 0000000000..dc4506cc87 Binary files /dev/null and b/inst/apps/130-output-null/tests/testthat/_snaps/mac-4.4/mytest/004.png differ diff --git a/inst/apps/131-renderplot-args/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/131-renderplot-args/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..38631197cb --- /dev/null +++ b/inst/apps/131-renderplot-args/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,45 @@ +{ + "input": { + + }, + "output": { + "plot": { + "src": "[image data hash: 835e47a614ea492f03a4a96d89ec8a7c]", + "width": 962, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 3.16, + "right": 25.84, + "bottom": -2.72, + "top": 124.72 + }, + "range": { + "left": 59.04, + "right": 931.76, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 962, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/131-renderplot-args/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/131-renderplot-args/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..4d68941967 Binary files /dev/null and b/inst/apps/131-renderplot-args/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/131-renderplot-args/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/131-renderplot-args/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..0cb6c0de05 --- /dev/null +++ b/inst/apps/131-renderplot-args/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,45 @@ +{ + "input": { + + }, + "output": { + "plot": { + "src": "[image data hash: 71b15f84c4fe0292f4ace511488f9802]", + "width": 962, + "height": 400, + "alt": "Plot object", + "coordmap": { + "panels": [ + { + "domain": { + "left": 3.16, + "right": 25.84, + "bottom": -2.72, + "top": 124.72 + }, + "range": { + "left": 59.04, + "right": 931.76, + "bottom": 325.56, + "top": 58.04 + }, + "log": { + "x": null, + "y": null + }, + "mapping": { + + } + } + ], + "dims": { + "width": 962, + "height": 400 + } + } + } + }, + "export": { + + } +} diff --git a/inst/apps/131-renderplot-args/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/131-renderplot-args/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..f24cb9d191 Binary files /dev/null and b/inst/apps/131-renderplot-args/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..ed10708774 --- /dev/null +++ b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,17 @@ +{ + "input": { + "error": 0, + "silent": 0, + "success": 0, + "type": "success", + "validation": 0 + }, + "output": { + "async_output": "normal value", + "observeEventStatus": "(none)", + "sync_output": "normal value" + }, + "export": { + + } +} diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/002.png b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/002.png new file mode 100644 index 0000000000..54ca7b894b Binary files /dev/null and b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/002.png differ diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/003.json b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/003.json new file mode 100644 index 0000000000..1f37d1cd07 --- /dev/null +++ b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/003.json @@ -0,0 +1,31 @@ +{ + "input": { + "error": 0, + "silent": 0, + "success": 0, + "type": "silent", + "validation": 0 + }, + "output": { + "async_output": { + "message": "", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "observeEventStatus": "(none)", + "sync_output": { + "message": "", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/004.png b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/004.png new file mode 100644 index 0000000000..04c753e0b3 Binary files /dev/null and b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/004.png differ diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/005.json b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/005.json new file mode 100644 index 0000000000..0d835a184a --- /dev/null +++ b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/005.json @@ -0,0 +1,31 @@ +{ + "input": { + "error": 0, + "silent": 0, + "success": 0, + "type": "validation", + "validation": 0 + }, + "output": { + "async_output": { + "message": "Validation error", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "observeEventStatus": "(none)", + "sync_output": { + "message": "Validation error", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/006.png b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/006.png new file mode 100644 index 0000000000..cd4c3c3f52 Binary files /dev/null and b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/006.png differ diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/007.json b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/007.json new file mode 100644 index 0000000000..e991d814a3 --- /dev/null +++ b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/007.json @@ -0,0 +1,25 @@ +{ + "input": { + "error": 0, + "silent": 0, + "success": 0, + "type": "error", + "validation": 0 + }, + "output": { + "async_output": { + "message": "error!", + "call": "eventReactiveValueFunc(...)", + "type": null + }, + "observeEventStatus": "(none)", + "sync_output": { + "message": "error!", + "call": "eventReactiveValueFunc(...)", + "type": null + } + }, + "export": { + + } +} diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/008.png b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/008.png new file mode 100644 index 0000000000..ba2bf4c565 Binary files /dev/null and b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/008.png differ diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/009.json b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/009.json new file mode 100644 index 0000000000..e50c55b707 --- /dev/null +++ b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/009.json @@ -0,0 +1,25 @@ +{ + "input": { + "error": 0, + "silent": 0, + "success": 1, + "type": "error", + "validation": 0 + }, + "output": { + "async_output": { + "message": "error!", + "call": "eventReactiveValueFunc(...)", + "type": null + }, + "observeEventStatus": "Success!", + "sync_output": { + "message": "error!", + "call": "eventReactiveValueFunc(...)", + "type": null + } + }, + "export": { + + } +} diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/010.png b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/010.png new file mode 100644 index 0000000000..dc7495fa26 Binary files /dev/null and b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/010.png differ diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/011.json b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/011.json new file mode 100644 index 0000000000..bcea1a6541 --- /dev/null +++ b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/011.json @@ -0,0 +1,25 @@ +{ + "input": { + "error": 0, + "silent": 1, + "success": 1, + "type": "error", + "validation": 0 + }, + "output": { + "async_output": { + "message": "error!", + "call": "eventReactiveValueFunc(...)", + "type": null + }, + "observeEventStatus": "Success!", + "sync_output": { + "message": "error!", + "call": "eventReactiveValueFunc(...)", + "type": null + } + }, + "export": { + + } +} diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/012.png b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/012.png new file mode 100644 index 0000000000..dc7495fa26 Binary files /dev/null and b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/012.png differ diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/013.json b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/013.json new file mode 100644 index 0000000000..78d7bb73d4 --- /dev/null +++ b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/013.json @@ -0,0 +1,25 @@ +{ + "input": { + "error": 0, + "silent": 1, + "success": 1, + "type": "error", + "validation": 1 + }, + "output": { + "async_output": { + "message": "error!", + "call": "eventReactiveValueFunc(...)", + "type": null + }, + "observeEventStatus": "Success!", + "sync_output": { + "message": "error!", + "call": "eventReactiveValueFunc(...)", + "type": null + } + }, + "export": { + + } +} diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/014.png b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/014.png new file mode 100644 index 0000000000..dc7495fa26 Binary files /dev/null and b/inst/apps/132-async-events/tests/testthat/_snaps/linux-4.4/mytest/014.png differ diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..ed10708774 --- /dev/null +++ b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,17 @@ +{ + "input": { + "error": 0, + "silent": 0, + "success": 0, + "type": "success", + "validation": 0 + }, + "output": { + "async_output": "normal value", + "observeEventStatus": "(none)", + "sync_output": "normal value" + }, + "export": { + + } +} diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/002.png b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/002.png new file mode 100644 index 0000000000..60c70a0967 Binary files /dev/null and b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/002.png differ diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/003.json b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/003.json new file mode 100644 index 0000000000..1f37d1cd07 --- /dev/null +++ b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/003.json @@ -0,0 +1,31 @@ +{ + "input": { + "error": 0, + "silent": 0, + "success": 0, + "type": "silent", + "validation": 0 + }, + "output": { + "async_output": { + "message": "", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "observeEventStatus": "(none)", + "sync_output": { + "message": "", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/004.png b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/004.png new file mode 100644 index 0000000000..7fd5e900ba Binary files /dev/null and b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/004.png differ diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/005.json b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/005.json new file mode 100644 index 0000000000..0d835a184a --- /dev/null +++ b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/005.json @@ -0,0 +1,31 @@ +{ + "input": { + "error": 0, + "silent": 0, + "success": 0, + "type": "validation", + "validation": 0 + }, + "output": { + "async_output": { + "message": "Validation error", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + }, + "observeEventStatus": "(none)", + "sync_output": { + "message": "Validation error", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/006.png b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/006.png new file mode 100644 index 0000000000..139b1423e2 Binary files /dev/null and b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/006.png differ diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/007.json b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/007.json new file mode 100644 index 0000000000..e991d814a3 --- /dev/null +++ b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/007.json @@ -0,0 +1,25 @@ +{ + "input": { + "error": 0, + "silent": 0, + "success": 0, + "type": "error", + "validation": 0 + }, + "output": { + "async_output": { + "message": "error!", + "call": "eventReactiveValueFunc(...)", + "type": null + }, + "observeEventStatus": "(none)", + "sync_output": { + "message": "error!", + "call": "eventReactiveValueFunc(...)", + "type": null + } + }, + "export": { + + } +} diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/008.png b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/008.png new file mode 100644 index 0000000000..140527e588 Binary files /dev/null and b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/008.png differ diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/009.json b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/009.json new file mode 100644 index 0000000000..e50c55b707 --- /dev/null +++ b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/009.json @@ -0,0 +1,25 @@ +{ + "input": { + "error": 0, + "silent": 0, + "success": 1, + "type": "error", + "validation": 0 + }, + "output": { + "async_output": { + "message": "error!", + "call": "eventReactiveValueFunc(...)", + "type": null + }, + "observeEventStatus": "Success!", + "sync_output": { + "message": "error!", + "call": "eventReactiveValueFunc(...)", + "type": null + } + }, + "export": { + + } +} diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/010.png b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/010.png new file mode 100644 index 0000000000..f929c0fa29 Binary files /dev/null and b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/010.png differ diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/011.json b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/011.json new file mode 100644 index 0000000000..bcea1a6541 --- /dev/null +++ b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/011.json @@ -0,0 +1,25 @@ +{ + "input": { + "error": 0, + "silent": 1, + "success": 1, + "type": "error", + "validation": 0 + }, + "output": { + "async_output": { + "message": "error!", + "call": "eventReactiveValueFunc(...)", + "type": null + }, + "observeEventStatus": "Success!", + "sync_output": { + "message": "error!", + "call": "eventReactiveValueFunc(...)", + "type": null + } + }, + "export": { + + } +} diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/012.png b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/012.png new file mode 100644 index 0000000000..f929c0fa29 Binary files /dev/null and b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/012.png differ diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/013.json b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/013.json new file mode 100644 index 0000000000..78d7bb73d4 --- /dev/null +++ b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/013.json @@ -0,0 +1,25 @@ +{ + "input": { + "error": 0, + "silent": 1, + "success": 1, + "type": "error", + "validation": 1 + }, + "output": { + "async_output": { + "message": "error!", + "call": "eventReactiveValueFunc(...)", + "type": null + }, + "observeEventStatus": "Success!", + "sync_output": { + "message": "error!", + "call": "eventReactiveValueFunc(...)", + "type": null + } + }, + "export": { + + } +} diff --git a/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/014.png b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/014.png new file mode 100644 index 0000000000..f929c0fa29 Binary files /dev/null and b/inst/apps/132-async-events/tests/testthat/_snaps/mac-4.4/mytest/014.png differ diff --git a/inst/apps/133-async-hold-inputs/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/133-async-hold-inputs/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..3369d1a85d --- /dev/null +++ b/inst/apps/133-async-hold-inputs/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,19 @@ +{ + "input": { + "choice": "a", + "go": 1 + }, + "output": { + "out": { + "message": "", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/133-async-hold-inputs/tests/testthat/_snaps/linux-4.4/mytest/002.json b/inst/apps/133-async-hold-inputs/tests/testthat/_snaps/linux-4.4/mytest/002.json new file mode 100644 index 0000000000..64f8ce0500 --- /dev/null +++ b/inst/apps/133-async-hold-inputs/tests/testthat/_snaps/linux-4.4/mytest/002.json @@ -0,0 +1,12 @@ +{ + "input": { + "choice": "c", + "go": 1 + }, + "output": { + "out": "a \na \na \na " + }, + "export": { + + } +} diff --git a/inst/apps/133-async-hold-inputs/tests/testthat/_snaps/linux-4.4/mytest/003.png b/inst/apps/133-async-hold-inputs/tests/testthat/_snaps/linux-4.4/mytest/003.png new file mode 100644 index 0000000000..0f8da6d9dd Binary files /dev/null and b/inst/apps/133-async-hold-inputs/tests/testthat/_snaps/linux-4.4/mytest/003.png differ diff --git a/inst/apps/133-async-hold-inputs/tests/testthat/_snaps/mac-4.4/mytest/001.json b/inst/apps/133-async-hold-inputs/tests/testthat/_snaps/mac-4.4/mytest/001.json new file mode 100644 index 0000000000..3369d1a85d --- /dev/null +++ b/inst/apps/133-async-hold-inputs/tests/testthat/_snaps/mac-4.4/mytest/001.json @@ -0,0 +1,19 @@ +{ + "input": { + "choice": "a", + "go": 1 + }, + "output": { + "out": { + "message": "", + "call": "NULL", + "type": [ + "shiny.silent.error", + "validation" + ] + } + }, + "export": { + + } +} diff --git a/inst/apps/133-async-hold-inputs/tests/testthat/_snaps/mac-4.4/mytest/002.json b/inst/apps/133-async-hold-inputs/tests/testthat/_snaps/mac-4.4/mytest/002.json new file mode 100644 index 0000000000..64f8ce0500 --- /dev/null +++ b/inst/apps/133-async-hold-inputs/tests/testthat/_snaps/mac-4.4/mytest/002.json @@ -0,0 +1,12 @@ +{ + "input": { + "choice": "c", + "go": 1 + }, + "output": { + "out": "a \na \na \na " + }, + "export": { + + } +} diff --git a/inst/apps/133-async-hold-inputs/tests/testthat/_snaps/mac-4.4/mytest/003.png b/inst/apps/133-async-hold-inputs/tests/testthat/_snaps/mac-4.4/mytest/003.png new file mode 100644 index 0000000000..a7b3c9a42d Binary files /dev/null and b/inst/apps/133-async-hold-inputs/tests/testthat/_snaps/mac-4.4/mytest/003.png differ diff --git a/inst/apps/135-bookmark-uioutput/tests/testthat/_snaps/linux-4.4/mytest/001.json b/inst/apps/135-bookmark-uioutput/tests/testthat/_snaps/linux-4.4/mytest/001.json new file mode 100644 index 0000000000..33fbaf8c9d --- /dev/null +++ b/inst/apps/135-bookmark-uioutput/tests/testthat/_snaps/linux-4.4/mytest/001.json @@ -0,0 +1,56 @@ +{ + "input": { + "._bookmark_": 0, + "reset": 0, + "x": 5 + }, + "output": { + "ui": { + "html": "
\n