Skip to content

Commit

Permalink
Update R/use_memoise.R
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo Gruson <[email protected]>
  • Loading branch information
Matthias Grenié and Bisaloo authored Mar 22, 2024
1 parent 7c9ea13 commit 4b89657
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions R/use_memoise.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,9 @@ use_memoise <- function() {
return(FALSE)
}
# unspecified / default
if (is.null(getOption("fundiversity.memoise"))) {
# TRUE or FALSE depending on whether memoise was installed when fundiversity
# was loaded
return(exists("fd_chull_memoised"))
}
# TRUE or FALSE depending on whether memoise was installed when fundiversity
# was loaded
return(exists("fd_chull_memoised"))
}

exists <- NULL

0 comments on commit 4b89657

Please sign in to comment.