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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: report_to_xlsx
> ### Title: Save report as an xlsx file
> ### Aliases: report_to_xlsx
> ### Keywords: ex_rpt internal
> 
> ### ** Examples
> 
> 
> # Create Dummy data
> 
> ae = data.frame(
+  USUBJID = 1:5,
+  DOMAIN = c(rep("AE", 5)),
+  AESEQ = 1:5,
+  AESTDTC = 1:5,
+  AETERM = 1:5,
+  AEDECOD = 1:5,
+   AESPID = c("FORMNAME-R:13/L:13XXXX",
+              "FORMNAME-R:16/L:16XXXX",
+              "FORMNAME-R:2/L:2XXXX",
+              "FORMNAME-R:19/L:19XXXX",
+              "FORMNAME-R:5/L:5XXXX"),
+  stringsAsFactors = FALSE
+ )
> 
> cm = data.frame(
+  USUBJID = 1:5,
+  DOMAIN = rep("CM", 5),
+  CMTRT = rep("DRUG TERM", 5),
+  CMDECOD = rep("CODED DRUG TERM", 5),
+  CMSTDTC = 1:5,
+  CMENDTC = 1:5,
+  CMCAT = "CONCOMITANT MEDICATIONS",
+  CMSPID = c("FORMNAME-R:13/L:13XXXX",
+              "FORMNAME-R:16/L:16XXXX",
+              "FORMNAME-R:2/L:2XXXX",
+              "FORMNAME-R:19/L:19XXXX",
+              "FORMNAME-R:5/L:5XXXX"),
+  stringsAsFactors=FALSE
+ )
> 
> res=run_all_checks(verbose = FALSE)

> fileName <- file.path(tempdir(), "check_results.xlsx")
> report_to_xlsx(res=res,outfile=fileName)
Warning in dir.create(path = relsDir, recursive = TRUE) :
  cannot create dir '/tmp/RtmpfXS7JU/workbookTemp_d75485930dea9/_rels', reason 'No space left on device'
Warning in dir.create(path = docPropsDir, recursive = TRUE) :
  cannot create dir '/tmp/RtmpfXS7JU/workbookTemp_d75485930dea9/docProps', reason 'No space left on device'
Warning in dir.create(path = xlDir, recursive = TRUE) :
  cannot create dir '/tmp/RtmpfXS7JU/workbookTemp_d75485930dea9/xl', reason 'No space left on device'
Warning in dir.create(path = xlrelsDir, recursive = TRUE) :
  cannot create dir '/tmp/RtmpfXS7JU/workbookTemp_d75485930dea9/xl', reason 'No space left on device'
Warning in dir.create(path = xlTablesDir, recursive = TRUE) :
  cannot create dir '/tmp/RtmpfXS7JU/workbookTemp_d75485930dea9/xl', reason 'No space left on device'
Warning in dir.create(path = xlTablesRelsDir, recursive = TRUE) :
  cannot create dir '/tmp/RtmpfXS7JU/workbookTemp_d75485930dea9/xl', reason 'No space left on device'
Warning in dir.create(path = xlthemeDir, recursive = TRUE) :
  cannot create dir '/tmp/RtmpfXS7JU/workbookTemp_d75485930dea9/xl', reason 'No space left on device'
Warning in file(file.path(xlthemeDir, "theme1.xml"), open = "wb") :
  cannot open file '/tmp/RtmpfXS7JU/workbookTemp_d75485930dea9/xl/theme/theme1.xml': No such file or directory
Error in file(file.path(xlthemeDir, "theme1.xml"), open = "wb") : 
  cannot open the connection
Calls: report_to_xlsx -> saveWorkbook -> <Anonymous> -> file
Execution halted