Running ‘Arguments-FILES.R’ [0s/0s]
  Running ‘FileProgressBar.R’ [1s/1s]
  Running ‘GString.R’ [0s/1s]
  Running ‘Java.R’ [0s/0s]
  Running ‘MultiVerbose.R’ [0s/1s]
  Running ‘NullVerbose.R’ [0s/0s]
  Running ‘Options.R’ [0s/1s]
  Running ‘ProgressBar.R’ [0s/1s]
  Running ‘Settings.R’ [0s/1s]
  Running ‘System.R’ [0s/0s]
  Running ‘TextStatusBar.R’ [0s/1s]
  Running ‘VComments.R’ [0s/0s]
  Running ‘Verbose.R’ [0s/1s]
  Running ‘absolute-relative-paths.R’ [0s/1s]
  Running ‘attachLocally.R’ [0s/1s]
  Running ‘callHooks.R’ [0s/0s]
  Running ‘capitalize.R’ [0s/0s]
  Running ‘captureOutput.R’ [0s/0s]
  Running ‘cmdArgs.R’ [0s/1s]
  Running ‘colClasses.R’ [0s/0s]
  Running ‘commandArgs.R’ [0s/1s]
  Running ‘compressFile.R’ [0s/1s]
  Running ‘compressPDF.R’ [2s/4s]
  Running ‘copyRenameFile.R’ [0s/1s]
  Running ‘countLines.R’ [1s/1s]
  Running ‘cout.R’ [0s/1s]
  Running ‘createFileAtomically.R’ [0s/1s]
  Running ‘createLink.R’ [0s/1s]
  Running ‘dataFrame.R’ [0s/1s]
  Running ‘dimNA.R’ [0s/0s]
  Running ‘displayCode.R’ [0s/1s]
  Running ‘doCall.R’ [0s/0s]
  Running ‘eget.R’ [0s/0s]
  Running ‘egsub.R’ [0s/0s]
  Running ‘env.R’ [0s/1s]
  Running ‘extract.array.R’ [0s/1s]
  Running ‘fileAccess.R’ [0s/1s]
  Running ‘filePath.R’ [0s/1s]
  Running ‘findFiles.R’ [1s/1s]
  Running ‘findSourceTraceback.R’ [0s/0s]
  Running ‘gcDLLs.R’ [0s/0s]
  Running ‘gcat.R’ [0s/0s]
  Running ‘getOption.R’ [0s/0s]
  Running ‘getParent.R’ [0s/0s]
  Running ‘hpaste.R’ [0s/0s]
  Running ‘insert.R’ [0s/0s]
  Running ‘intToHex.R’ [0s/1s]
  Running ‘isPackageLoaded.R’ [0s/0s]
  Running ‘isReplicated.R’ [1s/1s]
  Running ‘isUrl.R’ [0s/1s]
  Running ‘isZero.R’ [0s/0s]
  Running ‘listDirectory.R’ [1s/1s]
  Running ‘loadObject.R’ [0s/0s]
  Running ‘loadToEnv.R’ [0s/1s]
  Running ‘mkdirs.R’ [0s/1s]
  Running ‘mout.R’ [0s/0s]
  Running ‘mpager.R’ [0s/0s]
  Running ‘nullfile.R’ [0s/0s]
  Running ‘parseRepos.R’ [0s/0s]
  Running ‘pushBackupFile.R’ [0s/1s]
  Running ‘pushTemporaryFile.R’ [0s/0s]
  Running ‘queryRCmdCheck.R’ [0s/0s]
  Running ‘readBinFragments.R’ [0s/0s]
  Running ‘readWindowsShellLink.R’ [0s/1s]
  Running ‘readWindowsShortcut.R’ [0s/1s]
  Running ‘resample.R’ [0s/0s]
  Running ‘seqToHumanReadable.R’ [0s/0s]
  Running ‘seqToIntervals.R’ [0s/1s]
  Running ‘sourceDirectory.R’ [0s/3s]
  Running ‘sourceTo.R’ [0s/0s]
  Running ‘splitByPattern.R’ [0s/0s]
  Running ‘subplots.R’ [0s/1s]
  Running ‘symlinks,dirs.R’ [0s/1s]
  Running ‘symlinks,files.R’ [1s/1s]
  Running ‘systemR.R’ [1s/1s]
  Running ‘tempvar.R’ [0s/1s]
  Running ‘tmpfile.R’ [0s/0s]
  Running ‘toCamelCase.R’ [0s/1s]
  Running ‘touchFile.R’ [0s/2s]
  Running ‘use.R’ [1s/1s]
  Running ‘useRepos.R’ [0s/0s]
  Running ‘whichVector.R’ [0s/1s]
  Running ‘withCapture.R’ [0s/1s]
  Running ‘withLocale.R’ [0s/1s]
  Running ‘withOptions.R’ [0s/0s]
  Running ‘withRepos.R’ [0s/1s]
  Running ‘withSeed.R’ [0s/1s]
  Running ‘withSink.R’ [1s/1s]
  Running ‘withTimeout.R’ [1s/10s]
  Running ‘wrap.array.R’ [0s/1s]
  Running ‘writeDataFrame.R’ [0s/1s]
  Running ‘zzz_finalizer_crash.R’ [6s/8s]
Running the tests in ‘tests/Verbose.R’ failed.
Complete output:
  > library("R.utils")
  Loading required package: R.oo
  Loading required package: R.methodsS3
  R.methodsS3 v1.8.2 (2022-06-13 22:00:14 UTC) successfully loaded. See ?R.methodsS3 for help.
  R.oo v1.27.1 (2025-05-02 21:00:05 UTC) successfully loaded. See ?R.oo for help.
  
  Attaching package: 'R.oo'
  
  The following object is masked from 'package:R.methodsS3':
  
      throw
  
  The following objects are masked from 'package:methods':
  
      getClasses, getMethods
  
  The following objects are masked from 'package:base':
  
      attach, detach, load, save
  
  R.utils v2.13.0 (2025-02-24 21:20:02 UTC) successfully loaded. See ?R.utils for help.
  
  Attaching package: 'R.utils'
  
  The following object is masked from 'package:utils':
  
      timestamp
  
  The following objects are masked from 'package:base':
  
      cat, commandArgs, getOption, isOpen, nullfile, parse, use, warnings
  
  > 
  > verbose <- Verbose(threshold=-1)
  > print(verbose)
  [1] "Verbose: isOn()=TRUE,\n                                         threshold=-1, timestamp=FALSE, timestampFormat=%Y%m%d %H:%M:%S|"
  > 
  > header(verbose, "A verbose writer example", padding=0)
  ---------------------------------------------------------------------------
  - A verbose writer example
  ---------------------------------------------------------------------------
  > 
  > enter(verbose, "Analysis A")
  Analysis A...
  > for (kk in 1:10) {
  +   printf(verbose, "step %d\n", kk)
  +   if (kk == 2) {
  +     cat(verbose, "Turning ON automatic timestamps")
  +     timestampOn(verbose)
  +   } else if (kk == 4) {
  +     timestampOff(verbose)
  +     cat(verbose, "Turned OFF automatic timestamps")
  +     cat(verbose, "Turning OFF verbose messages for steps ", kk, "-6")
  +     off(verbose)
  +   } else if (kk == 6) {
  +     on(verbose)
  +     cat(verbose, "Turned ON verbose messages just before step ", kk+1)
  +   }
  + 
  +   if (kk %in% c(5,8)) {
  +     enterf(verbose, "Sub analysis #%d", kk)
  +     for (jj in c("i", "ii", "iii")) {
  +       cat(verbose, "part ", jj)
  +     }
  +     exit(verbose)
  +   }
  + }
   step 1
   step 2
   Turning ON automatic timestamps
  20260722 14:33:03| step 3
  20260722 14:33:03| step 4
   Turned OFF automatic timestamps
   Turning OFF verbose messages for steps 4-6
   Turned ON verbose messages just before step 7
   step 7
   step 8
   Sub analysis #8...
    part i
    part ii
    part iii
   Sub analysis #8...done
   step 9
   step 10
  > cat(verbose, "All steps completed!")
   All steps completed!
  > exit(verbose)
  Analysis A...done
  > 
  > ruler(verbose)
  ---------------------------------------------------------------------------
  > cat(verbose, "Demo of some other methods:")
  Demo of some other methods:
  > str(verbose, c(a=1, b=2, c=3))
   Named num [1:3] 1 2 3
   - attr(*, "names")= chr [1:3] "a" "b" "c"
  > print(verbose, c(a=1, b=2, c=3))
  a b c 
  1 2 3 
  > summary(verbose, c(a=1, b=2, c=3))
     Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
      1.0     1.5     2.0     2.0     2.5     3.0 
  > evaluate(verbose, rnorm, n=3, mean=2, sd=3)
  [1]  6.9016817 -0.5454975  5.3471861
  > 
  > ruler(verbose)
  ---------------------------------------------------------------------------
  > newline(verbose)
  
  > 
  > # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  > # Odds and ends
  > # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  > print(equals(verbose, verbose))
  [1] TRUE
  > print(equals(verbose, NA))
  [1] FALSE
  attr(,"reason")
  [1] "Not same class"
  > setThreshold(verbose, -4)
  > print(verbose)
  [1] "Verbose: isOn()=TRUE,\n                                         threshold=-4, timestamp=FALSE, timestampFormat=%Y%m%d %H:%M:%S|"
  > setDefaultLevel(verbose, -1)
  > print(verbose)
  [1] "Verbose: isOn()=TRUE,\n                                         threshold=-4, timestamp=FALSE, timestampFormat=%Y%m%d %H:%M:%S|"
  > print(as.logical(verbose))
  [1] TRUE
  > print(as.double(verbose))
  [1] -4
  > print(less(verbose))
  [1] "Verbose: isOn()=TRUE,\n                                         threshold=-3, timestamp=FALSE, timestampFormat=%Y%m%d %H:%M:%S|"
  > print(more(verbose))
  [1] "Verbose: isOn()=TRUE,\n                                         threshold=-5, timestamp=FALSE, timestampFormat=%Y%m%d %H:%M:%S|"
  > timestamp(verbose)
  20260722 14:33:03|
  > setTimestampFormat(verbose)
  > print(getTimestampFormat(verbose))
  [1] "%Y%m%d %H:%M:%S|"
  > warning("Hello world!")
  Warning message:
  Hello world! 
  > warnings(verbose)
  Warnings detected:
  Warning message:
  Hello world!
  Warning message:
  In warnings.Verbose(verbose) :*** buffer overflow detected ***: terminated
  Aborted