Skip to content

Commit

Permalink
Updated Roxygen.
Browse files Browse the repository at this point in the history
  • Loading branch information
mhahsler committed Mar 1, 2024
1 parent 30e56a1 commit ccf0236
Show file tree
Hide file tree
Showing 31 changed files with 113 additions and 47 deletions.
7 changes: 4 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: arules
Version: 1.7-7
Date: 2023-11-28
Version: 1.7-7-1
Date: 2024-xx-xx
Title: Mining Association Rules and Frequent Itemsets
Authors@R: c(
person("Michael", "Hahsler", role = c("aut", "cre", "cph"),
Expand Down Expand Up @@ -29,10 +29,11 @@ Copyright: The source code for Apriori and Eclat was obtained from
All other code is Copyright (C) Michael Hahsler, Christian Buchta,
Bettina Gruen and Kurt Hornik.
Encoding: UTF-8
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
Roxygen: list(markdown = TRUE)
Collate:
'AAADefs.R'
'AAA_arules-package.R'
'Adult.R'
'itemMatrix.R'
'associations.R'
Expand Down
3 changes: 3 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ exportMethods(
"dissimilarity"
)

export("plot.itemMatrix",
"plot.associations"
)
S3method(plot, associations)
S3method(plot, itemMatrix)

Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# arules 1.7-7-1 (xx/xx/2024)

# arules 1.7-7 (11/28/2023)

## Changes
Expand Down
8 changes: 8 additions & 0 deletions R/AAA_arules-package.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#' @keywords internal
#'
#' @section Key functions and Classes:
#' - Mining Algorithms: [apriori()], [eclat()]
#' - Classes: [transactions], [rules], [itemsets]
#'
#' @useDynLib arules, .registration=TRUE
"_PACKAGE"
2 changes: 1 addition & 1 deletion R/apriori.R
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
#' # since ... gets automatically added to parameter, we can also write the
#' # same call shorter:
#' apriori(Adult, supp = 0.5, conf = 0.9, target = "rules")
#' @export apriori
#' @export
apriori <-
function(data,
parameter = NULL,
Expand Down
3 changes: 2 additions & 1 deletion R/plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@
NULL

### produce a better error message for plot of associations
#' @export
plot.associations <- function(x, ...) stop("Needed package 'arulesViz' not installed or loaded!")

### call image for itemMatrix and transactions
#' @export
plot.itemMatrix <- function(x, ...) {
warning("Use image() instead of plot().")
image(x, ...)
Expand Down
2 changes: 1 addition & 1 deletion R/support.R
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
#'
#' ## count support in the database
#' support(items(itemsets), Income)
#' @export support
#' @export
setGeneric("support",
function(x, transactions, ...)
standardGeneric("support"))
Expand Down
4 changes: 2 additions & 2 deletions man/abbreviate.Rd

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

45 changes: 45 additions & 0 deletions man/arules-package.Rd

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

2 changes: 1 addition & 1 deletion man/c.Rd

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

2 changes: 1 addition & 1 deletion man/crossTable.Rd

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

4 changes: 2 additions & 2 deletions man/duplicated.Rd

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

4 changes: 2 additions & 2 deletions man/extract.Rd

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

4 changes: 2 additions & 2 deletions man/hierarchy.Rd

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

4 changes: 2 additions & 2 deletions man/image.Rd

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

4 changes: 2 additions & 2 deletions man/inspect.Rd

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

4 changes: 2 additions & 2 deletions man/is.superset.Rd

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

2 changes: 1 addition & 1 deletion man/itemFrequency.Rd

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

2 changes: 1 addition & 1 deletion man/itemFrequencyPlot.Rd

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

4 changes: 2 additions & 2 deletions man/itemMatrix-class.Rd

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

4 changes: 2 additions & 2 deletions man/match.Rd

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

4 changes: 2 additions & 2 deletions man/merge.Rd

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

4 changes: 2 additions & 2 deletions man/random.transactions.Rd

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

4 changes: 2 additions & 2 deletions man/sample.Rd

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

Loading

0 comments on commit ccf0236

Please sign in to comment.