Skip to content

Commit

Permalink
Release version 1.1.1 to CRAN
Browse files Browse the repository at this point in the history
- Rerun roxygen2 for documentation format compliance
- Move example image in README file to avoid warning
- No functional change
  • Loading branch information
stefan-schroedl committed Jun 26, 2019
1 parent bd850b1 commit 10981a2
Show file tree
Hide file tree
Showing 13 changed files with 385 additions and 168 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
^NEWS\.md$
^README\.Rmd$
^README-.*\.png$
^CRAN-RELEASE$
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: plotluck
Title: 'ggplot2' Version of "I'm Feeling Lucky!"
Version: 1.1.0
Version: 1.1.1
Authors@R: person("Stefan", "Schroedl", , "[email protected]", c("aut", "cre"))
Description: Examines the characteristics of a data frame and a formula to
automatically choose the most suitable type of plot out of the following supported
Expand Down Expand Up @@ -33,5 +33,5 @@ Suggests:
knitr,
rmarkdown,
gapminder
RoxygenNote: 5.0.1
RoxygenNote: 6.1.1
VignetteBuilder: knitr
9 changes: 6 additions & 3 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# plotluck 1.1.1
* Rerun roxygen2 for documentation format compliance
* Move example image in readme file to avoid warning
* No functional change

# plotluck 1.1.0
* Compatibility with ggplot 2.2.0
* Swap order of data and formula arguments, as requested
Expand All @@ -21,9 +26,7 @@
* Several bug fixes

# plotluck 0.1.1

* Bug fix for scatter plots

# plotluck 0.1.0

* Inital Release
* Initial Release
6 changes: 4 additions & 2 deletions R/plotluck.R
Original file line number Diff line number Diff line change
Expand Up @@ -1986,7 +1986,7 @@ parse.formula <- function(form) {

# try to match user input to column names, if not exact
correct.varnames <- function(x, data) {
if (length(x) == 0 || x == '.') {
if (length(x) == 0 || length(x) == 1 && x == '.') {
return(x)
}
for (i in seq(length(x))) {
Expand Down Expand Up @@ -2069,7 +2069,9 @@ info.threshold <- function(cond, msg, threshold, ...) {
#' @param ... additional parameters to be passed to the respective ggplot2 geom objects.
#' @return a ggplot object, or a plotluck.multi object if the dot symbol was used.
#' @export
#' @keywords hplot, aplot, dplot
#' @keywords hplot
#' @keywords aplot
#' @keywords dplot
#' @concept automation
#' @concept visualization
#' @concept plotting
Expand Down
Binary file removed README-unnamed-chunk-2-1.png
Binary file not shown.
4 changes: 3 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
fig.path = "inst/image/README-" # note: iamge at top level gives note "non-standard file"; make sure image is not excluded in .Rbuildignore!!!
)
```

Expand Down Expand Up @@ -33,6 +33,7 @@ Imagine you have given a new R data frame, and would like to get an overview of

## Example


```{r, fig.show='hold'}
library(plotluck)
data(diamonds, package='ggplot2')
Expand Down Expand Up @@ -62,3 +63,4 @@ plotluck(diamonds, price~cut+color)
You can find more examples under `tests/testthat/test_plotluck.R.`

More background is given in the [vignette](http://htmlpreview.github.io/?https://github.com/stefan-schroedl/plotluck/blob/master/inst/doc/plotluck.html).

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,14 @@ Imagine you have given a new R data frame, and would like to get an overview of
## Example



```r
library(plotluck)
data(diamonds, package='ggplot2')
plotluck(diamonds, price~cut+color)
```

![plot of chunk unnamed-chunk-2](README-unnamed-chunk-2-1.png)
![plot of chunk unnamed-chunk-2](inst/image/README-unnamed-chunk-2-1.png)

## Features

Expand All @@ -59,3 +60,4 @@ plotluck(diamonds, price~cut+color)
You can find more examples under `tests/testthat/test_plotluck.R.`

More background is given in the [vignette](http://htmlpreview.github.io/?https://github.com/stefan-schroedl/plotluck/blob/master/inst/doc/plotluck.html).

38 changes: 18 additions & 20 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
## Resubmission

Reduced size of tar.gz from 11M to 370K, as requested.

## Test environments
* local OS X install, R 3.3.1
* local OS X install, R 3.6.0
* win-builder (devel and release)

## R CMD check results
There were no ERRORs or WARNINGs, and 3 NOTES:
There were no ERRORs, no WARNINGs, and 2 NOTES:

NOTE:
Maintainer: 'Stefan Schroedl <[email protected]>'

- License components with restrictions and base license permitting such:
MIT + file LICENSE
File 'LICENSE':
YEAR: 2014
COPYRIGHT HOLDER: Stefan Schroedl
New submission

- running examples for arch 'i386' ... [19s]
Examples with CPU or elapsed time > 10s
user system elapsed
plotluck 15.29 0.19 15.66
- running examples for arch 'x64' ... [26s]
Examples with CPU or elapsed time > 10s
user system elapsed
plotluck 20.95 0.25 21.32
Package was archived on CRAN
CRAN repository db overrides:
X-CRAN-Comment: Archived on 2019-06-16 as issues were not corrected
despite reminders.

NOTE:
Examples with CPU or elapsed time > 5s
user system elapsed
plotluck 4.95 0.16 5.11

I have not changed the examples from last submission, and I don't get these
notes locally. I am assuming the win-builder server is busy.
notes locally.

No reverse dependencies exist.
Loading

0 comments on commit 10981a2

Please sign in to comment.