Skip to content

Commit

Permalink
Fix CRAN notes
Browse files Browse the repository at this point in the history
  • Loading branch information
gdemin committed Jul 16, 2023
1 parent 3fec3ce commit 668d7ba
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: expss
Type: Package
Title: Tables, Labels and Some Useful Functions from Spreadsheets and 'SPSS' Statistics
Version: 0.11.5
Version: 0.11.6
Maintainer: Gregory Demin <[email protected]>
Authors@R: c(
person("Gregory", "Demin", email = "[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
0.11.5 (10.07.2023)
0.11.6 (14.07.2023)
================
* add 'as_spss' argument to 'significance_cpct' for more SPSS-compatible results (issue #100)
* add rounding option (issue #100)
Expand Down
1 change: 1 addition & 0 deletions R/dichotomy.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#' @seealso \code{\link{as.category}} for reverse conversion, \link{mrset},
#' \link{mdset} for usage multiple-response variables with tables.
#' @examples
#' data.table::setDTthreads(2)
#' # toy example
#' # brands - multiple response question
#' # Which brands do you use during last three months?
Expand Down
1 change: 1 addition & 0 deletions R/labels.R
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ add_labelled_class.data.frame = add_labelled_class.list
#' @export
#' @examples
#' # toy example
#' data.table::setDTthreads(2)
#' set.seed(123)
#' # score - evaluation of tested product
#'
Expand Down
1 change: 1 addition & 0 deletions R/merge.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#' @export
#'
#' @examples
#' data.table::setDTthreads(2)
#' data(mtcars)
#' # apply labels
#' mtcars = apply_labels(mtcars,
Expand Down
1 change: 1 addition & 0 deletions R/mrset.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#' @export
#'
#' @examples
#' data.table::setDTthreads(2)
#' data(product_test)
#'
#' cross_cpct(product_test, mrset(a1_1 %to% a1_6))
Expand Down
1 change: 1 addition & 0 deletions R/nest.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#' carb = "Number of carburetors"
#' )
#'
#' data.table::setDTthreads(2) # for running on CRAN
#' cross_cases(mtcars, cyl, am %nest% vs)
#'
#' # list of variables
Expand Down
2 changes: 1 addition & 1 deletion R/significance_cpct.R
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,13 @@ KEEP_STAT = c("percent", "cases", "means", "bases", "sd", "none")
#' carb = "Number of carburetors"
#' )
#'
#' \dontrun{
#' mtcars_table = cross_cpct(mtcars,
#' list(cyl, gear),
#' list(total(), vs, am)
#' )
#'
#' significance_cpct(mtcars_table)
#' \dontrun{
#' # comparison with first column
#' significance_cpct(mtcars_table, compare_type = "first_column")
#'
Expand Down
1 change: 1 addition & 0 deletions R/split_labels.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#' @export
#' @seealso \link[base]{strsplit}
#' @examples
#' data.table::setDTthreads(2)
#' data(mtcars)
#'
#' # apply labels
Expand Down
1 change: 1 addition & 0 deletions R/subtotal.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#' @param data intermediate table. See \link{tables}.
#' @return multiple response set or list of the multiple response sets
#' @examples
#' data.table::setDTthreads(2)
#' ol = c(1:7, 99)
#' var_lab(ol) = "Liking"
#' val_lab(ol) = num_lab("
Expand Down
1 change: 1 addition & 0 deletions man/as.dichotomy.Rd

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

1 change: 1 addition & 0 deletions man/merge.etable.Rd

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

1 change: 1 addition & 0 deletions man/mrset.Rd

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

1 change: 1 addition & 0 deletions man/nest.Rd

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

1 change: 1 addition & 0 deletions man/net.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/significance.Rd

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

1 change: 1 addition & 0 deletions man/split_labels.Rd

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

1 change: 1 addition & 0 deletions man/val_lab.Rd

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

1 change: 1 addition & 0 deletions tests/testthat.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ if(capabilities('long.double')){
library(expss)
options(covr = FALSE)
options(width = 1000)
data.table::setDTthreads(2)
testthat::test_check("expss")
}

0 comments on commit 668d7ba

Please sign in to comment.