CRAN Package Check Results for Package linea

Last updated on 2023-03-20 06:50:40 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 OK
r-devel-linux-x86_64-debian-gcc 0.1.1 11.80 77.57 89.37 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.1 406.51 OK
r-devel-linux-x86_64-fedora-gcc 0.1.1 369.23 OK
r-patched-linux-x86_64 0.1.1 14.65 297.72 312.37 OK
r-release-linux-x86_64 0.1.1 12.10 300.68 312.78 OK
r-release-macos-arm64 0.1.1 82.00 OK
r-release-macos-x86_64 0.1.1 116.00 OK
r-release-windows-x86_64 0.1.1 28.00 342.00 370.00 OK
r-oldrel-macos-arm64 0.1.1 68.00 OK
r-oldrel-macos-x86_64 0.1.1 121.00 OK
r-oldrel-windows-ix86+x86_64 0.1.1 30.00 369.00 399.00 OK

Check Details

Version: 0.1.1
Check: examples
Result: ERROR
    Running examples in ‘linea-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: decomping
    > ### Title: decomping
    > ### Aliases: decomping
    >
    > ### ** Examples
    >
    > run_model(data = mtcars,dv = 'mpg',ivs = c('wt','cyl','disp'),decompose=FALSE) %>% decomping()
    Error in vectbl_assign(x[[j]], i, recycled_value[[j]]) :
     DLL requires the use of native symbols
    Calls: %>% ... tbl_subassign_row -> withCallingHandlers -> vectbl_assign
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [4s/8s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > # libs ####
     > library(testthat)
     > library(linea)
    
     Attaching package: 'linea'
    
     The following object is masked from 'package:stats':
    
     lag
    
     > library(dplyr)
    
     Attaching package: 'dplyr'
    
     The following object is masked from 'package:linea':
    
     lag
    
     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
    
     > library(tidyr)
    
     Attaching package: 'tidyr'
    
     The following object is masked from 'package:testthat':
    
     matches
    
     >
     > # test_check("linea")
     >
     > # set up ####
     > ### NOT POOLED ----
     >
     > # import data
     > data = read_xcsv(verbose = FALSE,
     + file = "https://raw.githubusercontent.com/paladinic/data/main/ecomm_data.csv") %>%
     + check_ts(verbose = FALSE,
     + allow_non_num = TRUE,
     + date_col = "date") %>%
     + get_seasonality(verbose = FALSE,
     + date_col_name = "date",
     + date_type = "weekly starting")
     Rows: 261 Columns: 8
     ── Column specification ────────────────────────────────────────────────────────
     Delimiter: ","
     dbl (7): ecommerce, black.friday, christmas, covid, online_media, offline_m...
     date (1): date
    
     ℹ Use `spec()` to retrieve the full column specification for this data.
     ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
     >
     >
     > # vars
     > dv = "ecommerce"
     > ivs = c("black.friday", "christmas", "covid")
     > id_var = "date"
     >
     > # model table
     > model_table = build_model_table(ivs)
     > model_table$dec[1] = '0.5'
     >
     > # category
     > category = tibble(
     + variable = c("christmas" , "christmas"),
     + category = c("a", "a"),
     + calc = c("", "")
     + )
     >
     > # run model
     > model = run_model(
     + verbose = FALSE,
     + data = data,
     + dv = dv,
     + model_table = model_table,
     + normalise_by_pool = FALSE,
     + id_var = id_var
     + )
     Error in vectbl_assign(x[[j]], i, recycled_value[[j]]) :
     DLL requires the use of native symbols
     Calls: run_model ... tbl_subassign_row -> withCallingHandlers -> vectbl_assign
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc