What happened?
Both the stable and dev deployments of RNA-seq app show an error when testthat package is not available.
It originates from the expect_proportion call from the hermes package
Before running the reprex please make sure that testthat is not installed.
library(checkmate)
check_proportion <- function(x, null.ok = FALSE) {
ok <- test_number(x, lower = 0, upper = 1)
if (!ok) {
return("Must be a 'proportion': number between 0 and 1")
}
return(TRUE)
}
expect_proportion <- makeExpectationFunction(check_proportion)
expect_proportion(0.25)
#> Loading required namespace: testthat
#> Error in makeExpectation(x, res, info, label): Package 'testthat' is required for checkmate's 'expect_*' extensions with backend 'testthat'
Created on 2024-08-12 with reprex v2.1.0
Relevant log output
No response
Code of Conduct
Contribution Guidelines
Security Policy
What happened?
Both the stable and dev deployments of RNA-seq app show an error when
testthatpackage is not available.It originates from the expect_proportion call from the hermes package
Before running the reprex please make sure that
testthatis not installed.Created on 2024-08-12 with reprex v2.1.0
Relevant log output
No response
Code of Conduct
Contribution Guidelines
Security Policy