Skip to content

Commit

Permalink
Merge pull request #1455 from dbetebenner/master
Browse files Browse the repository at this point in the history
Fixing up threads
  • Loading branch information
dbetebenner authored Oct 23, 2024
2 parents b5c1cdc + ea39351 commit c6fcc3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
`.onLoad` <-
function(libname, pkgname) {
available_threads <- data.table::getDTthreads()
data.table::setDTthreads(1)
data.table::setDTthreads(available_threads)
utils::globalVariables(c("."))
}

Expand Down

0 comments on commit c6fcc3e

Please sign in to comment.