Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
00e710f
commit a547ce3
Showing
35 changed files
with
4,216 additions
and
2,870 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,29 @@ | ||
Package: arulesViz | ||
Version: 1.5-0 | ||
Date: 2021-5-21 | ||
Version: 1.5-1 | ||
Date: 2021-11-18 | ||
Title: Visualizing Association Rules and Frequent Itemsets | ||
Authors@R: c(person("Michael", "Hahsler", role = c("aut", "cre", "cph"), | ||
email = "mhahsler@lyle.smu.edu"), | ||
person("Giallanza", "Tyler", role = c("ctb")), | ||
person("Sudheer", "Chelluboina", role = c("ctb")) | ||
) | ||
Depends: arules (>= 1.6.0) | ||
Imports: graphics, methods, utils, grDevices, stats, seriation, | ||
colorspace, grid, vcd, igraph, scatterplot3d, ggplot2, | ||
ggnetwork, tibble, tidyr, dplyr, DT, plotly, visNetwork | ||
Suggests: graph, datasets, Rgraphviz, shiny, shinythemes, htmlwidgets | ||
Imports: graphics, methods, utils, grDevices, stats, seriation, grid, | ||
vcd, igraph, scatterplot3d, ggplot2, ggraph, tibble, tidyr, | ||
dplyr, DT, plotly, visNetwork | ||
Suggests: datasets, graph, Rgraphviz, tidygraph, shiny, shinythemes, | ||
htmlwidgets | ||
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 | ||
Copyright: (C) 2018 Michael Hahsler, Tyler Giallanza and Sudheer | ||
Chelluboina | ||
NeedsCompilation: no | ||
Packaged: 2021-05-21 19:01:01 UTC; hahsler | ||
Packaged: 2021-11-19 16:24:58 UTC; hahsler | ||
Author: Michael Hahsler [aut, cre, cph], | ||
Giallanza Tyler [ctb], | ||
Sudheer Chelluboina [ctb] | ||
Maintainer: Michael Hahsler <mhahsler@lyle.smu.edu> | ||
Repository: CRAN | ||
Date/Publication: 2021-05-21 19:30:02 UTC | ||
Date/Publication: 2021-11-19 17:40:07 UTC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
## This is a modified version from package rlang that only uses base R functionality. | ||
|
||
## action can be "install" (from CRAN), "stop" (with message), "check" (returns TRUE/FALSE) | ||
## manual can be either TRUE or a string with installation instructions. | ||
check_installed <- | ||
function (pkg, | ||
action = "install", | ||
message = NULL) | ||
{ | ||
action <- match.arg(action, choices = c("install", "stop", "check")) | ||
|
||
if (!is.character(pkg)) | ||
stop("`pkg` must be a package name or a vector of package names.") | ||
|
||
needs_install <- | ||
sapply(pkg, function(x) | ||
! requireNamespace(x, | ||
quietly = TRUE)) | ||
|
||
if (action == "check") | ||
return(!any(needs_install)) | ||
|
||
if (any(needs_install)) { | ||
if (!interactive()) | ||
stop(info) | ||
|
||
missing_pkgs <- pkg[needs_install] | ||
missing_pkgs_enum <- paste(missing_pkgs, collapse = ", ") | ||
|
||
info <- | ||
paste("The", missing_pkgs_enum, | ||
"package(s) is/are required.") | ||
|
||
if (action == "install") { | ||
question <- | ||
"Would you like to install the package(s)?" | ||
cat(info, "\n", question, sep = '') | ||
if (utils::menu(c("Yes", "No")) != 1) { | ||
invokeRestart("abort") | ||
} | ||
|
||
utils::install.packages(missing_pkgs) | ||
} else { | ||
### this is stop | ||
cat(info, | ||
"\n", | ||
message, | ||
sep = '') | ||
|
||
invokeRestart("abort") | ||
} | ||
} | ||
|
||
invisible(TRUE) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.