Skip to content

Commit 3a81f05

Browse files
authored
Update snapshots and sysinfo files (#341)
* Update snapshots and sysinfo files Regenerated many testthat snapshot PNGs across multiple example apps to update visual tests. Also refreshed inst/apps/sysinfo-*.txt files to reflect the new CI image/date and updated package versions (e.g. bslib, DBI, later, pak, shiny, shinytest2, readr, snowflakeauth, xtable, etc.). This is a test/data update; no functional source code changes. * Fix 224-shinymeta: add explicit varname to metaReactive calls shinymeta's auto-detection of variable names via source references (mrexprSrcrefToLabel) crashes with shiny >= 1.13.0.9000 due to changed source reference behavior in callModule(). The while loop in mrexprSrcrefToLabel can decrement firstLineIdx to 0, causing lines[0] to return character(0) which crashes the grepl() check. Adding explicit varname parameters bypasses the broken auto-detection. * Regenerate test snapshots and sysinfo files Regenerated testthat snapshots for example apps (063-superzip-example, 041-dynamic-ui) across multiple platforms and R versions. Updated PNG snapshot binaries and corresponding JSON entries (image hashes, sizes and range values) for linux/mac/windows (4.1–4.5), and refreshed inst/apps/sysinfo-*.txt files. This brings stored snapshots in line with current rendering/sysinfo outputs so tests match the environment.
1 parent 2d37e5a commit 3a81f05

File tree

111 files changed

+482
-1420
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+482
-1420
lines changed
-463 Bytes
Loading

inst/apps/063-superzip-example/tests/testthat/_snaps/linux-4.1/mytest/001.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"output": {
2525
"histCentile": {
26-
"src": "[image data hash: 1cf52d209249ee72ff2e32f10bf5cd8e]",
26+
"src": "[image data hash: a650f6f4ff7fcda4d2dc1024b4b78b75]",
2727
"width": 287.7778,
2828
"height": 200,
2929
"alt": "Plot object",
@@ -182,7 +182,7 @@
182182
]
183183
},
184184
"scatterCollegeIncome": {
185-
"src": "[image data hash: 5d9597d059daaef34ad33b837bcc9a3c]",
185+
"src": "[image data hash: 480db5835197f0892057d81542e5d2a0]",
186186
"width": 287.7778,
187187
"height": 250,
188188
"alt": "Plot object",
3.82 KB
Loading

inst/apps/063-superzip-example/tests/testthat/_snaps/linux-4.1/mytest/003.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"output": {
2525
"histCentile": {
26-
"src": "[image data hash: 1cf52d209249ee72ff2e32f10bf5cd8e]",
26+
"src": "[image data hash: a650f6f4ff7fcda4d2dc1024b4b78b75]",
2727
"width": 287.7778,
2828
"height": 200,
2929
"alt": "Plot object",
@@ -182,7 +182,7 @@
182182
]
183183
},
184184
"scatterCollegeIncome": {
185-
"src": "[image data hash: 5d9597d059daaef34ad33b837bcc9a3c]",
185+
"src": "[image data hash: 480db5835197f0892057d81542e5d2a0]",
186186
"width": 287.7778,
187187
"height": 250,
188188
"alt": "Plot object",
3.6 KB
Loading

inst/apps/063-superzip-example/tests/testthat/_snaps/linux-4.1/mytest/005.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31891,7 +31891,7 @@
3189131891
},
3189231892
"output": {
3189331893
"histCentile": {
31894-
"src": "[image data hash: 1cf52d209249ee72ff2e32f10bf5cd8e]",
31894+
"src": "[image data hash: a650f6f4ff7fcda4d2dc1024b4b78b75]",
3189531895
"width": 287.7778,
3189631896
"height": 200,
3189731897
"alt": "Plot object",
@@ -32050,7 +32050,7 @@
3205032050
]
3205132051
},
3205232052
"scatterCollegeIncome": {
32053-
"src": "[image data hash: 5d9597d059daaef34ad33b837bcc9a3c]",
32053+
"src": "[image data hash: 480db5835197f0892057d81542e5d2a0]",
3205432054
"width": 287.7778,
3205532055
"height": 250,
3205632056
"alt": "Plot object",

inst/apps/063-superzip-example/tests/testthat/_snaps/linux-4.1/mytest/007.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@
675675
},
676676
"output": {
677677
"histCentile": {
678-
"src": "[image data hash: 1cf52d209249ee72ff2e32f10bf5cd8e]",
678+
"src": "[image data hash: a650f6f4ff7fcda4d2dc1024b4b78b75]",
679679
"width": 287.7778,
680680
"height": 200,
681681
"alt": "Plot object",
@@ -834,7 +834,7 @@
834834
]
835835
},
836836
"scatterCollegeIncome": {
837-
"src": "[image data hash: 5d9597d059daaef34ad33b837bcc9a3c]",
837+
"src": "[image data hash: 480db5835197f0892057d81542e5d2a0]",
838838
"width": 287.7778,
839839
"height": 250,
840840
"alt": "Plot object",

inst/apps/063-superzip-example/tests/testthat/_snaps/linux-4.2/mytest/001.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"output": {
2525
"histCentile": {
26-
"src": "[image data hash: 1cf52d209249ee72ff2e32f10bf5cd8e]",
26+
"src": "[image data hash: a650f6f4ff7fcda4d2dc1024b4b78b75]",
2727
"width": 287.7778,
2828
"height": 200,
2929
"alt": "Plot object",
@@ -182,7 +182,7 @@
182182
]
183183
},
184184
"scatterCollegeIncome": {
185-
"src": "[image data hash: 5d9597d059daaef34ad33b837bcc9a3c]",
185+
"src": "[image data hash: 480db5835197f0892057d81542e5d2a0]",
186186
"width": 287.7778,
187187
"height": 250,
188188
"alt": "Plot object",
3.82 KB
Loading

inst/apps/063-superzip-example/tests/testthat/_snaps/linux-4.2/mytest/003.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"output": {
2525
"histCentile": {
26-
"src": "[image data hash: 1cf52d209249ee72ff2e32f10bf5cd8e]",
26+
"src": "[image data hash: a650f6f4ff7fcda4d2dc1024b4b78b75]",
2727
"width": 287.7778,
2828
"height": 200,
2929
"alt": "Plot object",
@@ -182,7 +182,7 @@
182182
]
183183
},
184184
"scatterCollegeIncome": {
185-
"src": "[image data hash: 5d9597d059daaef34ad33b837bcc9a3c]",
185+
"src": "[image data hash: 480db5835197f0892057d81542e5d2a0]",
186186
"width": 287.7778,
187187
"height": 250,
188188
"alt": "Plot object",

0 commit comments

Comments
 (0)