Skip to content

Commit

Permalink
Avoid usage of detectCores() in examples
Browse files Browse the repository at this point in the history
This has been causing issues on some Ubuntu machines.
  • Loading branch information
wleoncio committed Apr 25, 2024
1 parent c327839 commit 4948e10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inst/examples/LogicRegr_example.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ data.example <- as.data.frame(X1)


# run the inference with robust g prior
n_cores <- parallel::detectCores() - 1
n_cores <- 1L

\donttest{
res4G <- LogicRegr(
Expand Down
2 changes: 1 addition & 1 deletion man/LogicRegr.Rd

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

0 comments on commit 4948e10

Please sign in to comment.