Skip to content
Open
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 DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Config/Needs/website: insightsengineering/nesttemplate
Encoding: UTF-8
Language: en-US
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.2
RoxygenNote: 7.3.3
Collate:
'qenv-c.R'
'qenv-class.R'
Expand Down
5 changes: 4 additions & 1 deletion tests/testthat/test-qenv_get_code.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
pasten <<- function(...) paste(..., collapse = "\n")

testthat::test_that("get_code returns character of length 0 if no code", {
expect_identical(get_code(qenv()), "")
})

testthat::test_that("get_code returns code (character(1) by default) of qenv object", {
q <- qenv()
q <- eval_code(q, quote(x <- 1))
Expand Down Expand Up @@ -732,7 +736,6 @@ testthat::test_that("understands @ usage and do not treat rhs of @ as objects (o
})



# libraries -------------------------------------------------------------------------------------------------------

testthat::test_that("library() and require() are always returned", {
Expand Down
Loading