Skip to content

Commit

Permalink
Started devel version.
Browse files Browse the repository at this point in the history
  • Loading branch information
mhahsler committed Aug 27, 2024
1 parent 748cf7a commit bf9ac7e
Show file tree
Hide file tree
Showing 9 changed files with 65 additions and 107 deletions.
78 changes: 41 additions & 37 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,48 +1,52 @@
Package: arulesViz
Version: 1.5.3
Date: 2024-04-25
Title: Visualizing Association Rules and Frequent Itemsets
Version: 1.5.3-1
Date: 2024-xx-xx
Authors@R: c(
person("Michael", "Hahsler", role = c("aut", "cre", "cph"),
email = "[email protected]",
comment = c(ORCID = "0000-0003-2716-1405")),
person("Giallanza", "Tyler", role = c("ctb")),
person("Sudheer", "Chelluboina", role = c("ctb"))
)
Depends: arules (>= 1.6.0)
Imports: graphics,
methods,
utils,
grDevices,
stats,
seriation,
grid,
vcd,
igraph,
scatterplot3d,
ggplot2,
ggraph,
tibble,
tidyr,
dplyr,
DT,
plotly,
visNetwork
person("Michael", "Hahsler", , "[email protected]", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0003-2716-1405")),
person("Giallanza", "Tyler", role = "ctb"),
person("Sudheer", "Chelluboina", role = "ctb")
)
Description: Extends package 'arules' with various visualization
techniques for association rules and itemsets. The package also
includes several interactive visualizations for rule exploration.
Michael Hahsler (2017) <doi:10.32614/RJ-2017-047>.
License: GPL-3
URL: https://github.com/mhahsler/arulesViz
BugReports: https://github.com/mhahsler/arulesViz/issues
Depends:
arules (>= 1.6.0)
Imports:
dplyr,
DT,
ggplot2,
ggraph,
graphics,
grDevices,
grid,
igraph,
methods,
plotly,
scatterplot3d,
seriation,
stats,
tibble,
tidyr,
utils,
vcd,
visNetwork
Suggests:
datasets,
graph,
htmlwidgets,
Rgraphviz,
tidygraph,
shiny,
shinythemes,
htmlwidgets,
testthat (>= 3.0.0)
Description: Extends package 'arules' with various visualization techniques for association rules and itemsets. The package also includes several interactive visualizations for rule exploration. Michael Hahsler (2017) <doi:10.32614/RJ-2017-047>.
License: GPL-3
testthat (>= 3.0.0),
tidygraph
Config/testthat/edition: 3
Copyright: (C) 2021 Michael Hahsler
Encoding: UTF-8
RoxygenNote: 7.3.1
Roxygen: list(markdown = TRUE)
URL: https://github.com/mhahsler/arulesViz
BugReports: https://github.com/mhahsler/arulesViz/issues
Copyright: (C) 2021 Michael Hahsler
Config/testthat/edition: 3
RoxygenNote: 7.3.2
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# arulesViz 1.5.3-1 (xx/xx/2024)

# arulesViz 1.5.3 (04/25/2024)

## Changes
Expand Down
5 changes: 1 addition & 4 deletions R/inspectDT.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@
#' Association Rules with R. *R Journal,* 9(2):163-175. ISSN 2073-4859.
#' \doi{10.32614/RJ-2017-047}.
#' @keywords print
#' @examples
#' \dontrun{
#' @examplesif requireNamespace("datatable", quietly = TRUE)
#' data(Groceries)
#' rules <- apriori(Groceries, parameter = list(support = 0.005, confidence = 0.5))
#' rules
Expand All @@ -56,8 +55,6 @@
#'
#' # clean up
#' unlink(c("arules.html", "arules_files"), recursive = TRUE)
#' }
#'
#' @export
inspectDT <- function(x, ...) {
UseMethod("inspectDT", x)
Expand Down
1 change: 0 additions & 1 deletion R/plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@
#' and Decision Analytics (DM-DA 2016).
#' @keywords hplot
#' @examples
#'
#' # Note: To speed example execution, not all examples are not run when using example("plot").
#' # Use example("plot") to run all examples.
#'
Expand Down
31 changes: 13 additions & 18 deletions R/ruleExplorer.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,34 +29,29 @@
#' @aliases ruleExplorer explore
#' @param x a set of rules, a transactions object or a data.frame.
#' @param sidebarWidth width of the sidebar as a number between 0 (= 0% of the
#' display width) and 12 (= 100% of the display width).
#' display width) and 12 (= 100% of the display width).
#' @param graphHeight height of the plots in pixels. Increase if you have a
#' larger/higher resolution display.
#' larger/higher resolution display.
#' @return returns a shiny app.
#' @author Tyler Giallanza and Michael Hahsler. Adapted from functions
#' originally created by Andrew Brooks. See
#' [Rsenal](https://github.com/brooksandrew/Rsenal) for the original code.
#' @seealso [plot()] with `engine = "html"`,
#' [inspectDT()], [arules::apriori()].
#' originally created by Andrew Brooks. See
#' [Rsenal](https://github.com/brooksandrew/Rsenal) for the original code.
#' @seealso [plot()] with `engine = "html"`, [inspectDT()], [arules::apriori()].
#' @references Hahsler M (2017). arulesViz: Interactive Visualization of
#' Association Rules with R. *R Journal,* 9(2):163-175. ISSN 2073-4859.
#' \doi{10.32614/RJ-2017-047}.
#' @examples
#' \dontrun{
#' Association Rules with R. *R Journal,* 9(2):163-175. ISSN 2073-4859.
#' \doi{10.32614/RJ-2017-047}.
#' @examplesIf FALSE
#' # this example can only be run manually from the console.
#'
#' # explore pre-mined rules
#' data(Groceries)
#'
#' # explore pre-mined rules
#' rules <- apriori(Groceries,
#' parameter = list(support = 0.001, confidence = 0.8)
#' )
#' rules
#' rules <- apriori(Groceries, parameter =
#' list(support = 0.001, confidence = 0.8))
#'
#' ruleExplorer(rules)
#'
#' # mine and explore rules on the fly
#' data(iris)
#' ruleExplorer(iris)
#' }
#' @export
ruleExplorer <-
function(
Expand Down
27 changes: 0 additions & 27 deletions man/inspectDT.Rd

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

1 change: 0 additions & 1 deletion man/plot_arulesViz.Rd

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

19 changes: 8 additions & 11 deletions man/ruleExplorer.Rd

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

8 changes: 0 additions & 8 deletions tests/testthat.R
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
# This file is part of the standard setup for testthat.
# It is recommended that you do not modify it.
#
# Where should you do additional test configuration?
# Learn more about the roles of various files in:
# * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
# * https://testthat.r-lib.org/articles/special-files.html

library(testthat)
library(arulesViz)

Expand Down

0 comments on commit bf9ac7e

Please sign in to comment.