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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: generate_report_cchebyshev
> ### Title: Generate a Microsoft Word document about the Chebyshev distance
> ###   matrix and the p-values matrix with corresponding plots.
> ### Aliases: generate_report_cchebyshev
> 
> ### ** Examples
> 
> # Generate a report about "Species" factor in iris dataset
> generate_report_cchebyshev(iris, ~Species)
Loading required namespace: rmarkdown

 iter imp variable
  1   1
  1   2
  1   3
  1   4
  1   5
  2   1
  2   2
  2   3
  2   4
  2   5
  3   1
  3   2
  3   3
  3   4
  3   5
  4   1
  4   2
  4   3
  4   4
  4   5
  5   1
  5   2
  5   3
  5   4
  5   5

 iter imp variable
  1   1
  1   2
  1   3
  1   4
  1   5
  2   1
  2   2
  2   3
  2   4
  2   5
  3   1
  3   2
  3   3
  3   4
  3   5
  4   1
  4   2
  4   3
  4   4
  4   5
  5   1
  5   2
  5   3
  5   4
  5   5

 iter imp variable
  1   1
  1   2
  1   3
  1   4
  1   5
  2   1
  2   2
  2   3
  2   4
  2   5
  3   1
  3   2
  3   3
  3   4
  3   5
  4   1
  4   2
  4   3
  4   4
  4   5
  5   1
  5   2
  5   3
  5   4
  5   5

 iter imp variable
  1   1
  1   2
  1   3
  1   4
  1   5
  2   1
  2   2
  2   3
  2   4
  2   5
  3   1
  3   2
  3   3
  3   4
  3   5
  4   1
  4   2
  4   3
  4   4
  4   5
  5   1
  5   2
  5   3
  5   4
  5   5

 iter imp variable
  1   1
  1   2
  1   3
  1   4
  1   5
  2   1
  2   2
  2   3
  2   4
  2   5
  3   1
  3   2
  3   3
  3   4
  3   5
  4   1
  4   2
  4   3
  4   4
  4   5
  5   1
  5   2
  5   3
  5   4
  5   5

 iter imp variable
  1   1
  1   2
  1   3
  1   4
  1   5
  2   1
  2   2
  2   3
  2   4
  2   5
  3   1
  3   2
  3   3
  3   4
  3   5
  4   1
  4   2
  4   3
  4   4
  4   5
  5   1
  5   2
  5   3
  5   4
  5   5


processing file: template_report_cchebyshev.Rmd
Warning in dir.create(dirname(name), recursive = TRUE) :
  cannot create dir 'reportcchebyshev_files/figure-docx', reason 'No such file or directory'
Error in `value[[3L]]()`:
! could not open file 'reportcchebyshev_files/figure-docx/unnamed-chunk-1-1.png'
Backtrace:
  1. rmarkdown::render(...)
  2. knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
  3. knitr:::process_file(text, output)
  6. knitr:::process_group(group)
  7. knitr:::call_block(x)
     ...
 23. grDevices::replayPlot(x)
 24. base::tryCatch(.External2(C_playSnapshot, x), error = restore)
 25. base (local) tryCatchList(expr, classes, parentenv, handlers)
 26. base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
 27. value[[3L]](cond)
Warning in file(con, "w") :
  cannot open file 'template_report_cchebyshev.knit.md': Read-only file system
Error in file(con, "w") : cannot open the connection
Calls: generate_report_cchebyshev ... <Anonymous> -> handler -> write_utf8 -> writeLines -> file
Execution halted