CRAN Package Check Results for Package promotionImpact

Last updated on 2021-02-05 15:54:19 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.4 10.18 81.25 91.43 OK
r-devel-linux-x86_64-debian-gcc 0.1.4 7.60 58.87 66.47 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.4 123.72 OK
r-devel-linux-x86_64-fedora-gcc 0.1.4 106.25 OK
r-devel-windows-ix86+x86_64 0.1.4 25.00 109.00 134.00 OK
r-patched-linux-x86_64 0.1.4 6.09 77.02 83.11 OK
r-patched-solaris-x86 0.1.4 162.00 OK
r-release-linux-x86_64 0.1.4 0.24 2.66 2.90 ERROR
r-release-macos-x86_64 0.1.4 OK
r-release-windows-ix86+x86_64 0.1.4 25.00 106.00 131.00 OK
r-oldrel-macos-x86_64 0.1.4 OK
r-oldrel-windows-ix86+x86_64 0.1.4 12.00 74.00 86.00 OK

Check Details

Version: 0.1.4
Check: examples
Result: ERROR
    Running examples in ‘promotionImpact-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: compareModels
    > ### Title: compare several models
    > ### Aliases: compareModels
    >
    > ### ** Examples
    >
    > ## Don't show:
    > sim.data.sub <- sim.data %>% filter(dt <= '2015-05-01')
    > sim.promotion.sub <- sim.promotion %>% filter(start_dt <= '2015-05-01')
    > pri1 <- promotionImpact(data=sim.data.sub, promotion=sim.promotion.sub,
    + time.field = 'dt', target.field = 'simulated_sales',
    + trend = FALSE, period = NULL, structural.change = FALSE,
    + logged = TRUE, differencing = TRUE, synergy.promotion = FALSE,
    + synergy.var = NULL, allow.missing = TRUE)
    Warning in data.table::dcast(dt.tagvalue, date ~ pro_tag, value.var = "smoothing.value", :
     The dcast generic in data.table has been passed a data.frame and will attempt to redirect to the reshape2::dcast; please note that reshape2 is deprecated, and this redirection is now deprecated as well. Please do this redirection yourself like reshape2::dcast(dt.tagvalue). In the next version, this warning will become an error.
    Error in xtfrm.data.frame(x) : cannot xtfrm data frames
    Calls: promotionImpact ... lapply -> FUN -> as.vector -> xtfrm -> xtfrm.data.frame
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.4
Check: package dependencies
Result: ERROR
    Package required but not available: ‘prophet’
    
    See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
    manual.
Flavor: r-release-linux-x86_64