Skip to content

Commit

Permalink
fix gain report bug
Browse files Browse the repository at this point in the history
rebuild and recheck
  • Loading branch information
JohnMount committed Jan 18, 2020
1 parent 9b69bfc commit 4360d59
Show file tree
Hide file tree
Showing 101 changed files with 943 additions and 318 deletions.
14 changes: 7 additions & 7 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: WVPlots
Type: Package
Title: Common Plots for Analysis
Version: 1.2.2
Date: 2019-11-03
Version: 1.2.3
Date: 2020-01-18
Authors@R: c(
person("John", "Mount", email = "[email protected]", role = c("aut", "cre")),
person("Nina", "Zumel", email = "[email protected]", role = c("aut")),
Expand All @@ -21,11 +21,11 @@ Depends:
R (>= 3.4.0)
Imports:
ggplot2 (>= 2.2.0),
wrapr (>= 1.9.2),
wrapr (>= 1.9.4),
sigr (>= 1.0.6),
cdata (>= 1.1.3),
rqdatatable (>= 1.2.3),
rquery (>= 1.3.9),
cdata (>= 1.1.4),
rqdatatable (>= 1.2.5),
rquery (>= 1.4.1),
utils,
grid,
gridExtra,
Expand All @@ -37,5 +37,5 @@ Suggests:
RUnit,
plotly,
hexbin
RoxygenNote: 6.1.1
RoxygenNote: 7.0.2
ByteCompile: true
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

# WVPlots 1.2.3 2020-01-18

* Fix gini report.

# WVPlots 1.2.2 2019-11-03

* Fix typo in loglog plot (and remove sig presentation).
Expand Down
4 changes: 2 additions & 2 deletions R/GainCurve.R
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ GainCurvePlot = function(frame, xvar, truthVar, title,
xvar),
subtitle=paste0(
'Gini score: ',
format(idealArea, digits = 2),
format(modelArea, digits = 2),
', relative Gini score: ',
format(relGiniScore, digits = 2),
pString
Expand Down Expand Up @@ -483,7 +483,7 @@ GainCurvePlotC = function(frame, xvar, costVar, truthVar, title,
xvar),
subtitle=paste0(
'Gini score: ',
format(idealArea, digits = 2),
format(modelArea, digits = 2),
', relative Gini score: ',
format(relGiniScore, digits = 2),
pString
Expand Down
3 changes: 1 addition & 2 deletions R/run_WVPlots_tests.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
#' Attaches RUnit and pkg, requires RUnit.
#' Stops on error.
#'
#' Based on \url{https://github.com/RcppCore/Rcpp/blob/master/tests/doRUnit.R}. This
#' version is GPL-3, works derived from it must be distributed GPL-3.
#' Based on \code{Rcpp/doRUnit.R}.
#'
#' @param ... not used, force later arguments to bind by name.
#' @param verbose logical, if TRUE print more.
Expand Down
54 changes: 19 additions & 35 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,54 +3,38 @@

### OSX

R CMD check --as-cran WVPlots_1.2.2.tar.gz
R CMD check --as-cran WVPlots_1.2.3.tar.gz
* using R version 3.6.0 (2019-04-26)
* using platform: x86_64-apple-darwin15.6.0 (64-bit)
* using session charset: UTF-8
* using option ‘--as-cran’
* checking for file ‘WVPlots/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘WVPlots’ version ‘1.2.2
* this is package ‘WVPlots’ version ‘1.2.3
* checking CRAN incoming feasibility ... Note_to_CRAN_maintainers
Maintainer: ‘John Mount <[email protected]>’
Status: OK

### Windows

rhub::check_for_cran()
(service broken)

devtools::check_win_devel()
(not yet run)

### Linux

rhub::check_for_cran()
5691#> * using R version 3.6.1 (2019-07-05)
5692#> * using platform: x86_64-pc-linux-gnu (64-bit)
5693#> * using session charset: UTF-8
5694#> * using option ‘--as-cran’
5695#> * checking for file ‘WVPlots/DESCRIPTION’ ... OK
5696#> * checking extension type ... Package
5697#> * this is package ‘WVPlots’ version ‘1.2.2’
5698#> * checking CRAN incoming feasibility ... Note_to_CRAN_maintainers
5699#> Maintainer: ‘John Mount ’
5754#> Status: OK

rhub::check_for_cran()
2766#> About to run xvfb-run R CMD check --as-cran WVPlots_1.2.2.tar.gz
2767#> * using log directory ‘/home/docker/WVPlots.Rcheck’
2768#> * using R Under development (unstable) (2019-11-03 r77361)
2769#> * using platform: x86_64-pc-linux-gnu (64-bit)
2770#> * using session charset: UTF-8
2771#> * using option ‘--as-cran’
2772#> * checking for file ‘WVPlots/DESCRIPTION’ ... OK
2773#> * checking extension type ... Package
2774#> * this is package ‘WVPlots’ version ‘1.2.2’
2775#> * checking CRAN incoming feasibility ...NB: need Internet access to use CRAN incoming checks
2776#> Note_to_CRAN_maintainers
2777#> Maintainer: ‘John Mount ’
2834#> Status: OK
968#> setting _R_CHECK_FORCE_SUGGESTS_ to false
969#> setting R_COMPILE_AND_INSTALL_PACKAGES to never
970#> setting R_REMOTES_STANDALONE to true
971#> setting R_REMOTES_NO_ERRORS_FROM_WARNINGS to true
972#> setting _R_CHECK_FORCE_SUGGESTS_ to true
973#> setting _R_CHECK_CRAN_INCOMING_USE_ASPELL_ to true
974#> * using log directory 'C:/Users/USERkZjcMBnuWD/WVPlots.Rcheck'
975#> * using R Under development (unstable) (2020-01-07 r77637)
976#> * using platform: x86_64-w64-mingw32 (64-bit)
977#> * using session charset: ISO8859-1
978#> * using option '--as-cran'
979#> * checking for file 'WVPlots/DESCRIPTION' ... OK
980#> * checking extension type ... Package
981#> * this is package 'WVPlots' version '1.2.3'
982#> * checking CRAN incoming feasibility ... Note_to_CRAN_maintainers
983#> Maintainer: 'John Mount '
1039#> Status: OK

## Downstream dependencies

Expand Down
2 changes: 1 addition & 1 deletion docs/404.html

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

2 changes: 1 addition & 1 deletion docs/LICENSE-text.html

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

4 changes: 2 additions & 2 deletions docs/articles/WVPlots_concept.html

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

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/articles/WVPlots_examples.html

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

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/articles/index.html

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

2 changes: 1 addition & 1 deletion docs/authors.html

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

2 changes: 1 addition & 1 deletion docs/index.html

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

13 changes: 11 additions & 2 deletions docs/news/index.html

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

15 changes: 12 additions & 3 deletions docs/reference/BinaryYScatterPlot.html

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

14 changes: 11 additions & 3 deletions docs/reference/ClevelandDotPlot.html

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

18 changes: 14 additions & 4 deletions docs/reference/ConditionalSmoothedScatterPlot.html

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

5 changes: 2 additions & 3 deletions docs/reference/DiscreteDistribution.html

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

13 changes: 10 additions & 3 deletions docs/reference/DoubleDensityPlot.html

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

Loading

0 comments on commit 4360d59

Please sign in to comment.