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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: report
> ### Title: Generates report about a conducted igate.
> ### Aliases: report
> 
> ### ** Examples
> 
> 
> ## Example for categorical target variable
> # If you want to da an igate analysis from scratch, running report
> # is the last step and relies on executing the other functions in this package first.
> # Run categorical.igate
> df <- mtcars
> df$cyl <- as.factor(df$cyl)
> results <- categorical.igate(df, target = "cyl", best.cat = "8", worst.cat = "4")
Using pairwise comparison with 8 BOB vs. 8 WOW.
Using counting method with Wilcoxon rank test as follow up test.
Warning in wilcox.test.default(x, y) :
  cannot compute exact p-value with ties
Warning in wilcox.test.default(x, y) :
  cannot compute exact p-value with ties
Warning in wilcox.test.default(x, y) :
  cannot compute exact p-value with ties
Warning in wilcox.test.default(x, y) :
  cannot compute exact p-value with ties
> # Produce density plots
> # Suppose you only want to analyse further the first three identified ssv
> results <- results[1:3,]
> categorical.freqplot(mtcars, target = "cyl", ssv = results$Causes , savePlots = TRUE)
Saving 7 x 7 in image
Saving 7 x 7 in image
Saving 7 x 7 in image
  Causes outliers_removed observations_retained frequency_plot
1    mpg                0                    32           TRUE
2   disp                0                    32           TRUE
3     hp                1                    31           TRUE
> 
> report(df = df, target = "cyl", type = "categorical", good_outcome = "8",
+ results_path = "results",
+ output_name = "testing_igate", output_directory = tempdir())


processing file: iGATE_Report.Rmd
   inline R code fragments

label: setup (with options) 
List of 1
 $ include: logi FALSE

  ordinary text without R code

label: unnamed-chunk-1 (with options) 
List of 1
 $ include: logi FALSE

   inline R code fragments

label: unnamed-chunk-2 (with options) 
List of 5
 $ eval     : language params$outlier_removal_target
 $ out.width: chr "50%"
 $ fig.align: chr "center"
 $ fig.cap  : chr "Boxplot of target variable."
 $ fig.pos  : chr "h"

   inline R code fragments

label: countsandps
   inline R code fragments

label: controlbands
   inline R code fragments

label: unnamed-chunk-3
   inline R code fragments

label: unnamed-chunk-4
   inline R code fragments

label: unnamed-chunk-5 (with options) 
List of 1
 $ message: logi FALSE

   inline R code fragments

label: unnamed-chunk-6 (with options) 
List of 1
 $ results: chr "asis"

   inline R code fragments

label: unnamed-chunk-7
  ordinary text without R code

Warning in file(con, "w") :
  cannot open file 'iGATE_Report.knit.md': Read-only file system
Error in file(con, "w") : cannot open the connection
Calls: report ... <Anonymous> -> <Anonymous> -> write_utf8 -> writeLines -> file
Execution halted