Skip to content

Commit

Permalink
rebuild recheck
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnMount committed Oct 4, 2019
1 parent f6ecdb5 commit a915b67
Show file tree
Hide file tree
Showing 64 changed files with 673 additions and 385 deletions.
10 changes: 5 additions & 5 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: WVPlots
Type: Package
Title: Common Plots for Analysis
Version: 1.2.0
Date: 2019-09-14
Date: 2019-10-03
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.8.8),
sigr (>= 1.0.5),
cdata (>= 1.1.0),
wrapr (>= 1.9.0),
sigr (>= 1.0.6),
cdata (>= 1.1.2),
rqdatatable (>= 1.2.2),
rquery,
rquery (>= 1.3.8),
utils,
grid,
gridExtra,
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ importFrom(stats,as.formula)
importFrom(stats,binomial)
importFrom(stats,complete.cases)
importFrom(stats,dbeta)
importFrom(stats,dbinom)
importFrom(stats,density)
importFrom(stats,dnorm)
importFrom(stats,ecdf)
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# WVPlots 1.2.0 2019-09-14
# WVPlots 1.2.0 2019-10-03

* Bring in rqdatatable for data aggregation tasks.

Expand Down
7 changes: 6 additions & 1 deletion R/PlotDistCountBinomial.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@

#' @importFrom stats dbinom
NULL

#' Plot count data with a theoretical binomial
#'
#' Compares empirical count data to a binomial distribution
Expand Down Expand Up @@ -73,9 +77,10 @@ PlotDistCountBinomial = function(frm, xvar, trial_size, title, ...,

# theoretical counts (not necessarily integral)
dtheory = data.frame(x = 0:trial_size,
y = ntrials*dbinom(0:trial_size, trial_size, p))
y = ntrials*stats::dbinom(0:trial_size, trial_size, p))
colnames(dtheory) = c(xvar, "number_of_observations")

one = 1 # don't look unbound
# empirical counts
demp = frm %.>%
extend(., one=1) %.>%
Expand Down
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@

<!-- README.md is generated from README.Rmd. Please edit that file -->
WVPlots
=======

Common plots we use for analysis and presentation (on top of ggplot2 in [R](https://cran.r-project.org)). For an introduction please see: [here](http://www.win-vector.com/blog/2018/05/wvplots-now-at-version-1-0-0-on-cran/).
# WVPlots

Common plots we use for analysis and presentation (on top of ggplot2 in
[R](https://cran.r-project.org)). For an introduction please see:
[here](http://www.win-vector.com/blog/2018/05/wvplots-now-at-version-1-0-0-on-cran/).

Website: <https://github.com/WinVector/WVPlots>

![](https://github.com/WinVector/WVPlots/raw/master/tools/WVPlots.png)

More notes:
More
notes:

- <http://www.win-vector.com/blog/2013/02/revisiting-clevelands-the-elements-of-graphing-data-in-ggplot2/>
- <http://www.win-vector.com/blog/2011/12/my-favorite-graphs/>
- <http://www.win-vector.com/blog/2009/11/i-dont-think-that-means-what-you-think-it-means-statistics-to-english-translation-part-1-accuracy-measures/>
- <http://www.win-vector.com/blog/2013/02/revisiting-clevelands-the-elements-of-graphing-data-in-ggplot2/>
- <http://www.win-vector.com/blog/2011/12/my-favorite-graphs/>
- <http://www.win-vector.com/blog/2009/11/i-dont-think-that-means-what-you-think-it-means-statistics-to-english-translation-part-1-accuracy-measures/>

------------------------------------------------------------------------
-----

To install from CRAN:

Expand Down
32 changes: 13 additions & 19 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,34 @@

## Test environments


### OSX

R CMD check --as-cran WVPlots_1.1.2.tar.gz
* using R version 3.6.1 (2019-07-05)
R CMD check --as-cran WVPlots_1.2.0.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.1.2
* this is package ‘WVPlots’ version ‘1.2.0
* checking CRAN incoming feasibility ... Note_to_CRAN_maintainers
Maintainer: ‘John Mount <[email protected]>’
* checking package namespace information ... OK
* checking package dependencies ... OK
Status: OK


### Windows

devtools::check_win_devel()

rhub::check_for_cran()
723#> * using R Under development (unstable) (2019-08-30 r77101)
724#> * using platform: x86_64-w64-mingw32 (64-bit)
725#> * using session charset: ISO8859-1
726#> * using option '--as-cran'
727#> * checking for file 'WVPlots/DESCRIPTION' ... OK
728#> * checking extension type ... Package
729#> * this is package 'WVPlots' version '1.1.2'
730#> * checking CRAN incoming feasibility ... Note_to_CRAN_maintainers
731#> Maintainer: 'John Mount '
787#> Status: OK

720#> * using R Under development (unstable) (2019-09-18 r77193)
721#> * using platform: x86_64-w64-mingw32 (64-bit)
722#> * using session charset: ISO8859-1
723#> * using option '--as-cran'
724#> * checking for file 'WVPlots/DESCRIPTION' ... OK
725#> * checking extension type ... Package
726#> * this is package 'WVPlots' version '1.2.0'
727#> * checking CRAN incoming feasibility ... Note_to_CRAN_maintainers
728#> Maintainer: 'John Mount '
784#> Status: OK

## Downstream dependencies

Expand Down
4 changes: 2 additions & 2 deletions docs/404.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/LICENSE-text.html

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

Loading

0 comments on commit a915b67

Please sign in to comment.