Skip to content

Commit 767875b

Browse files
committed
chore: cran
1 parent 3f61463 commit 767875b

File tree

203 files changed

+479
-764
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

203 files changed

+479
-764
lines changed

.Rbuildignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@
66
^\.vscode$
77
^cran-comments\.md$
88
^CONDUCT\.md$
9+
^\.github
10+
^\.gitattributes
11+
^CRAN-SUBMISSION$

.travis.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

CRAN-SUBMISSION

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Version: 1.0.2
2+
Date: 2023-09-30 20:08:37 UTC
3+
SHA: 3f61463e6ab8d088ecff35db7cc1edfe633ee9f3

DESCRIPTION

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: waffle
22
Type: Package
33
Title: Create Waffle Chart Visualizations
4-
Version: 1.0.1
5-
Date: 2019-07-07
4+
Version: 1.0.2
5+
Date: 2023-09-30
66
Authors@R: c(
77
person("Bob", "Rudis", email = "[email protected]", role = c("aut", "cre"),
88
comment = c(ORCID = "0000-0001-5670-2640")),
@@ -23,11 +23,8 @@ Description: Square pie charts (a.k.a. waffle charts) can be used
2323
to create waffle charts as well as stitch them together, and to use glyphs
2424
for making isotype pictograms.
2525
Encoding: UTF-8
26-
URL: https://gitlab.com/hrbrmstr/waffle
27-
BugReports: https://gitlab.com/hrbrmstr/waffle/issues
2826
Copyright: file inst/COPYRIGHTS
2927
Suggests:
30-
testthat,
3128
knitr,
3229
rmarkdown,
3330
dplyr,
@@ -47,7 +44,7 @@ Imports:
4744
stats,
4845
htmlwidgets,
4946
DT,
47+
plyr,
5048
rlang,
5149
utils
52-
RoxygenNote: 6.1.1
53-
VignetteBuilder: knitr
50+
RoxygenNote: 7.2.3

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ importFrom(grid,unit.c)
5959
importFrom(grid,unit.pmax)
6060
importFrom(grid,unit.pmin)
6161
importFrom(gtable,is.gtable)
62+
importFrom(plyr,a_ply)
6263
importFrom(rlang,is_missing)
6364
importFrom(stats,setNames)
6465
importFrom(utils,tail)

NEWS.md

Lines changed: 0 additions & 46 deletions
This file was deleted.

R/geom-waffle.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
draw_key_waffle <- function(data, params, size, ...) { # nocov start
1+
draw_key_waffle <- function(data, params, size, ...) {
22

33
# msg("Called => draw_key_waffle()")
44
#
@@ -18,7 +18,7 @@ draw_key_waffle <- function(data, params, size, ...) { # nocov start
1818
lty = data$linetype %||% 1
1919
)
2020
)
21-
} # nocov end
21+
}
2222

2323
#' Waffle (Square pie chart) Geom
2424
#'
@@ -79,7 +79,7 @@ draw_key_waffle <- function(data, params, size, ...) { # nocov start
7979
#' facet_wrap(~fct)
8080
geom_waffle <- function(mapping = NULL, data = NULL,
8181
n_rows = 10, make_proportional = FALSE, flip = FALSE,
82-
na.rm = NA, show.legend = NA,
82+
na.rm = FALSE, show.legend = NA,
8383
radius = grid::unit(0, "npc"),
8484
inherit.aes = TRUE, ...) {
8585

R/stat-waffle.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
stat_waffle <- function(mapping = NULL, data = NULL, geom = "waffle",
44
n_rows = 10, make_proportional = FALSE, flip = FALSE,
55
radius = grid::unit(0, "npc"),
6-
na.rm = NA, show.legend = NA,
6+
na.rm = FALSE, show.legend = NA,
77
inherit.aes = TRUE, ...) {
88

99
# msg("Called => stat_waffle::stat_waffle()")

R/waffle-package.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#' @import curl
1414
#' @import DT
1515
#' @import htmlwidgets
16+
#' @importFrom plyr a_ply
1617
#' @importFrom gtable is.gtable
1718
#' @importFrom RColorBrewer brewer.pal
1819
#' @importFrom ggplot2 ggplot geom_tile scale_fill_manual guides geom_tile ggplotGrob

R/waffle.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#' will map the input to a Font Awesome glyph name and use that glyph for the
2525
#' tile instead of a block (making it more like an isotype pictogram than a
2626
#' waffle chart). You'll need to install Font Awesome 5 and use
27-
#' the [`extrafont` package](`https://github.com/wch/extrafont`) to
27+
#' the `extrafont` package to
2828
#' be able to use Font Awesome 5 glyphs. Sizing is also up to the user since
2929
#' fonts do not automatically scale with graphic resize.
3030
#'

0 commit comments

Comments
 (0)