Running 'unit.tests.R' [170s]
Running the tests in 'tests/unit.tests.R' failed.
Complete output:
  > tdir <- system.file("testfiles",package="inlinedocs")
  > testfiles <- Sys.glob(file.path(tdir,"*.R"))
  > options(warn=2)
  > output.and.error <- function(f){
  +   print(f)
  +   output <- capture.output({
  +     result <- try(inlinedocs::test.file(
  +       f, CRAN.checks=CRAN.checks, verbose=TRUE))
  +   })
  +   list(output=output,
  +        result=result)
  + }
  > LAPPLY <- if(interactive() && requireNamespace("future.apply")){
  +   future::plan("multisession")
  +   future.apply::future_lapply
  + }else{
  +   lapply
  + }
  > 
  > CRAN.checks <- interactive() #need here because of parallel execution.
  > result.lists <- LAPPLY(testfiles, output.and.error)
  [1] "D:/temp/Rtmpe4DFXi/RLIBS_253601a3e1a51/inlinedocs/testfiles/accessorFunctions.R"
  [1] "D:/temp/Rtmpe4DFXi/RLIBS_253601a3e1a51/inlinedocs/testfiles/alternate.R"
  [1] "D:/temp/Rtmpe4DFXi/RLIBS_253601a3e1a51/inlinedocs/testfiles/apply.R"
  [1] "D:/temp/Rtmpe4DFXi/RLIBS_253601a3e1a51/inlinedocs/testfiles/attrExamples.R"
  [1] "D:/temp/Rtmpe4DFXi/RLIBS_253601a3e1a51/inlinedocs/testfiles/description-before.R"
  [1] "D:/temp/Rtmpe4DFXi/RLIBS_253601a3e1a51/inlinedocs/testfiles/escape.percent.R"
  [1] "D:/temp/Rtmpe4DFXi/RLIBS_253601a3e1a51/inlinedocs/testfiles/fermat.R"
  [1] "D:/temp/Rtmpe4DFXi/RLIBS_253601a3e1a51/inlinedocs/testfiles/fermatExAttr.R"
  [1] "D:/temp/Rtmpe4DFXi/RLIBS_253601a3e1a51/inlinedocs/testfiles/fermatExAttrEmpty.R"
  [1] "D:/temp/Rtmpe4DFXi/RLIBS_253601a3e1a51/inlinedocs/testfiles/google.R"
  [1] "D:/temp/Rtmpe4DFXi/RLIBS_253601a3e1a51/inlinedocs/testfiles/google2.R"
  [1] "D:/temp/Rtmpe4DFXi/RLIBS_253601a3e1a51/inlinedocs/testfiles/inlinetags.R"
  [1] "D:/temp/Rtmpe4DFXi/RLIBS_253601a3e1a51/inlinedocs/testfiles/jss.R"
  [1] "D:/temp/Rtmpe4DFXi/RLIBS_253601a3e1a51/inlinedocs/testfiles/multi-paragraph-description.R"
  [1] "D:/temp/Rtmpe4DFXi/RLIBS_253601a3e1a51/inlinedocs/testfiles/paren-ex.R"
  [1] "D:/temp/Rtmpe4DFXi/RLIBS_253601a3e1a51/inlinedocs/testfiles/paren.R"
  [1] "D:/temp/Rtmpe4DFXi/RLIBS_253601a3e1a51/inlinedocs/testfiles/percent.R"
  [1] "D:/temp/Rtmpe4DFXi/RLIBS_253601a3e1a51/inlinedocs/testfiles/returnlist.R"
  [1] "D:/temp/Rtmpe4DFXi/RLIBS_253601a3e1a51/inlinedocs/testfiles/seealso-after-return.R"
  [1] "D:/temp/Rtmpe4DFXi/RLIBS_253601a3e1a51/inlinedocs/testfiles/silly.R"
  [1] "D:/temp/Rtmpe4DFXi/RLIBS_253601a3e1a51/inlinedocs/testfiles/softThreshExAttr.R"
  [1] "D:/temp/Rtmpe4DFXi/RLIBS_253601a3e1a51/inlinedocs/testfiles/space-before-end.R"
  [1] "D:/temp/Rtmpe4DFXi/RLIBS_253601a3e1a51/inlinedocs/testfiles/sublogo.dendrogram.R"
  [1] "D:/temp/Rtmpe4DFXi/RLIBS_253601a3e1a51/inlinedocs/testfiles/wide.lines.R"
  > names(result.lists) <- testfiles
  > is.error <- sapply(result.lists, function(L)inherits(L$result, "try-error"))
  > failed <- result.lists[is.error]
  > if(length(failed)){
  +   for(f in names(failed)){
  +     output <- failed[[f]]$output
  +     cat("\n\n", f, "\n")
  +     cat(paste(output, collapse="\n"))
  +   }
  +   stop("test failures")
  + }
  > 
  > proc.time()
     user  system elapsed 
     1.31    0.09    1.36