CRAN Package Check Results for Package modeltime.resample

Last updated on 2021-12-05 06:48:47 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 26.34 292.74 319.08 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 19.13 219.78 238.91 OK
r-devel-linux-x86_64-fedora-clang 0.2.0 375.76 NOTE
r-devel-linux-x86_64-fedora-gcc 0.2.0 364.13 NOTE
r-devel-windows-x86_64-new-UL 0.2.0 41.00 341.00 382.00 OK
r-devel-windows-x86_64-new-TK 0.2.0 NOTE
r-devel-windows-x86_64-old 0.2.0 39.00 251.00 290.00 OK
r-patched-linux-x86_64 0.2.0 24.14 279.82 303.96 OK
r-release-linux-x86_64 0.2.0 22.64 285.33 307.97 OK
r-release-macos-arm64 0.2.0 NOTE
r-release-macos-x86_64 0.2.0 ERROR
r-release-windows-ix86+x86_64 0.2.0 58.00 338.00 396.00 OK
r-oldrel-macos-x86_64 0.2.0 NOTE
r-oldrel-windows-ix86+x86_64 0.2.0 56.00 349.00 405.00 OK

Check Details

Version: 0.2.0
Check: package dependencies
Result: NOTE
    Imports includes 23 non-default packages.
    Importing from so many packages makes the package vulnerable to any of
    them becoming unavailable. Move as many as possible to Suggests and
    use conditionally.
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.2.0
Check: dependencies in R code
Result: NOTE
    Namespaces in Imports field not imported from:
     ‘crayon’ ‘dials’ ‘glue’ ‘parsnip’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-new-TK, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.2.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [8s/12s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     101: tryCatch(withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error), error = handle_fatal, skip = function(e) { })
     102: test_code(NULL, exprs, env)
     103: source_file(path, child_env(env), wrap = wrap)
     104: FUN(X[[i]], ...)
     105: lapply(test_paths, test_one_file, env = env, wrap = wrap)
     106: force(code)
     107: doWithOneRestart(return(expr), restart)
     108: withOneRestart(expr, restarts[[1L]])
     109: withRestarts(testthat_abort_reporter = function() NULL, force(code))
     110: with_reporter(reporters$multi, lapply(test_paths, test_one_file, env = env, wrap = wrap))
     111: test_files(test_dir = test_dir, test_package = test_package, test_paths = test_paths, load_helpers = load_helpers, reporter = reporter, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, wrap = wrap, load_package = load_package)
     112: test_files(test_dir = path, test_paths = test_paths, test_package = package, reporter = reporter, load_helpers = load_helpers, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, wrap = wrap, load_package = load_package, parallel = parallel)
     113: test_dir("testthat", package = package, reporter = reporter, ..., load_package = "installed")
     114: test_check("modeltime.resample")
     An irrecoverable exception occurred. R is aborting now ...
Flavor: r-release-macos-x86_64

Version: 0.2.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘getting-started.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    ── Attaching packages ────────────────────────────────────── tidymodels 0.1.3 ──
    ✔ broom 0.7.6 ✔ recipes 0.1.16
    ✔ dials 0.0.9 ✔ rsample 0.1.0
    ✔ dplyr 1.0.6 ✔ tibble 3.1.2
    ✔ ggplot2 3.3.3 ✔ tidyr 1.1.3
    ✔ infer 0.5.4 ✔ tune 0.1.5
    ✔ modeldata 0.1.0 ✔ workflows 0.2.2
    ✔ parsnip 0.1.5 ✔ workflowsets 0.0.2
    ✔ purrr 0.3.4 ✔ yardstick 0.0.8
    ── Conflicts ───────────────────────────────────────── tidymodels_conflicts() ──
    ✖ purrr::discard() masks scales::discard()
    ✖ dplyr::filter() masks stats::filter()
    ✖ dplyr::lag() masks stats::lag()
    ✖ recipes::step() masks stats::step()
    • Use tidymodels_prefer() to resolve common conflicts.
    ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.1 ──
    ✔ readr 1.4.0 ✔ forcats 0.5.1
    ✔ stringr 1.4.0
    ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
    ✖ readr::col_factor() masks scales::col_factor()
    ✖ purrr::discard() masks scales::discard()
    ✖ dplyr::filter() masks stats::filter()
    ✖ stringr::fixed() masks recipes::fixed()
    ✖ dplyr::lag() masks stats::lag()
    ✖ readr::spec() masks yardstick::spec()
    Using date_var: date
    --- finished re-building ‘getting-started.Rmd’
    
    sh: line 1: 65108 Segmentation fault: 11 '/Library/Frameworks/R.framework/Resources/bin/R' --vanilla --no-echo > '/Volumes/Temp/tmp/RtmpOy3VSC/filef7426fe3b9b3' 2>&1 < '/Volumes/Temp/tmp/RtmpOy3VSC/filef7424fb4d028'
    --- re-building ‘panel-data.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    ── Attaching packages ────────────────────────────────────── tidymodels 0.1.3 ──
    ✔ broom 0.7.6 ✔ recipes 0.1.16
    ✔ dials 0.0.9 ✔ rsample 0.1.0
    ✔ dplyr 1.0.6 ✔ tibble 3.1.2
    ✔ ggplot2 3.3.3 ✔ tidyr 1.1.3
    ✔ infer 0.5.4 ✔ tune 0.1.5
    ✔ modeldata 0.1.0 ✔ workflows 0.2.2
    ✔ parsnip 0.1.5 ✔ workflowsets 0.0.2
    ✔ purrr 0.3.4 ✔ yardstick 0.0.8
    ── Conflicts ───────────────────────────────────────── tidymodels_conflicts() ──
    ✖ purrr::discard() masks scales::discard()
    ✖ dplyr::filter() masks stats::filter()
    ✖ dplyr::lag() masks stats::lag()
    ✖ recipes::step() masks stats::step()
    • Use tidymodels_prefer() to resolve common conflicts.
    ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.1 ──
    ✔ readr 1.4.0 ✔ forcats 0.5.1
    ✔ stringr 1.4.0
    ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
    ✖ readr::col_factor() masks scales::col_factor()
    ✖ purrr::discard() masks scales::discard()
    ✖ dplyr::filter() masks stats::filter()
    ✖ stringr::fixed() masks recipes::fixed()
    ✖ dplyr::lag() masks stats::lag()
    ✖ readr::spec() masks yardstick::spec()
    Loading required package: lubridate
    
    Attaching package: 'lubridate'
    
    The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
    Loading required package: PerformanceAnalytics
    Loading required package: xts
    Loading required package: zoo
    
    Attaching package: 'zoo'
    
    The following objects are masked from 'package:base':
    
     as.Date, as.Date.numeric
    
    
    Attaching package: 'xts'
    
    The following objects are masked from 'package:dplyr':
    
     first, last
    
    
    Attaching package: 'PerformanceAnalytics'
    
    The following object is masked from 'package:graphics':
    
     legend
    
    Loading required package: quantmod
    Loading required package: TTR
    
    Attaching package: 'TTR'
    
    The following object is masked from 'package:modeltime':
    
     growth
    
    ══ Need to Learn tidyquant? ════════════════════════════════════════════════════
    Business Science offers a 1-hour course - Learning Lab #9: Performance Analysis & Portfolio Optimization with tidyquant!
    </> Learn more at: https://university.business-science.io/p/learning-labs-pro </>
    Data is not ordered by the 'date_var'. Resamples will be arranged by `Date`.
    Overlapping Timestamps Detected. Processing overlapping time series together using sliding windows.
    Disabling weekly seasonality. Run prophet with weekly.seasonality=TRUE to override this.
    Disabling daily seasonality. Run prophet with daily.seasonality=TRUE to override this.
    
     *** caught segfault ***
    address 0x10f56affc, cause 'memory not mapped'
    
    Traceback:
     1: gc(FALSE)
     2: system.time(res$fit <- eval_mod(fit_call, capture = control$verbosity == 0, catch = control$catch, env = env, ...))
     3: xy_xy(object = object, env = eval_env, control = control, target = "matrix", ...)
     4: fit_xy.model_spec(spec, x = mold$predictors, y = mold$outcomes, control = control_parsnip)
     5: fit_xy(spec, x = mold$predictors, y = mold$outcomes, control = control_parsnip)
     6: fit_from_xy(spec, mold, control_parsnip)
     7: fit.action_model(action_model, workflow = workflow, control = control)
     8: fit(action_model, workflow = workflow, control = control)
     9: .fit_model(workflow, control)
    10: fit.workflow(., training(walmart_tscv$splits[[1]]))
    11: fit(., training(walmart_tscv$splits[[1]]))
    12: workflow() %>% add_model(boost_tree() %>% set_engine("xgboost")) %>% add_recipe(recipe_spec %>% step_rm(Date)) %>% fit(training(walmart_tscv$splits[[1]]))
    13: eval(expr, envir, enclos)
    14: eval(expr, envir, enclos)
    15: withVisible(eval(expr, envir, enclos))
    16: withCallingHandlers(withVisible(eval(expr, envir, enclos)), warning = wHandler, error = eHandler, message = mHandler)
    17: handle(ev <- withCallingHandlers(withVisible(eval(expr, envir, enclos)), warning = wHandler, error = eHandler, message = mHandler))
    18: timing_fn(handle(ev <- withCallingHandlers(withVisible(eval(expr, envir, enclos)), warning = wHandler, error = eHandler, message = mHandler)))
    19: 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)
    20: evaluate::evaluate(...)
    21: evaluate(code, envir = env, new_device = FALSE, keep_warning = !isFALSE(options$warning), keep_message = !isFALSE(options$message), stop_on_error = if (is.numeric(options$error)) options$error else { if (options$error && options$include) 0L else 2L }, output_handler = knit_handlers(options$render, options))
    22: 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 (is.numeric(options$error)) options$error else { if (options$error && options$include) 0L else 2L }, output_handler = knit_handlers(options$render, options)))
    23: eng_r(options)
    24: block_exec(params)
    25: call_block(x)
    26: process_group.block(group)
    27: process_group(group)
    28: 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"), ") ") })
    29: process_file(text, output)
    30: knit(input, text = text, envir = envir, quiet = quiet)
    31: (if (grepl("\\.[Rr]md$", file)) knit2html else if (grepl("\\.[Rr]rst$", file)) knit2pandoc else knit)(file, encoding = encoding, quiet = quiet, envir = globalenv(), ...)
    32: vweave(...)
    33: engine$weave(file, quiet = quiet, encoding = enc)
    34: doTryCatch(return(expr), name, parentenv, handler)
    35: tryCatchOne(expr, names, parentenv, handlers[[1L]])
    36: tryCatchList(expr, classes, parentenv, handlers)
    37: 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) }}, error = function(e) { OK <<- FALSE message(gettextf("Error: processing vignette '%s' failed with diagnostics:\n%s", file, conditionMessage(e)))})
    38: tools:::.buildOneVignette("panel-data.Rmd", "/Volumes/Builds/packages/high-sierra-x86_64/results/4.1/modeltime.resample.Rcheck/vign_test/modeltime.resample", TRUE, FALSE, "panel-data", "UTF-8", "/Volumes/Temp/tmp/RtmpOy3VSC/filef742439aeba1.rds")
    An irrecoverable exception occurred. R is aborting now ...
    SUMMARY: processing the following file failed:
     ‘panel-data.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-release-macos-x86_64