Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Thorson committed Jan 31, 2024
1 parent 20c9df7 commit ee09a0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion R/phylosem.R
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 3 additions & 0 deletions tests/testthat/test-platform.R
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit ee09a0d

Please sign in to comment.