rstudio / shinymeta

Record and expose Shiny app logic using metaprogramming
https://rstudio.github.io/shinymeta
223 stars 14 forks source link

New test failures on r-devel #106

Closed cpsievert closed 2 years ago

cpsievert commented 2 years ago

From https://cran.r-project.org/web/checks/check_results_shinymeta.html

(Most likely a result of https://github.com/wch/r-source/commit/3a3343e261455f046e1bbea54e6413ec37093b94#)

Check: tests
Result: ERROR
     Running ‘testthat.R’ [10s/17s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(shinymeta)
     >
     > test_check("shinymeta")
     adding: template.html (deflated 64%)
     adding: template.Rmd (deflated 21%)
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (4)

     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test-expandchain.R:97:5): expansion context: can substitute ────────
     `x` (`actual`) not identical to c(...) (`expected`).

     actual vs expected
     "# Add one hundred and two hundred"
     "mr2 <- 100 + 200"
     "mrFour <- 4"
     - "mr2 + 1000 + 2000 + mrFour"
     + "mr2 + (1000 + 2000) + mrFour"

     [ FAIL 1 | WARN 22 | SKIP 4 | PASS 204 ]
     Deleting unused snapshots:
     * report/template.Rmd
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.0.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [15s/22s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(shinymeta)
     >
     > test_check("shinymeta")
     adding: template.html (deflated 64%)
     adding: template.Rmd (deflated 21%)
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (4)

     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test-expandchain.R:97:5): expansion context: can substitute ────────
     `x` (`actual`) not identical to c(...) (`expected`).

     actual vs expected
     "# Add one hundred and two hundred"
     "mr2 <- 100 + 200"
     "mrFour <- 4"
     - "mr2 + 1000 + 2000 + mrFour"
     + "mr2 + (1000 + 2000) + mrFour"

     [ FAIL 1 | WARN 22 | SKIP 4 | PASS 204 ]
     Deleting unused snapshots:
     * report/template.Rmd
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.2.0.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [14s/16s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(shinymeta)
     >
     > test_check("shinymeta")
     adding: template.html (deflated 64%)
     adding: template.Rmd (deflated 21%)
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (4)

     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test-expandchain.R:97:5): expansion context: can substitute ────────
     `x` (`actual`) not identical to c(...) (`expected`).

     actual vs expected
     "# Add one hundred and two hundred"
     "mr2 <- 100 + 200"
     "mrFour <- 4"
     - "mr2 + 1000 + 2000 + mrFour"
     + "mr2 + (1000 + 2000) + mrFour"

     [ FAIL 1 | WARN 22 | SKIP 4 | PASS 204 ]
     Deleting unused snapshots:
     * report/template.Rmd
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc