Skip to content

Commit

Permalink
test: closes #117
Browse files Browse the repository at this point in the history
  • Loading branch information
aravindhebbali committed Nov 10, 2024
1 parent b1c69c3 commit ec6bbc5
Show file tree
Hide file tree
Showing 56 changed files with 6,231 additions and 1,593 deletions.
5 changes: 3 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Suggests:
knitr,
magrittr,
rmarkdown,
testthat,
testthat (>= 3.0.0),
vdiffr,
xplorerr
License: MIT + file LICENSE
Expand All @@ -34,5 +34,6 @@ BugReports: https://github.com/rsquaredacademy/blorr/issues
VignetteBuilder: knitr
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.1.0
RoxygenNote: 7.3.2
LinkingTo: Rcpp
Config/testthat/edition: 3
8 changes: 4 additions & 4 deletions R/blr-bivariate-analysis.R
Original file line number Diff line number Diff line change
Expand Up @@ -335,10 +335,10 @@ plot.blr_segment_dist <- function(x, title = NA, xaxis_title = "Levels",
breaks = seq(0, 1, by = 0.1),
labels = paste0(seq(0, 1, by = 0.1) * 100, '%'),
sec.axis = sec_axis(
trans = ~.,
breaks = seq(0, 1, by = 0.1),
labels = paste0(seq(0, 1, by = 0.1) * 100, '%'),
name = sec_yaxis_title))
transform = ~.,
breaks = seq(0, 1, by = 0.1),
labels = paste0(seq(0, 1, by = 0.1) * 100, '%'),
name = sec_yaxis_title))

if (print_plot) {
print(p)
Expand Down
8 changes: 8 additions & 0 deletions tests/testthat.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# This file is part of the standard setup for testthat.
# It is recommended that you do not modify it.
#
# Where should you do additional test configuration?
# Learn more about the roles of various files in:
# * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
# * https://testthat.r-lib.org/articles/special-files.html

library(testthat)
library(blorr)

Expand Down
Loading

0 comments on commit ec6bbc5

Please sign in to comment.