diff --git a/.buildlibrary b/.buildlibrary index f6ef352..18dc6ee 100644 --- a/.buildlibrary +++ b/.buildlibrary @@ -1,4 +1,4 @@ -ValidationKey: '70742752' +ValidationKey: '70762496' AutocreateReadme: yes AcceptedWarnings: - 'Warning: package ''.*'' was built under R version' diff --git a/CITATION.cff b/CITATION.cff index 7ad69cd..183c879 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -2,7 +2,7 @@ cff-version: 1.2.0 message: If you use this software, please cite it using the metadata from this file. type: software title: 'luplot: Landuse Plot Library' -version: 3.58.3 +version: 3.58.4 date-released: '2024-01-22' abstract: Some useful functions to plot data such as a map plot function for MAgPIE objects. diff --git a/DESCRIPTION b/DESCRIPTION index 05e1e51..9a0dcfd 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: luplot Title: Landuse Plot Library -Version: 3.58.3 +Version: 3.58.4 Date: 2024-01-22 Authors@R: c( person("Benjamin Leon", "Bodirsky", , "bodirsky@pik-potsdam.de", role = c("aut", "cre")), diff --git a/R/plotCorrHist2D.R b/R/plotCorrHist2D.R index 343de2f..87b8f18 100644 --- a/R/plotCorrHist2D.R +++ b/R/plotCorrHist2D.R @@ -78,8 +78,8 @@ plotCorrHist2D <- function(x, y, title = NULL, xlab = "x", ylab = "y", bins = 40 limMin <- min(min(data[, valueX]), min(data[, valueY])) limMax <- max(max(data[, valueX]), max(data[, valueY])) - limx1 <- if(is.null (limx)) c(limMin , limMax + limMax / 7) else limx - limy1 <- if (is.null(limy)) c(limMin , limMax + limMax / 7) else limy + limx1 <- if (is.null(limx)) c(limMin - limMax / 7, limMax + limMax / 7) else limx + limy1 <- if (is.null(limy)) c(limMin - limMax / 7, limMax + limMax / 7) else limy labelX <- limx1[2] - limx1[2] / 8 labelY <- limMin + limMax / 4 diff --git a/README.md b/README.md index ba625ee..fcfd466 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Landuse Plot Library -R package **luplot**, version **3.58.3** +R package **luplot**, version **3.58.4** [![CRAN status](https://www.r-pkg.org/badges/version/luplot)](https://cran.r-project.org/package=luplot) [![R build status](https://github.com/pik-piam/luplot/workflows/check/badge.svg)](https://github.com/pik-piam/luplot/actions) [![codecov](https://codecov.io/gh/pik-piam/luplot/branch/master/graph/badge.svg)](https://app.codecov.io/gh/pik-piam/luplot) [![r-universe](https://pik-piam.r-universe.dev/badges/luplot)](https://pik-piam.r-universe.dev/builds) @@ -39,7 +39,7 @@ In case of questions / problems please contact Benjamin Bodirsky . +Bodirsky B, Dietrich J, Krause M, Stevanovic M, Humpenoeder F, Weindl I, Baumstark L, Klein D, Rolinski S, Wang X (2024). _luplot: Landuse Plot Library_. R package version 3.58.4, . A BibTeX entry for LaTeX users is @@ -48,7 +48,7 @@ A BibTeX entry for LaTeX users is title = {luplot: Landuse Plot Library}, author = {Benjamin Leon Bodirsky and Jan Philipp Dietrich and Michael Krause and Miodrag Stevanovic and Florian Humpenoeder and Isabelle Weindl and Lavinia Baumstark and David Klein and Susanne Rolinski and Xiaoxi Wang}, year = {2024}, - note = {R package version 3.58.3}, + note = {R package version 3.58.4}, url = {https://github.com/pik-piam/luplot}, } ```