CRAN Package Check Results for Package embed

Last updated on 2020-02-22 00:54:43 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.5 22.14 209.90 232.04 ERROR
r-devel-linux-x86_64-debian-gcc 0.0.5 12.44 161.02 173.46 OK
r-devel-linux-x86_64-fedora-clang 0.0.5 275.37 OK
r-devel-linux-x86_64-fedora-gcc 0.0.5 273.63 OK
r-devel-windows-ix86+x86_64 0.0.5 59.00 214.00 273.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.0.5 84.00 319.00 403.00 OK
r-patched-linux-x86_64 0.0.5 OK
r-patched-solaris-x86 0.0.5 4.10 ERROR
r-release-linux-x86_64 0.0.5 12.76 183.60 196.36 OK
r-release-windows-ix86+x86_64 0.0.5 46.00 189.00 235.00 OK
r-release-osx-x86_64 0.0.5 OK
r-oldrel-windows-ix86+x86_64 0.0.5 31.00 208.00 239.00 OK
r-oldrel-osx-x86_64 0.0.5 OK

Check Details

Version: 0.0.5
Check: tests
Result: ERROR
     Running 'testthat.R' [24s/26s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(embed)
     Loading required package: recipes
     Loading required package: dplyr
    
     Attaching package: 'dplyr'
    
     The following object is masked from 'package:testthat':
    
     matches
    
     The following objects are masked from 'package:stats':
    
     filter, lag
    
     The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    
     Attaching package: 'recipes'
    
     The following object is masked from 'package:stats':
    
     step
    
     >
     > test_check(package = "embed")
     -- 1. Error: (unknown) (@test_mixed.R#3) --------------------------------------
     arguments imply differing number of rows: 3, 2
     Backtrace:
     1. base::source(testthat::test_path("make_example_data.R"))
     5. base::data.frame(...)
    
     -- 2. Error: (unknown) (@test_no_pooling.R#3) ---------------------------------
     arguments imply differing number of rows: 3, 2
     Backtrace:
     1. base::source(testthat::test_path("make_example_data.R"))
     5. base::data.frame(...)
    
     -- 3. Error: (unknown) (@test_pooling.R#3) ------------------------------------
     arguments imply differing number of rows: 3, 2
     Backtrace:
     1. base::source(testthat::test_path("make_example_data.R"))
     5. base::data.frame(...)
    
     -- 4. Error: (unknown) (@test_tf.R#3) -----------------------------------------
     arguments imply differing number of rows: 3, 2
     Backtrace:
     1. base::source(testthat::test_path("make_example_data.R"))
     5. base::data.frame(...)
    
     -- 5. Error: woe_table returns a proper tibble (@test_woe.R#36) ---------------
     'outcome' must have exactly 2 categories (has 1)
     Backtrace:
     1. testthat::expect_equal(...)
     4. embed:::woe_table(df$x1, df$y)
    
     -- 6. Error: woe_table ruturns no messages nor warnings (@test_woe.R#52) ------
     'outcome' must have exactly 2 categories (has 1)
     Backtrace:
     1. testthat::expect_silent(embed:::woe_table(df$x1, df$y))
     9. embed:::woe_table(df$x1, df$y)
    
     -- 7. Error: dictionary returns a proper tibble -------------------------------
     'outcome' must have exactly 2 categories (has 1)
     Backtrace:
     1. embed::dictionary(df, y)
     2. dplyr::select(., ..., -!!outcome)
     9. purrr::map(., woe_table, outcome = outcome_vector, Laplace = Laplace)
     10. embed:::.f(.x[[i]], ...)
    
     -- 8. Error: dictionary accepts numeric, logical and character predictor variabl
     'outcome' must have exactly 2 categories (has 1)
     Backtrace:
     1. testthat::expect_equal(...)
     4. embed::dictionary(...)
     3. dplyr::select(., ..., -!!outcome)
     10. purrr::map(., woe_table, outcome = outcome_vector, Laplace = Laplace)
     13. embed:::.f(.x[[i]], ...)
    
     -- 9. Error: dictionary returns no messages nor warnings nor errors (@test_woe.R
     'outcome' must have exactly 2 categories (has 1)
     Backtrace:
     1. testthat::expect_silent(dictionary(df, y, x1))
     9. embed::dictionary(df, y, x1)
     3. dplyr::select(., ..., -!!outcome)
     10. purrr::map(., woe_table, outcome = outcome_vector, Laplace = Laplace)
     18. embed:::.f(.x[[i]], ...)
    
     -- 10. Error: add_woe returns a proper tibble ---------------------------------
     'outcome' must have exactly 2 categories (has 1)
     Backtrace:
     1. embed::add_woe(df, y)
     2. embed::dictionary(.data, !!outcome, ...)
     3. dplyr::select(., ..., -!!outcome)
     10. purrr::map(., woe_table, outcome = outcome_vector, Laplace = Laplace)
     11. embed:::.f(.x[[i]], ...)
    
     -- 11. Error: add_woe ruturns no messages nor warnings nor errors (@test_woe.R#9
     'outcome' must have exactly 2 categories (has 1)
     Backtrace:
     1. testthat::expect_silent(add_woe(df, y, x1))
     9. embed::add_woe(df, y, x1)
     10. embed::dictionary(.data, !!outcome, ...)
     4. dplyr::select(., ..., -!!outcome)
     11. purrr::map(., woe_table, outcome = outcome_vector, Laplace = Laplace)
     19. embed:::.f(.x[[i]], ...)
    
     -- 12. Error: add_woe accepts numeric, logical and character predictor variables
     'outcome' must have exactly 2 categories (has 1)
     Backtrace:
     1. embed::add_woe(...)
     2. embed::dictionary(.data, !!outcome, ...)
     3. dplyr::select(., ..., -!!outcome)
     10. purrr::map(., woe_table, outcome = outcome_vector, Laplace = Laplace)
     11. embed:::.f(.x[[i]], ...)
    
     -- 13. Error: add_woe returns woe only for those variables that exists in both d
     'outcome' must have exactly 2 categories (has 1)
     Backtrace:
     1. testthat::expect_equal(...)
     5. embed::dictionary(df, y, x1)
     3. dplyr::select(., ..., -!!outcome)
     10. purrr::map(., woe_table, outcome = outcome_vector, Laplace = Laplace)
     14. embed:::.f(.x[[i]], ...)
    
     == testthat results ===========================================================
     [ OK: 30 | SKIPPED: 0 | WARNINGS: 2 | FAILED: 13 ]
     1. Error: (unknown) (@test_mixed.R#3)
     2. Error: (unknown) (@test_no_pooling.R#3)
     3. Error: (unknown) (@test_pooling.R#3)
     4. Error: (unknown) (@test_tf.R#3)
     5. Error: woe_table returns a proper tibble (@test_woe.R#36)
     6. Error: woe_table ruturns no messages nor warnings (@test_woe.R#52)
     7. Error: dictionary returns a proper tibble
     8. Error: dictionary accepts numeric, logical and character predictor variables (@test_woe.R#71)
     9. Error: dictionary returns no messages nor warnings nor errors (@test_woe.R#77)
     1. ...
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.0.5
Check: package dependencies
Result: ERROR
    Package required but not available: ‘uwot’
    
    See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
    manual.
Flavor: r-patched-solaris-x86