CRAN Package Check Results for Package goodpractice

Last updated on 2022-04-27 12:55:06 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.2 8.26 131.70 139.96 NOTE
r-devel-linux-x86_64-debian-gcc 1.0.2 6.39 131.68 138.07 NOTE
r-devel-linux-x86_64-fedora-clang 1.0.2 134.26 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.2 131.65 ERROR
r-devel-windows-x86_64 1.0.2 94.00 259.00 353.00 NOTE
r-patched-linux-x86_64 1.0.2 8.07 102.98 111.05 NOTE
r-release-linux-x86_64 1.0.2 4.85 103.22 108.07 NOTE
r-release-macos-arm64 1.0.2 77.00 NOTE
r-release-macos-x86_64 1.0.2 110.00 NOTE
r-release-windows-x86_64 1.0.2 95.00 192.00 287.00 NOTE
r-oldrel-macos-arm64 1.0.2 60.00 NOTE
r-oldrel-macos-x86_64 1.0.2 88.00 NOTE
r-oldrel-windows-ix86+x86_64 1.0.2 15.00 118.00 133.00 NOTE

Check Details

Version: 1.0.2
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, r-oldrel-windows-ix86+x86_64

Version: 1.0.2
Check: examples
Result: ERROR
    Running examples in ‘goodpractice-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: failed_checks
    > ### Title: Names of the failed checks
    > ### Aliases: failed_checks
    >
    > ### ** Examples
    >
    > path <- system.file("bad1", package = "goodpractice")
    > # run a subset of all checks available
    > g <- gp(path, checks = all_checks()[3:16])
    Preparing: description
    Preparing: lintr
    Preparing: namespace
    > failed_checks(g)
    Error in is.na(chk) || ("status" %in% names(chk) && is.na(chk[["status"]])) :
     'length = 2' in coercion to 'logical(1)'
    Calls: failed_checks -> Filter -> unlist -> lapply -> FUN -> check_passed
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.0.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [11s/15s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(goodpractice)
     >
     > test_check("goodpractice")
     [ FAIL 3 | WARN 1 | SKIP 1 | PASS 18 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-api.R:15:3): results ────────────────────────────────────────────
     Error in `is.na(chk) || ("status" %in% names(chk) && is.na(chk[["status"]]))`: 'length = 2' in coercion to 'logical(1)'
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(results(x), res) at test-api.R:15:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─goodpractice::results(x)
     5. ├─base::data.frame(...)
     6. └─base::vapply(gp$checks, check_passed, TRUE)
     7. └─goodpractice FUN(X[[i]], ...)
     ── Error (test-lintr.R:22:1): (code run outside of `test_that()`) ──────────────
     Error in `is.na(chk) || ("status" %in% names(chk) && is.na(chk[["status"]]))`: 'length = 2' in coercion to 'logical(1)'
     Backtrace:
     ▆
     1. └─goodpractice::results(gp_bad1) at test-lintr.R:22:0
     2. ├─base::data.frame(...)
     3. └─base::vapply(gp$checks, check_passed, TRUE)
     4. └─goodpractice FUN(X[[i]], ...)
     ── Error (test-tf.R:8:3): T and F are not okay ─────────────────────────────────
     Error in `is.na(chk) || ("status" %in% names(chk) && is.na(chk[["status"]]))`: 'length = 2' in coercion to 'logical(1)'
     Backtrace:
     ▆
     1. ├─testthat::expect_false(results(x)$result) at test-tf.R:8:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─goodpractice::results(x)
     5. ├─base::data.frame(...)
     6. └─base::vapply(gp$checks, check_passed, TRUE)
     7. └─goodpractice FUN(X[[i]], ...)
    
     [ FAIL 3 | WARN 1 | SKIP 1 | PASS 18 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.2
Check: re-building of vignette outputs
Result: ERROR
    Error(s) in re-building vignettes:
    --- re-building ‘custom_checks.Rmd’ using rmarkdown
    Quitting from lines 58-62 (custom_checks.Rmd)
    Error: processing vignette 'custom_checks.Rmd' failed with diagnostics:
    'length = 2' in coercion to 'logical(1)'
    --- failed re-building ‘custom_checks.Rmd’
    
    --- re-building ‘goodpractice.Rmd’ using rmarkdown
    * installing *source* package ‘badpackage’ ...
    ** using staged installation
    ** R
    ** inst
    ** byte-compile and prepare package for lazy loading
    ** help
    No man pages found in package ‘badpackage’
    *** installing help indices
    ** building package indices
    ** installing vignettes
    ** testing if installed package can be loaded from temporary location
    ** testing if installed package can be loaded from final location
    ** testing if installed package keeps a record of temporary installation path
    * DONE (badpackage)
    Quitting from lines 39-49 (goodpractice.Rmd)
    Error: processing vignette 'goodpractice.Rmd' failed with diagnostics:
    'length = 2' in coercion to 'logical(1)'
    --- failed re-building ‘goodpractice.Rmd’
    
    SUMMARY: processing the following files failed:
     ‘custom_checks.Rmd’ ‘goodpractice.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.0.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [11s/16s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(goodpractice)
     >
     > test_check("goodpractice")
     [ FAIL 3 | WARN 1 | SKIP 1 | PASS 18 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-api.R:15:3): results ────────────────────────────────────────────
     Error in `is.na(chk) || ("status" %in% names(chk) && is.na(chk[["status"]]))`: 'length = 2' in coercion to 'logical(1)'
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(results(x), res) at test-api.R:15:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─goodpractice::results(x)
     5. ├─base::data.frame(...)
     6. └─base::vapply(gp$checks, check_passed, TRUE)
     7. └─goodpractice FUN(X[[i]], ...)
     ── Error (test-lintr.R:22:1): (code run outside of `test_that()`) ──────────────
     Error in `is.na(chk) || ("status" %in% names(chk) && is.na(chk[["status"]]))`: 'length = 2' in coercion to 'logical(1)'
     Backtrace:
     ▆
     1. └─goodpractice::results(gp_bad1) at test-lintr.R:22:0
     2. ├─base::data.frame(...)
     3. └─base::vapply(gp$checks, check_passed, TRUE)
     4. └─goodpractice FUN(X[[i]], ...)
     ── Error (test-tf.R:8:3): T and F are not okay ─────────────────────────────────
     Error in `is.na(chk) || ("status" %in% names(chk) && is.na(chk[["status"]]))`: 'length = 2' in coercion to 'logical(1)'
     Backtrace:
     ▆
     1. ├─testthat::expect_false(results(x)$result) at test-tf.R:8:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─goodpractice::results(x)
     5. ├─base::data.frame(...)
     6. └─base::vapply(gp$checks, check_passed, TRUE)
     7. └─goodpractice FUN(X[[i]], ...)
    
     [ FAIL 3 | WARN 1 | SKIP 1 | PASS 18 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc