CRAN Package Check Results for Package prt

Last updated on 2021-03-02 05:47:50 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.3 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.3 3.65 44.61 48.26 OK
r-devel-linux-x86_64-fedora-clang 0.1.3 83.11 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.3 68.78 NOTE
r-devel-windows-ix86+x86_64 0.1.2 8.00 54.00 62.00 OK
r-patched-linux-x86_64 0.1.3 4.52 53.02 57.54 OK
r-patched-solaris-x86 0.1.3 104.40 WARN
r-release-linux-x86_64 0.1.3 4.67 53.76 58.43 OK
r-release-macos-x86_64 0.1.3 NOTE
r-release-windows-ix86+x86_64 0.1.2 10.00 60.00 70.00 OK
r-oldrel-macos-x86_64 0.1.3 NOTE
r-oldrel-windows-ix86+x86_64 0.1.2 6.00 60.00 66.00 OK

Check Details

Version: 0.1.3
Check: tests
Result: ERROR
     Running 'testthat.R' [5s/6s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(prt)
     >
     > if (requireNamespace("xml2")) {
     + test_check("prt", reporter = MultiReporter$new(reporters = list(JunitReporter$new(file = "test-results.xml"), CheckReporter$new())))
     + } else {
     + test_check("prt")
     + }
     Loading required namespace: xml2
     == Skipped tests ===============================================================
     * Non-UTF-8 locale (4)
    
     == Failed tests ================================================================
     -- Error (test-nse.R:55:3): nse subsetting -------------------------------------
     Error: Parameter fromRow should have a positive value.
     Backtrace:
     x
     1. +-testthat::expect_warning(...) test-nse.R:55:2
     2. | \-testthat:::quasi_capture(enquo(object), label, capture_warnings)
     3. | +-testthat:::.capture(...)
     4. | | \-base::withCallingHandlers(...)
     5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. +-base::subset(prt_cars, inds & mpg < 20, part_safe = TRUE)
     7. \-prt:::subset.prt(prt_cars, inds & mpg < 20, part_safe = TRUE)
     8. \-prt::subset_quo(x, subset, select, part_safe)
     9. \-prt:::prt_lapply(...)
     10. \-base::lapply(unclass(x), ...)
     11. \-prt:::FUN(X[[i]], ...)
     12. \-prt:::fst_read(x, rows = rows, columns = j)
     13. \-fst::read_fst(...)
    
     [ FAIL 1 | WARN 0 | SKIP 4 | PASS 248 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.3
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘knitr’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.1.3
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘prt.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    
     *** caught segfault ***
    address f6071710, cause 'memory not mapped'
    
    Traceback:
     1: fstretrieve(file_name, columns, from, to)
     2: fst::read_fst(fst_filename(x), columns = unique(columns), from = from, to = to, as.data.table = TRUE)
     3: FUN(X[[i]], ...)
     4: lapply(unclass(x), ...)
     5: prt_lapply(x, fst_read, rows = NULL, columns = columns)
     6: prt_read(x, rows = i, columns = j)
     7: prt_subset2(x, j = i, i = NULL)
     8: `[[.prt`(flights, 1L)
     9: flights[[1L]]
    10: str(flights[[1L]])
    11: eval(expr, envir, enclos)
    12: eval(expr, envir, enclos)
    13: withVisible(eval(expr, envir, enclos))
    14: withCallingHandlers(withVisible(eval(expr, envir, enclos)), warning = wHandler, error = eHandler, message = mHandler)
    15: handle(ev <- withCallingHandlers(withVisible(eval(expr, envir, enclos)), warning = wHandler, error = eHandler, message = mHandler))
    16: timing_fn(handle(ev <- withCallingHandlers(withVisible(eval(expr, envir, enclos)), warning = wHandler, error = eHandler, message = mHandler)))
    17: evaluate_call(expr, parsed$src[[i]], envir = envir, enclos = enclos, debug = debug, last = i == length(out), use_try = stop_on_error != 2L, keep_warning = keep_warning, keep_message = keep_message, output_handler = output_handler, include_timing = include_timing)
    18: evaluate::evaluate(...)
    19: evaluate(code, envir = env, new_device = FALSE, keep_warning = !isFALSE(options$warning), keep_message = !isFALSE(options$message), stop_on_error = if (options$error && options$include) 0L else 2L, output_handler = knit_handlers(options$render, options))
    20: in_dir(input_dir(), evaluate(code, envir = env, new_device = FALSE, keep_warning = !isFALSE(options$warning), keep_message = !isFALSE(options$message), stop_on_error = if (options$error && options$include) 0L else 2L, output_handler = knit_handlers(options$render, options)))
    21: block_exec(params)
    22: call_block(x)
    23: process_group.block(group)
    24: process_group(group)
    25: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group), error = function(e) { setwd(wd) cat(res, sep = "\n", file = output %n% "") message("Quitting from lines ", paste(current_lines(i), collapse = "-"), " (", knit_concord$get("infile"), ") ") })
    26: process_file(text, output)
    27: knit(input, text = text, envir = envir, quiet = quiet)
    28: knit2html(..., force_v1 = TRUE)
    29: (if (grepl("\\.[Rr]md$", file)) knit2html_v1 else if (grepl("\\.[Rr]rst$", file)) knit2pandoc else knit)(file, encoding = encoding, quiet = quiet, envir = globalenv(), ...)
    30: vweave(...)
    31: engine$weave(file, quiet = quiet, encoding = enc)
    32: doTryCatch(return(expr), name, parentenv, handler)
    33: tryCatchOne(expr, names, parentenv, handlers[[1L]])
    34: tryCatchList(expr, classes, parentenv, handlers)
    35: tryCatch({ engine$weave(file, quiet = quiet, encoding = enc) setwd(startdir) output <- find_vignette_product(name, by = "weave", engine = engine) if (!have.makefile && vignette_is_tex(output)) { texi2pdf(file = output, clean = FALSE, quiet = quiet) output <- find_vignette_product(name, by = "texi2pdf", engine = engine) } outputs <- c(outputs, output)}, error = function(e) { thisOK <<- FALSE fails <<- c(fails, file) message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s", file, conditionMessage(e)))})
    36: tools:::buildVignettes(dir = "/home/ripley/R/packages/tests32/prt.Rcheck/vign_test/prt", ser_elibs = "/tmp/RtmpykaipI/file44797aa77155.rds")
    An irrecoverable exception occurred. R is aborting now ...
Flavor: r-patched-solaris-x86