Skip to content

Commit

Permalink
Fix noSuggest with no future
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Romain committed Jul 8, 2024
1 parent 9d4feb3 commit bbd3eff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/utils_threads.R
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ get_lidr_threads = function()
#' @noRd
try_to_get_num_future_cores = function()
{
if (!"future" %in% rownames(installed.packages()))
return(1L)

# nocov start

# get the current plan
Expand Down

0 comments on commit bbd3eff

Please sign in to comment.