Skip to content

Commit

Permalink
Adds dummy test to allow workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrik Sparre Spiegelhauer (HSPU) committed Mar 20, 2024
1 parent f59df42 commit aad0400
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion R/dummy_fn.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
#' @export
#'
#' @import data.table
dummy_fn <- function(){
dummy_fn <- function() {
# this function exists only to trigger imports and code-coverage

a <- 1 + 1
return(NULL)
}
4 changes: 4 additions & 0 deletions tests/testthat/test-dummy_fn.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Dummy function to trigger code-coverage
test_that("Dummy function returns NULL", {
expect_null(dummy_fn())
})

0 comments on commit aad0400

Please sign in to comment.