Skip to content

Commit

Permalink
fix github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
msuchard committed Jul 8, 2024
1 parent 4e5acda commit ab6ffa6
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
8 changes: 7 additions & 1 deletion R/ModelFit.R
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,15 @@ cacheCyclopsModelForJava <- function(object) {
return(instance)
}

#' @title Clear the Cyclops persistent cache
#'
#' @description
#' \code{clearCyclopsModelCache} clears the persistent cache holding
#' Cyclops model fit objects that may be used across language-barriers.
#'
#' @export
clearCyclopsModelCache <- function() {

stop("Not yet implemented")
}

.checkCovariates <- function(cyclopsData, covariates) {
Expand Down
12 changes: 12 additions & 0 deletions man/clearCyclopsModelCache.Rd

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

2 changes: 2 additions & 0 deletions tests/testthat/test-gradient.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ test_that("gradient", {
fit <- Cyclops::fitCyclopsModel(data)

gradientAtMode <- gradient(fit)

expect_equivalent(gradientAtMode, rep(0, length(coef(fit))))
})


0 comments on commit ab6ffa6

Please sign in to comment.