CRAN Package Check Results for Package extdplyr

Last updated on 2023-03-01 08:54:42 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.5 4.72 44.11 48.83 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.5 4.35 33.63 37.98 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.5 61.87 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.5 57.84 ERROR
r-devel-windows-x86_64 0.1.5 20.00 76.00 96.00 ERROR
r-patched-linux-x86_64 0.1.5 4.15 43.82 47.97 ERROR
r-release-linux-x86_64 0.1.5 3.17 43.41 46.58 ERROR
r-release-macos-arm64 0.1.5 23.00 NOTE
r-release-macos-x86_64 0.1.5 46.00 NOTE
r-release-windows-x86_64 0.1.5 19.00 80.00 99.00 ERROR
r-oldrel-macos-arm64 0.1.5 27.00 NOTE
r-oldrel-macos-x86_64 0.1.5 37.00 NOTE
r-oldrel-windows-ix86+x86_64 0.1.5 19.00 19.00 ERROR

Check Details

Version: 0.1.5
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 0.1.5
Check: examples
Result: ERROR
    Running examples in ‘extdplyr-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: ind_to_char
    > ### Title: Convert indicator data.frame to character/factor.
    > ### Aliases: ind_to_char ind_to_char_
    >
    > ### ** Examples
    >
    > # Supports converting the following atomic types to indicator
    >
    > df <- data.frame(integer_ind = c(2L, 0L, 0L, 0L, 0L, 0L),
    + # non-zero integer is 1, otherwise 0.
    + logcal_ind = c(FALSE, TRUE, FALSE, FALSE, FALSE, FALSE),
    + # TRUE is 1.
    + double_ind = c(0, 0, 2.0, 0, 0, 0),
    + # non-zero double is 1.
    + char_ind = c("FALSE", "FALSE", "F", "TRUE", "T", "FALSE"),
    + # "T" and "TRUE" converts to 1.
    + factor_ind = factor(c(1, 1, 1, 1, 1, 0), levels = c(0, 1),
    + labels = c(TRUE, FALSE)),
    + # Factors are converted based on levels.
    + stringsAsFactors = FALSE)
    >
    > ind_to_char_(df, col = "new_y", from = names(df), remove = FALSE)
     new_y integer_ind logcal_ind double_ind char_ind factor_ind
    1 integer_ind 2 FALSE 0 FALSE FALSE
    2 logcal_ind 0 TRUE 0 FALSE FALSE
    3 double_ind 0 FALSE 2 F FALSE
    4 char_ind 0 FALSE 0 TRUE FALSE
    5 char_ind 0 FALSE 0 T FALSE
    6 factor_ind 0 FALSE 0 FALSE TRUE
    >
    >
    > # ind_to_char as complement to use model.matrix on a factor
    > df <- data.frame(x = 1:6, y = factor(c(letters[1:5], NA)))
    > ind_df <- as.data.frame(model.matrix(~ x + y - 1,
    + model.frame(df, na.action = na.pass)))
    > ind_df # an indicator matrix with NAs
     x ya yb yc yd ye
    1 1 1 0 0 0 0
    2 2 0 1 0 0 0
    3 3 0 0 1 0 0
    4 4 0 0 0 1 0
    5 5 0 0 0 0 1
    6 6 NA NA NA NA NA
    >
    > # New character column is generated with non-selected columns kept as is.
    > ind_to_char(ind_df, new_y, ya:ye)
    Error:
    ! `select_vars()` was deprecated in dplyr 0.8.4 and is now defunct.
    ℹ Please use `tidyselect::vars_select()` instead.
    Backtrace:
     ▆
     1. └─extdplyr::ind_to_char(ind_df, new_y, ya:ye)
     2. └─dplyr::select_vars(colnames(data), ...)
     3. └─lifecycle::deprecate_stop("0.8.4", "select_vars()", "tidyselect::vars_select()")
     4. └─lifecycle:::deprecate_stop0(msg)
     5. └─rlang::cnd_signal(...)
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.1.5
Check: examples
Result: ERROR
    Running examples in ‘extdplyr-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: ind_to_char
    > ### Title: Convert indicator data.frame to character/factor.
    > ### Aliases: ind_to_char ind_to_char_
    >
    > ### ** Examples
    >
    > # Supports converting the following atomic types to indicator
    >
    > df <- data.frame(integer_ind = c(2L, 0L, 0L, 0L, 0L, 0L),
    + # non-zero integer is 1, otherwise 0.
    + logcal_ind = c(FALSE, TRUE, FALSE, FALSE, FALSE, FALSE),
    + # TRUE is 1.
    + double_ind = c(0, 0, 2.0, 0, 0, 0),
    + # non-zero double is 1.
    + char_ind = c("FALSE", "FALSE", "F", "TRUE", "T", "FALSE"),
    + # "T" and "TRUE" converts to 1.
    + factor_ind = factor(c(1, 1, 1, 1, 1, 0), levels = c(0, 1),
    + labels = c(TRUE, FALSE)),
    + # Factors are converted based on levels.
    + stringsAsFactors = FALSE)
    >
    > ind_to_char_(df, col = "new_y", from = names(df), remove = FALSE)
     new_y integer_ind logcal_ind double_ind char_ind factor_ind
    1 integer_ind 2 FALSE 0 FALSE FALSE
    2 logcal_ind 0 TRUE 0 FALSE FALSE
    3 double_ind 0 FALSE 2 F FALSE
    4 char_ind 0 FALSE 0 TRUE FALSE
    5 char_ind 0 FALSE 0 T FALSE
    6 factor_ind 0 FALSE 0 FALSE TRUE
    >
    >
    > # ind_to_char as complement to use model.matrix on a factor
    > df <- data.frame(x = 1:6, y = factor(c(letters[1:5], NA)))
    > ind_df <- as.data.frame(model.matrix(~ x + y - 1,
    + model.frame(df, na.action = na.pass)))
    > ind_df # an indicator matrix with NAs
     x ya yb yc yd ye
    1 1 1 0 0 0 0
    2 2 0 1 0 0 0
    3 3 0 0 1 0 0
    4 4 0 0 0 1 0
    5 5 0 0 0 0 1
    6 6 NA NA NA NA NA
    >
    > # New character column is generated with non-selected columns kept as is.
    > ind_to_char(ind_df, new_y, ya:ye)
    Error:
    ! `select_vars()` was deprecated in dplyr 0.8.4 and is now defunct.
    ℹ Please use `tidyselect::vars_select()` instead.
    Backtrace:
     ▆
     1. └─extdplyr::ind_to_char(ind_df, new_y, ya:ye)
     2. └─dplyr::select_vars(colnames(data), ...)
     3. └─lifecycle::deprecate_stop("0.8.4", "select_vars()", "tidyselect::vars_select()")
     4. └─lifecycle:::deprecate_stop0(msg)
     5. └─rlang::cnd_signal(...)
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.1.5
Check: whether package can be installed
Result: ERROR
    install log '' does not exist
Flavor: r-oldrel-windows-ix86+x86_64