Skip to content

Commit

Permalink
rm {dplyr} dep
Browse files Browse the repository at this point in the history
  • Loading branch information
privefl committed Sep 9, 2024
1 parent 7938220 commit 74dd5bf
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Encoding: UTF-8
Package: bigstatsr
Type: Package
Title: Statistical Tools for Filebacked Big Matrices
Version: 1.6.0
Date: 2024-09-09
Version: 1.6.1
Date: 2024-09-10
Authors@R: c(
person("Florian", "Privé", email = "[email protected]",
role = c("aut", "cre")),
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## bigstatsr 1.6.1

- Remove {dplyr} dependency for internal function `any_near0()`.

## bigstatsr 1.6.0

- Fix conversion from `NA_real` to FBM type integer on new Macs.
Expand Down
4 changes: 2 additions & 2 deletions R/utils-assert.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ MSG_ZERO_SCALE <-

################################################################################

any_near0 <- function(x) {
any(dplyr::near(x, 0))
any_near0 <- function(x, tol = 1e-8) {
any(abs(x) < tol)
}

################################################################################
Expand Down
6 changes: 5 additions & 1 deletion docs/news/index.html

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

0 comments on commit 74dd5bf

Please sign in to comment.