From ee09a0d37b6e4e771077ec46fae967c2a03ce38f Mon Sep 17 00:00:00 2001 From: Jim Thorson Date: Wed, 31 Jan 2024 11:48:33 -0800 Subject: [PATCH] small fix --- R/phylosem.R | 2 +- tests/testthat/test-platform.R | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/R/phylosem.R b/R/phylosem.R index a6ff876..535627a 100644 --- a/R/phylosem.R +++ b/R/phylosem.R @@ -394,7 +394,7 @@ function( sem, # Run sdreport if( isTRUE(control$getsd) ){ - if( isTRUE(control$verbose) ) message("Running sdreport") + if( isFALSE(control$quiet) ) message("Running sdreport") Hess_fixed = optimHess( par=results$opt$par, fn=obj$fn, gr=obj$gr ) results$sdrep = sdreport( obj, hessian.fixed=Hess_fixed, diff --git a/tests/testthat/test-platform.R b/tests/testthat/test-platform.R index 807c58a..f5ef35a 100644 --- a/tests/testthat/test-platform.R +++ b/tests/testthat/test-platform.R @@ -4,6 +4,9 @@ context("Testing cross platform and R version compatibility") # Eastern Bering Sea pollcok test_that("phylosem example is working ", { + # + checkDepPackageVersion( warn=FALSE ) + #skip_on_ci() data(rhino, rhino_tree, package="phylopath")