CRAN Package Check Results for Package dlookr

Last updated on 2021-02-10 10:50:26 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.1 24.42 342.76 367.18 OK
r-devel-linux-x86_64-debian-gcc 0.4.1 19.21 250.58 269.79 OK
r-devel-linux-x86_64-fedora-clang 0.4.1 459.15 OK
r-devel-linux-x86_64-fedora-gcc 0.4.1 444.55 OK
r-devel-windows-ix86+x86_64 0.4.1 45.00 422.00 467.00 OK
r-patched-linux-x86_64 0.4.1 14.20 324.66 338.86 OK
r-patched-solaris-x86 0.4.1 32.80 ERROR
r-release-linux-x86_64 0.4.1 15.90 324.05 339.95 OK
r-release-macos-x86_64 0.4.1 OK
r-release-windows-ix86+x86_64 0.4.1 35.00 302.00 337.00 OK
r-oldrel-macos-x86_64 0.4.1 OK
r-oldrel-windows-ix86+x86_64 0.4.0 31.00 267.00 298.00 ERROR

Check Details

Version: 0.4.1
Check: whether package can be installed
Result: ERROR
    Installation failed.
Flavor: r-patched-solaris-x86

Version: 0.4.0
Check: examples
Result: ERROR
    Running examples in 'dlookr-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: plot_bar_category
    > ### Title: Plot bar chart of categorical variables
    > ### Aliases: plot_bar_category plot_bar_category.data.frame
    > ### plot_bar_category.grouped_df
    >
    > ### ** Examples
    >
    > # Generate data for the example
    > carseats <- ISLR::Carseats
    > carseats[sample(seq(NROW(carseats)), 20), "Income"] <- NA
    > carseats[sample(seq(NROW(carseats)), 5), "Urban"] <- NA
    > set.seed(123)
    > carseats$Test <- sample(LETTERS[1:15], 400, replace = TRUE)
    > carseats$Test[1:30] <- NA
    >
    > # Visualization of all numerical variables
    > plot_bar_category(carseats)
    >
    > # Select the variable to diagnose
    > # plot_bar_category(carseats, "ShelveLoc", "Urban")
    > # plot_bar_category(carseats, -ShelveLoc, -Urban)
    >
    > # Visualize the each plots
    > plot_bar_category(carseats, each = TRUE)
    >
    > # Not allow typographic argument
    > # plot_bar_category(carseats, typographic = FALSE)
    >
    > # Using pipes ---------------------------------
    > library(dplyr)
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    >
    > # Plot of all categorical variables
    > #carseats %>%
    > # plot_bar_category()
    >
    > # Visualize just 7 levels of top frequency
    > carseats %>%
    + plot_bar_category(top = 7)
    >
    > # Visualize only factor, not character
    > # carseats %>%
    > # plot_bar_category(add_character = FALSE)
    >
    > # Using groupd_df ------------------------------
    > carseats %>%
    + group_by(ShelveLoc) %>%
    + plot_bar_category(top = 5)
    Error in UseMethod("mutate") :
     no applicable method for 'mutate' applied to an object of class "c('matrix', 'list')"
    Calls: %>% ... .f -> data.frame -> get_tally_group -> %>% -> mutate
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64