From 2f072f9dc38e83de5fb64dbef6ba2e64401d1177 Mon Sep 17 00:00:00 2001 From: thomvolker Date: Thu, 19 Jun 2025 09:34:31 +0200 Subject: [PATCH 1/2] Increment version number to 0.2.1.9000 --- DESCRIPTION | 2 +- NEWS.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 69ab625..6eca36b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: densityratio Type: Package Title: Distribution Comparison Through Density Ratio Estimation -Version: 0.2.1 +Version: 0.2.1.9000 Authors@R: c( person("Thom", "Volker", email = "thombenjaminvolker@gmail.com", diff --git a/NEWS.md b/NEWS.md index 5a6cd0e..f322ce1 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,5 @@ +# densityratio (development version) + # densityratio 0.2.1 * patch test files to work with the new upcoming ggplot release From e5ca1febed73fa0b5074886eb36d97409a176b98 Mon Sep 17 00:00:00 2001 From: Thom Volker Date: Tue, 15 Jul 2025 23:07:19 +0200 Subject: [PATCH 2/2] fix variable ordering in empty panels plot_bivariate --- R/plot.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/plot.R b/R/plot.R index a05a91b..e8b4864 100644 --- a/R/plot.R +++ b/R/plot.R @@ -556,7 +556,7 @@ plot_bivariate <- function(x, vars = NULL, samples = "both", grid = FALSE, ## Create name of empty panels in the upper diagonal empty_panels <- expand.grid(seq(1:length(vars)), seq(1:length(vars))) - empty_panels <- empty_panels[empty_panels$Var2 > empty_panels$Var1, , drop = FALSE] + empty_panels <- empty_panels[empty_panels$Var1 > empty_panels$Var2, , drop = FALSE] empty_panels$panel <- paste0("panel-", empty_panels$Var1, "-", empty_panels$Var2)