Running examples in ‘BTYD-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: spend.plot.average.transaction.value
> ### Title: Plot Actual vs. Expected Average Transaction Value
> ### Aliases: spend.plot.average.transaction.value
> 
> ### ** Examples
> 
> ## Not run: 
> ##D data(cdnowSummary)
> ##D ave.spend <- cdnowSummary$m.x
> ##D tot.trans <- cdnowSummary$cbs[,"x"]
> ##D # params <- c(6.25, 3.74, 15.44) # in original documentation. check below:
> ##D params <- spend.EstimateParameters(m.x.vector = ave.spend, x.vector = tot.trans)
> ##D 
> ##D # Plot the actual and expected average transaction value across customers.
> ##D f.m.x <- spend.plot.average.transaction.value(params, ave.spend, tot.trans)
> ## End(Not run)
> 
> 
> 
> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
> base::cat("spend.plot.average.transaction.value", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
> ### * <FOOTER>
> ###
> cleanEx()
> options(digits = 7L)
> base::cat("Time elapsed: ", proc.time() - base::get("ptime", pos = 'CheckExEnv'),"\n")
Time elapsed:  58.548 1.44 69.096 0 0 
> grDevices::dev.off()
pdf 
  2 
> ###
> ### Local variables: ***
> ### mode: outline-minor ***
> ### outline-regexp: "\\(> \\)?### [*]+" ***
> ### End: ***
> quit('no')
Assertion failure at kmp_runtime.cpp(6918): temp_reg_status_file_name.
OMP: Error #13: Assertion failure at kmp_runtime.cpp(6918).
OMP: Hint Please submit a bug report with this message, compile and run commands used, and machine configuration info including native compiler and operating system versions. Faster response will be obtained by including all program sources. For information on submitting this issue, please see https://bugs.llvm.org/.
Assertion failure at kmp_runtime.cpp(6918): temp_reg_status_file_name.
OMP: Error #13: Assertion failure at kmp_runtime.cpp(6918).
OMP: Hint Please submit a bug report with this message, compile and run commands used, and machine configuration info including native compiler and operating system versions. Faster response will be obtained by including all program sources. For information on submitting this issue, please see https://bugs.llvm.org/.
Killed