Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion R/plugin.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#' reports an error from its last run — either would put code into the script
#' that does not reproduce the board. A block that has never run reports
#' neither, so the modal offers to evaluate the board, which is a one-off that
#' leaves the blocks dormant again but has them report what they found.
#' leaves the blocks parked again, reporting what they found.
#'
#' @param server,ui Server/UI for the plugin module
#'
Expand Down
2 changes: 1 addition & 1 deletion man/generate_code.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions tests/testthat/test-plugin.R
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ test_that("show code builds a deferred board without evaluating it", {
expect_identical(out$before, "a")
expect_setequal(out$after, c("a", "b"))

# Built for its expression and left dormant: the export needs blocks present,
# not run, so the board stays as lazy as it was
expect_identical(out$status, "dormant")
# Built for its expression and left unevaluated: the export needs blocks
# present, not run, so the board stays as lazy as it was
expect_identical(out$status, "unevaluated")
expect_identical(out$eager, list(`front-end` = "a"))

# The whole script is exported, rather than an `NA` assignment standing in for
Expand Down
Loading