Running examples in 'lazytrade-Ex.R' failed
The error most likely occurred in:

> ### Name: aml_consolidate_results
> ### Title: Function to consolidate model test results
> ### Aliases: aml_consolidate_results
> 
> ### ** Examples
> 
> 
> 
> library(dplyr)

Attaching package: 'dplyr'

The following objects are masked from 'package:stats':

    filter, lag

The following objects are masked from 'package:base':

    intersect, setdiff, setequal, union

> library(magrittr)
> library(readr)
> library(lazytrade)
> library(stats)
> 
> testpath <- normalizePath(tempdir(),winslash = "/")
> path_model <- file.path(testpath, "_Model")
> path_sbxm <- file.path(testpath, "_T1")
> path_sbxs <- file.path(testpath, "_T3")
> path_logs <- file.path(testpath, "_LOGS")
> dir.create(path_model)
> dir.create(path_sbxm)
> dir.create(path_sbxs)
> dir.create(path_logs)
> 
> file.copy(from = system.file("extdata", "StrTest-EURGBPM15.csv", package = "lazytrade"),
+           to = file.path(path_model, "StrTest-EURGBPM15.csv"), overwrite = TRUE)
[1] TRUE
> 
> file.copy(from = system.file("extdata", "StrTest-EURJPYM15.csv", package = "lazytrade"),
+           to = file.path(path_model, "StrTest-EURJPYM15.csv"), overwrite = TRUE)
[1] TRUE
> 
> file.copy(from = system.file("extdata", "StrTest-EURNZDM15.csv", package = "lazytrade"),
+           to = file.path(path_model, "StrTest-EURNZDM15.csv"), overwrite = TRUE)
[1] TRUE
> 
> file.copy(from = system.file("extdata", "StrTest-EURUSDM15.csv", package = "lazytrade"),
+           to = file.path(path_model, "StrTest-EURUSDM15.csv"), overwrite = TRUE)
[1] TRUE
> 
> Pairs <- c("EURGBP","EURJPY","EURNZD","EURUSD")
> 
> aml_consolidate_results(timeframe = 15,
+                         used_symbols = Pairs,
+                         path_model = path_model,
+                         path_sbxm = path_sbxm,
+                         path_sbxs = path_sbxs,
+                         min_quality = 0.75,
+                         get_quantile = FALSE)
Rows: 1 Columns: 4
-- Column specification --------------------------------------------------------
Delimiter: ","
chr (1): Symbol
dbl (3): TR_Level, NB_hold, MaxPerf

i Use `spec()` to retrieve the full column specification for this data.
i Specify the column types or set `show_col_types = FALSE` to quiet this message.
Rows: 1 Columns: 4
-- Column specification --------------------------------------------------------
Delimiter: ","
chr (1): Symbol
dbl (3): TR_Level, NB_hold, MaxPerf

i Use `spec()` to retrieve the full column specification for this data.
i Specify the column types or set `show_col_types = FALSE` to quiet this message.
Rows: 1 Columns: 4
-- Column specification --------------------------------------------------------
Delimiter: ","
chr (1): Symbol
dbl (3): TR_Level, NB_hold, MaxPerf

i Use `spec()` to retrieve the full column specification for this data.
i Specify the column types or set `show_col_types = FALSE` to quiet this message.
Rows: 1 Columns: 4
-- Column specification --------------------------------------------------------
Delimiter: ","
chr (1): Symbol
dbl (3): TR_Level, NB_hold, MaxPerf

i Use `spec()` to retrieve the full column specification for this data.
i Specify the column types or set `show_col_types = FALSE` to quiet this message.
Rows: 1 Columns: 4
-- Column specification --------------------------------------------------------
Delimiter: ","
chr (1): Symbol
dbl (3): TR_Level, NB_hold, MaxPerf

i Use `spec()` to retrieve the full column specification for this data.
i Specify the column types or set `show_col_types = FALSE` to quiet this message.
Rows: 1 Columns: 4
-- Column specification --------------------------------------------------------
Delimiter: ","
chr (1): Symbol
dbl (3): TR_Level, NB_hold, MaxPerf

i Use `spec()` to retrieve the full column specification for this data.
i Specify the column types or set `show_col_types = FALSE` to quiet this message.
Rows: 1 Columns: 4
-- Column specification --------------------------------------------------------
Delimiter: ","
chr (1): Symbol
dbl (3): TR_Level, NB_hold, MaxPerf

i Use `spec()` to retrieve the full column specification for this data.
i Specify the column types or set `show_col_types = FALSE` to quiet this message.
Rows: 1 Columns: 4
-- Column specification --------------------------------------------------------
Delimiter: ","
chr (1): Symbol
dbl (3): TR_Level, NB_hold, MaxPerf

i Use `spec()` to retrieve the full column specification for this data.
i Specify the column types or set `show_col_types = FALSE` to quiet this message.
> 
> 
> aml_consolidate_results(timeframe = 15,
+                         used_symbols = Pairs,
+                         path_model = path_model,
+                         path_sbxm = path_sbxm,
+                         path_sbxs = path_sbxs,
+                         min_quality = 0.75,
+                         get_quantile = TRUE)
Rows: 1 Columns: 5
-- Column specification --------------------------------------------------------
Delimiter: ","
chr (1): Symbol
dbl (4): TR_Level, NB_hold, MaxPerf, FrstQntlPerf

i Use `spec()` to retrieve the full column specification for this data.
i Specify the column types or set `show_col_types = FALSE` to quiet this message.
Rows: 1 Columns: 5
-- Column specification --------------------------------------------------------
Delimiter: ","
chr (1): Symbol
dbl (4): TR_Level, NB_hold, MaxPerf, FrstQntlPerf

i Use `spec()` to retrieve the full column specification for this data.
i Specify the column types or set `show_col_types = FALSE` to quiet this message.
Rows: 1 Columns: 5
-- Column specification --------------------------------------------------------
Delimiter: ","
chr (1): Symbol
dbl (4): TR_Level, NB_hold, MaxPerf, FrstQntlPerf

i Use `spec()` to retrieve the full column specification for this data.
i Specify the column types or set `show_col_types = FALSE` to quiet this message.
Rows: 1 Columns: 5
-- Column specification --------------------------------------------------------
Delimiter: ","
chr (1): Symbol
dbl (4): TR_Level, NB_hold, MaxPerf, FrstQntlPerf

i Use `spec()` to retrieve the full column specification for this data.
i Specify the column types or set `show_col_types = FALSE` to quiet this message.
[1] 377.25
> 
> 
> aml_consolidate_results(timeframe = 15,
+                         used_symbols = Pairs,
+                         path_model = path_model,
+                         path_sbxm = path_sbxm,
+                         path_sbxs = path_sbxs,
+                         min_quality = 0.75,
+                         get_quantile = FALSE,
+                         log_results = TRUE,
+                         path_logs = path_logs)
Rows: 1 Columns: 5
-- Column specification --------------------------------------------------------
Delimiter: ","
chr (1): Symbol
dbl (4): TR_Level, NB_hold, MaxPerf, FrstQntlPerf

i Use `spec()` to retrieve the full column specification for this data.
i Specify the column types or set `show_col_types = FALSE` to quiet this message.
Rows: 1 Columns: 5
-- Column specification --------------------------------------------------------
Delimiter: ","
chr (1): Symbol
dbl (4): TR_Level, NB_hold, MaxPerf, FrstQntlPerf

i Use `spec()` to retrieve the full column specification for this data.
i Specify the column types or set `show_col_types = FALSE` to quiet this message.
Rows: 1 Columns: 5
-- Column specification --------------------------------------------------------
Delimiter: ","
chr (1): Symbol
dbl (4): TR_Level, NB_hold, MaxPerf, FrstQntlPerf

i Use `spec()` to retrieve the full column specification for this data.
i Specify the column types or set `show_col_types = FALSE` to quiet this message.
Rows: 1 Columns: 5
-- Column specification --------------------------------------------------------
Delimiter: ","
chr (1): Symbol
dbl (4): TR_Level, NB_hold, MaxPerf, FrstQntlPerf

i Use `spec()` to retrieve the full column specification for this data.
i Specify the column types or set `show_col_types = FALSE` to quiet this message.
Rows: 1 Columns: 5
-- Column specification --------------------------------------------------------
Delimiter: ","
chr (1): Symbol
dbl (4): TR_Level, NB_hold, MaxPerf, FrstQntlPerf

i Use `spec()` to retrieve the full column specification for this data.
i Specify the column types or set `show_col_types = FALSE` to quiet this message.
Error: Cannot open file for writing:
* 'D:\temp\RtmpAN4hY9\_Model\StrTest-EURGBPM15.csv'
Execution halted