CRAN Package Check Results for Package iNZightTools

Last updated on 2023-10-01 08:52:01 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.13.0 14.69 149.86 164.55 NOTE
r-devel-linux-x86_64-debian-gcc 1.13.0 10.85 112.33 123.18 ERROR
r-devel-linux-x86_64-fedora-clang 1.13.0 198.24 ERROR
r-devel-linux-x86_64-fedora-gcc 1.13.0 205.60 ERROR
r-devel-windows-x86_64 1.13.0 12.00 135.00 147.00 ERROR
r-patched-linux-x86_64 1.13.0 18.37 143.73 162.10 NOTE
r-release-linux-x86_64 1.13.0 9.03 159.67 168.70 ERROR
r-release-macos-arm64 1.13.0 60.00 NOTE
r-release-macos-x86_64 1.13.0 98.00 NOTE
r-release-windows-x86_64 1.13.0 17.00 166.00 183.00 ERROR
r-oldrel-macos-arm64 1.13.0 51.00 NOTE
r-oldrel-macos-x86_64 1.13.0 78.00 NOTE
r-oldrel-windows-x86_64 1.13.0 18.00 152.00 170.00 NOTE

Check Details

Version: 1.13.0
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘surveyspec’
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, r-oldrel-windows-x86_64

Version: 1.13.0
Check: examples
Result: ERROR
    Running examples in ‘iNZightTools-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: sheets
    > ### Title: List available sheets within a file
    > ### Aliases: sheets
    >
    > ### ** Examples
    >
    > cas_file <- system.file("extdata/cas500.xls", package = "iNZightTools")
    > cas <- smart_read(cas_file)
    Error in FUN(X[[i]], ...) : Unknown input
    Calls: smart_read -> fun -> interpolate -> lapply -> FUN
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.13.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [24s/55s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(iNZightTools)
    
     Attaching package: 'iNZightTools'
    
     The following object is masked from 'package:stats':
    
     filter
    
     >
     > test_check("iNZightTools")
     Loading required package: survey
     Loading required package: grid
     Loading required package: Matrix
     Loading required package: survival
    
     Attaching package: 'survey'
    
     The following object is masked from 'package:graphics':
    
     dotchart
    
    
     Attaching package: 'magrittr'
    
     The following objects are masked from 'package:testthat':
    
     equals, is_less_than, not
    
     Loading required namespace: styler
     [ FAIL 2 | WARN 6 | SKIP 3 | PASS 362 ]
    
     ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
     • On CRAN (2): 'test_smart_read.R:27:5', 'test_smart_read.R:253:5'
     • surveyspec cannot be loaded (1): 'test_survey_design.R:4:1'
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test_smart_read.R:178:5'): Reading (excel) files converts strings to factor ──
     Error in `FUN(X[[i]], ...)`: Unknown input
     Backtrace:
     ▆
     1. └─iNZightTools::smart_read("cas500.xls", na = "NA") at test_smart_read.R:178:4
     2. └─iNZightTools (local) fun(...)
     3. └─iNZightTools:::interpolate(exp, file = file, sheetname = sheet)
     4. └─base::lapply(list(...), as_call)
     5. └─iNZightTools (local) FUN(X[[i]], ...)
     ── Error ('test_smart_read.R:184:5'): Read excel returns list of sheets as attribute ──
     Error in `FUN(X[[i]], ...)`: Unknown input
     Backtrace:
     ▆
     1. └─iNZightTools::smart_read("cas500.xls", preview = TRUE, na = "NA") at test_smart_read.R:184:4
     2. └─iNZightTools (local) fun(...)
     3. └─iNZightTools:::interpolate(exp, file = file, sheetname = sheet)
     4. └─base::lapply(list(...), as_call)
     5. └─iNZightTools (local) FUN(X[[i]], ...)
    
     [ FAIL 2 | WARN 6 | SKIP 3 | PASS 362 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.13.0
Check: examples
Result: ERROR
    Running examples in ‘iNZightTools-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: sheets
    > ### Title: List available sheets within a file
    > ### Aliases: sheets
    >
    > ### ** Examples
    >
    > cas_file <- system.file("extdata/cas500.xls", package = "iNZightTools")
    > cas <- smart_read(cas_file)
    Error in FUN(X[[i]], ...) : Unknown input
    Calls: smart_read -> fun -> interpolate -> lapply -> FUN
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 1.13.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [34s/40s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(iNZightTools)
    
     Attaching package: 'iNZightTools'
    
     The following object is masked from 'package:stats':
    
     filter
    
     >
     > test_check("iNZightTools")
     Loading required package: survey
     Loading required package: grid
     Loading required package: Matrix
     Loading required package: survival
    
     Attaching package: 'survey'
    
     The following object is masked from 'package:graphics':
    
     dotchart
    
    
     Attaching package: 'magrittr'
    
     The following objects are masked from 'package:testthat':
    
     equals, is_less_than, not
    
     Loading required namespace: styler
     [ FAIL 2 | WARN 6 | SKIP 3 | PASS 362 ]
    
     ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
     • On CRAN (2): 'test_smart_read.R:27:5', 'test_smart_read.R:253:5'
     • surveyspec cannot be loaded (1): 'test_survey_design.R:4:1'
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test_smart_read.R:178:5'): Reading (excel) files converts strings to factor ──
     Error in `FUN(X[[i]], ...)`: Unknown input
     Backtrace:
     ▆
     1. └─iNZightTools::smart_read("cas500.xls", na = "NA") at test_smart_read.R:178:4
     2. └─iNZightTools (local) fun(...)
     3. └─iNZightTools:::interpolate(exp, file = file, sheetname = sheet)
     4. └─base::lapply(list(...), as_call)
     5. └─iNZightTools (local) FUN(X[[i]], ...)
     ── Error ('test_smart_read.R:184:5'): Read excel returns list of sheets as attribute ──
     Error in `FUN(X[[i]], ...)`: Unknown input
     Backtrace:
     ▆
     1. └─iNZightTools::smart_read("cas500.xls", preview = TRUE, na = "NA") at test_smart_read.R:184:4
     2. └─iNZightTools (local) fun(...)
     3. └─iNZightTools:::interpolate(exp, file = file, sheetname = sheet)
     4. └─base::lapply(list(...), as_call)
     5. └─iNZightTools (local) FUN(X[[i]], ...)
    
     [ FAIL 2 | WARN 6 | SKIP 3 | PASS 362 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.13.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [39s/74s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(iNZightTools)
    
     Attaching package: 'iNZightTools'
    
     The following object is masked from 'package:stats':
    
     filter
    
     >
     > test_check("iNZightTools")
     Loading required package: survey
     Loading required package: grid
     Loading required package: Matrix
     Loading required package: survival
    
     Attaching package: 'survey'
    
     The following object is masked from 'package:graphics':
    
     dotchart
    
    
     Attaching package: 'magrittr'
    
     The following objects are masked from 'package:testthat':
    
     equals, is_less_than, not
    
     Loading required namespace: styler
     [ FAIL 2 | WARN 6 | SKIP 3 | PASS 362 ]
    
     ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
     • On CRAN (2): 'test_smart_read.R:27:5', 'test_smart_read.R:253:5'
     • surveyspec cannot be loaded (1): 'test_survey_design.R:4:1'
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test_smart_read.R:178:5'): Reading (excel) files converts strings to factor ──
     Error in `FUN(X[[i]], ...)`: Unknown input
     Backtrace:
     ▆
     1. └─iNZightTools::smart_read("cas500.xls", na = "NA") at test_smart_read.R:178:4
     2. └─iNZightTools (local) fun(...)
     3. └─iNZightTools:::interpolate(exp, file = file, sheetname = sheet)
     4. └─base::lapply(list(...), as_call)
     5. └─iNZightTools (local) FUN(X[[i]], ...)
     ── Error ('test_smart_read.R:184:5'): Read excel returns list of sheets as attribute ──
     Error in `FUN(X[[i]], ...)`: Unknown input
     Backtrace:
     ▆
     1. └─iNZightTools::smart_read("cas500.xls", preview = TRUE, na = "NA") at test_smart_read.R:184:4
     2. └─iNZightTools (local) fun(...)
     3. └─iNZightTools:::interpolate(exp, file = file, sheetname = sheet)
     4. └─base::lapply(list(...), as_call)
     5. └─iNZightTools (local) FUN(X[[i]], ...)
    
     [ FAIL 2 | WARN 6 | SKIP 3 | PASS 362 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.13.0
Check: tests
Result: ERROR
     Running 'testthat.R' [27s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(iNZightTools)
    
     Attaching package: 'iNZightTools'
    
     The following object is masked from 'package:stats':
    
     filter
    
     >
     > test_check("iNZightTools")
     Loading required package: survey
     Loading required package: grid
     Loading required package: Matrix
     Loading required package: survival
    
     Attaching package: 'survey'
    
     The following object is masked from 'package:graphics':
    
     dotchart
    
    
     Attaching package: 'magrittr'
    
     The following objects are masked from 'package:testthat':
    
     equals, is_less_than, not
    
     Loading required namespace: styler
     Failed with error: '.onLoad failed in loadNamespace() for 'styler', details:
     call: .difftime(tim, units = units)
     error: could not find function ".difftime"'
     In addition: There were 50 or more warnings (use warnings() to see the first 50)
     Loading required namespace: styler
     Failed with error: '.onLoad failed in loadNamespace() for 'styler', details:
     call: .difftime(tim, units = units)
     error: could not find function ".difftime"'
     Loading required namespace: styler
     Failed with error: '.onLoad failed in loadNamespace() for 'styler', details:
     call: .difftime(tim, units = units)
     error: could not find function ".difftime"'
     Loading required namespace: styler
     Failed with error: '.onLoad failed in loadNamespace() for 'styler', details:
     call: .difftime(tim, units = units)
     error: could not find function ".difftime"'
     Loading required namespace: styler
     Failed with error: '.onLoad failed in loadNamespace() for 'styler', details:
     call: .difftime(tim, units = units)
     error: could not find function ".difftime"'
     [ FAIL 7 | WARN 102 | SKIP 4 | PASS 354 ]
    
     ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
     • On CRAN (2): 'test_smart_read.R:27:5', 'test_smart_read.R:253:5'
     • URL not available. (1): 'test_smart_read.R:203:5'
     • surveyspec cannot be loaded (1): 'test_survey_design.R:4:1'
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test_smart_read.R:178:5'): Reading (excel) files converts strings to factor ──
     Error in `FUN(X[[i]], ...)`: Unknown input
     Backtrace:
     ▆
     1. └─iNZightTools::smart_read("cas500.xls", na = "NA") at test_smart_read.R:178:4
     2. └─iNZightTools (local) fun(...)
     3. └─iNZightTools:::interpolate(exp, file = file, sheetname = sheet)
     4. └─base::lapply(list(...), as_call)
     5. └─iNZightTools (local) FUN(X[[i]], ...)
     ── Error ('test_smart_read.R:184:5'): Read excel returns list of sheets as attribute ──
     Error in `FUN(X[[i]], ...)`: Unknown input
     Backtrace:
     ▆
     1. └─iNZightTools::smart_read("cas500.xls", preview = TRUE, na = "NA") at test_smart_read.R:184:4
     2. └─iNZightTools (local) fun(...)
     3. └─iNZightTools:::interpolate(exp, file = file, sheetname = sheet)
     4. └─base::lapply(list(...), as_call)
     5. └─iNZightTools (local) FUN(X[[i]], ...)
     ── Error ('test_tidy_code.R:5:5'): Cody tidying does not break code ────────────
     Error in `FUN(X[[i]], ...)`: Please install suggested package: 'styler'
     Backtrace:
     ▆
     1. └─iNZightTools::tidy_all_code(x) at test_tidy_code.R:5:4
     2. └─base::sapply(allcode, tidy_code, width = width, indent = indent)
     3. └─base::lapply(X = X, FUN = FUN, ...)
     4. └─iNZightTools (local) FUN(X[[i]], ...)
     ── Error ('test_tidy_code.R:26:5'): Code writing can remove library calls ──────
     Error in `FUN(X[[i]], ...)`: Please install suggested package: 'styler'
     Backtrace:
     ▆
     1. └─iNZightTools::tidy_all_code(x, incl_library = FALSE) at test_tidy_code.R:26:4
     2. └─base::sapply(allcode, tidy_code, width = width, indent = indent)
     3. └─base::lapply(X = X, FUN = FUN, ...)
     4. └─iNZightTools (local) FUN(X[[i]], ...)
     ── Error ('test_tidy_code.R:32:5'): Cody tidying does not break code 2 ─────────
     Error in `FUN(X[[i]], ...)`: Please install suggested package: 'styler'
     Backtrace:
     ▆
     1. └─iNZightTools::tidy_all_code(x) at test_tidy_code.R:32:4
     2. └─base::sapply(allcode, tidy_code, width = width, indent = indent)
     3. └─base::lapply(X = X, FUN = FUN, ...)
     4. └─iNZightTools (local) FUN(X[[i]], ...)
     ── Error ('test_tidy_code.R:53:5'): print_code works OK ────────────────────────
     Error in `FUN(X[[i]], ...)`: Please install suggested package: 'styler'
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test_tidy_code.R:53:4
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. ├─base::eval(parse(text = capture.output(print_code(dat))))
     5. ├─base::parse(text = capture.output(print_code(dat)))
     6. ├─utils::capture.output(print_code(dat))
     7. │ └─base::withVisible(...elt(i))
     8. └─iNZightTools::print_code(dat)
     9. └─iNZightTools::tidy_all_code(c, ...)
     10. └─base::sapply(allcode, tidy_code, width = width, indent = indent)
     11. └─base::lapply(X = X, FUN = FUN, ...)
     12. └─iNZightTools (local) FUN(X[[i]], ...)
     ── Error ('test_tidy_code.R:66:5'): tidying from file works OK ─────────────────
     Error in `FUN(X[[i]], ...)`: Please install suggested package: 'styler'
     Backtrace:
     ▆
     1. └─iNZightTools::tidy_all_code("messy_gapminder.txt") at test_tidy_code.R:66:4
     2. └─base::sapply(allcode, tidy_code, width = width, indent = indent)
     3. └─base::lapply(X = X, FUN = FUN, ...)
     4. └─iNZightTools (local) FUN(X[[i]], ...)
    
     [ FAIL 7 | WARN 102 | SKIP 4 | PASS 354 ]
     Error: Test failures
     In addition: There were 50 or more warnings (use warnings() to see the first 50)
     Execution halted
Flavor: r-devel-windows-x86_64

Version: 1.13.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [45s/67s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(iNZightTools)
    
     Attaching package: 'iNZightTools'
    
     The following object is masked from 'package:stats':
    
     filter
    
     >
     > test_check("iNZightTools")
     Loading required package: survey
     Loading required package: grid
     Loading required package: Matrix
     Loading required package: survival
    
     Attaching package: 'survey'
    
     The following object is masked from 'package:graphics':
    
     dotchart
    
    
     *** caught segfault ***
     address 0x30, cause 'memory not mapped'
     Segmentation fault
Flavor: r-release-linux-x86_64

Version: 1.13.0
Check: tests
Result: ERROR
     Running 'testthat.R' [35s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(iNZightTools)
    
     Attaching package: 'iNZightTools'
    
     The following object is masked from 'package:stats':
    
     filter
    
     >
     > test_check("iNZightTools")
     Loading required package: survey
     Loading required package: grid
     Loading required package: Matrix
     Loading required package: survival
    
     Attaching package: 'survey'
    
     The following object is masked from 'package:graphics':
    
     dotchart
    
    
     Attaching package: 'magrittr'
    
     The following objects are masked from 'package:testthat':
    
     equals, is_less_than, not
    
     Loading required namespace: styler
     Failed with error: '.onLoad failed in loadNamespace() for 'styler', details:
     call: .difftime(tim, units = units)
     error: could not find function ".difftime"'
     In addition: There were 50 or more warnings (use warnings() to see the first 50)
     Loading required namespace: styler
     Failed with error: '.onLoad failed in loadNamespace() for 'styler', details:
     call: .difftime(tim, units = units)
     error: could not find function ".difftime"'
     Loading required namespace: styler
     Failed with error: '.onLoad failed in loadNamespace() for 'styler', details:
     call: .difftime(tim, units = units)
     error: could not find function ".difftime"'
     Loading required namespace: styler
     Failed with error: '.onLoad failed in loadNamespace() for 'styler', details:
     call: .difftime(tim, units = units)
     error: could not find function ".difftime"'
     Loading required namespace: styler
     Failed with error: '.onLoad failed in loadNamespace() for 'styler', details:
     call: .difftime(tim, units = units)
     error: could not find function ".difftime"'
     [ FAIL 5 | WARN 102 | SKIP 4 | PASS 358 ]
    
     ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
     • On CRAN (2): 'test_smart_read.R:27:5', 'test_smart_read.R:253:5'
     • URL not available. (1): 'test_smart_read.R:203:5'
     • surveyspec cannot be loaded (1): 'test_survey_design.R:4:1'
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test_tidy_code.R:5:5'): Cody tidying does not break code ────────────
     Error in `FUN(X[[i]], ...)`: Please install suggested package: 'styler'
     Backtrace:
     ▆
     1. └─iNZightTools::tidy_all_code(x) at test_tidy_code.R:5:4
     2. └─base::sapply(allcode, tidy_code, width = width, indent = indent)
     3. └─base::lapply(X = X, FUN = FUN, ...)
     4. └─iNZightTools (local) FUN(X[[i]], ...)
     ── Error ('test_tidy_code.R:26:5'): Code writing can remove library calls ──────
     Error in `FUN(X[[i]], ...)`: Please install suggested package: 'styler'
     Backtrace:
     ▆
     1. └─iNZightTools::tidy_all_code(x, incl_library = FALSE) at test_tidy_code.R:26:4
     2. └─base::sapply(allcode, tidy_code, width = width, indent = indent)
     3. └─base::lapply(X = X, FUN = FUN, ...)
     4. └─iNZightTools (local) FUN(X[[i]], ...)
     ── Error ('test_tidy_code.R:32:5'): Cody tidying does not break code 2 ─────────
     Error in `FUN(X[[i]], ...)`: Please install suggested package: 'styler'
     Backtrace:
     ▆
     1. └─iNZightTools::tidy_all_code(x) at test_tidy_code.R:32:4
     2. └─base::sapply(allcode, tidy_code, width = width, indent = indent)
     3. └─base::lapply(X = X, FUN = FUN, ...)
     4. └─iNZightTools (local) FUN(X[[i]], ...)
     ── Error ('test_tidy_code.R:53:5'): print_code works OK ────────────────────────
     Error in `FUN(X[[i]], ...)`: Please install suggested package: 'styler'
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test_tidy_code.R:53:4
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. ├─base::eval(parse(text = capture.output(print_code(dat))))
     5. ├─base::parse(text = capture.output(print_code(dat)))
     6. ├─utils::capture.output(print_code(dat))
     7. │ └─base::withVisible(...elt(i))
     8. └─iNZightTools::print_code(dat)
     9. └─iNZightTools::tidy_all_code(c, ...)
     10. └─base::sapply(allcode, tidy_code, width = width, indent = indent)
     11. └─base::lapply(X = X, FUN = FUN, ...)
     12. └─iNZightTools (local) FUN(X[[i]], ...)
     ── Error ('test_tidy_code.R:66:5'): tidying from file works OK ─────────────────
     Error in `FUN(X[[i]], ...)`: Please install suggested package: 'styler'
     Backtrace:
     ▆
     1. └─iNZightTools::tidy_all_code("messy_gapminder.txt") at test_tidy_code.R:66:4
     2. └─base::sapply(allcode, tidy_code, width = width, indent = indent)
     3. └─base::lapply(X = X, FUN = FUN, ...)
     4. └─iNZightTools (local) FUN(X[[i]], ...)
    
     [ FAIL 5 | WARN 102 | SKIP 4 | PASS 358 ]
     Error: Test failures
     Execution halted
Flavor: r-release-windows-x86_64