Skip to content

Commit e03f692

Browse files
committed
Now using $.subsettable_type from svMisc
1 parent c2f73b8 commit e03f692

File tree

6 files changed

+6
-17
lines changed

6 files changed

+6
-17
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: chart
22
Type: Package
3-
Version: 1.5.2
3+
Version: 1.5.3
44
Title: 'SciViews::R' - Unified Interface (with Formula) for R Plots
55
Description: Chart generalizes plot generation in R, being with base R plot
66
function, lattice or ggplot2. A formula interface is available for both

NAMESPACE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Generated by roxygen2: do not edit by hand
22

33
S3method("$",subsettable_Sgg)
4-
S3method("$",subsettable_type)
54
S3method(.DollarNames,subsettable_Sgg)
65
S3method(chart,"function")
76
S3method(chart,default)

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# chart 1.5.3
2+
3+
- Now using `$.subsettable_type()` method from {svMisc}.
4+
15
# chart 1.5.2
26

37
- Documentation (vignettes and README file) are completed.

R/chart.R

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -260,14 +260,6 @@ env = parent.frame()) {
260260
res
261261
}
262262

263-
#' @export
264-
#' @rdname chart
265-
#' @param x A `subsettable_type` function.
266-
#' @param name The value to use for the `type=` argument.
267-
#' @method $ subsettable_type
268-
`$.subsettable_type` <- function(x, name)
269-
function(...) x(type = name, ...)
270-
271263
#' Combine charts
272264
#'
273265
#' Assemble multiple charts on the same page. Wrapper around [ggarrange()] with

inst/WORDLIST

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ README
1313
reusability
1414
SciViews
1515
subsettable
16+
svMisc
1617
thetics
1718
viridis

man/chart.Rd

Lines changed: 0 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)