Running '000.session_information.R' [161s]
  Running 'LoremIpsum.R' [226s]
  Running 'RspConstruct.R' [167s]
  Running 'RspProduct.R' [0s]
  Running 'RspString.R' [165s]
  Running 'capabilities.R' [35s]
  Running 'compileAsciiDoc.R' [169s]
  Running 'compileAsciiDocNoweb.R' [0s]
  Running 'compileKnitr.R' [159s]
  Running 'compileLaTeX.R' [0s]
  Running 'compileMarkdown.R' [166s]
  Running 'compileRnw.R' [167s]
  Running 'compileRsp.R' [3s]
  Running 'compileSweave.R' [162s]
  Running 'deparse.R' [1s]
  Running 'environments,functions.R' [169s]
  Running 'include,recursive.R' [3s]
  Running 'multi,selfcontained.R' [83s]
  Running 'rargs.R' [1s]
  Running 'rcat.R' [164s]
  Running 'rclean.R' [173s]
  Running 'rcode.R' [153s]
  Running 'rcompile.R' [178s]
  Running 'rfile.R' [159s]
  Running 'rsource.R' [2s]
  Running 'rsp_tests.R' [4s]
  Running 'rsp_tests_online.R' [0s]
  Running 'rstring.R' [1s]
  Running 'wstring.R' [168s]
Running the tests in 'tests/000.session_information.R' failed.
Complete output:
  > cat("*** R VERSION\n")
  *** R VERSION
  > cat(".R.version:\n")
  .R.version:
  > print(R.version)
                 _                                                      
  platform       x86_64-w64-mingw32                                     
  arch           x86_64                                                 
  os             mingw32                                                
  crt            ucrt                                                   
  system         x86_64, mingw32                                        
  status         Under development (unstable)                           
  major          4                                                      
  minor          4.0                                                    
  year           2024                                                   
  month          03                                                     
  day            22                                                     
  svn rev        86169                                                  
  language       R                                                      
  version.string R Under development (unstable) (2024-03-22 r86169 ucrt)
  nickname       Unsuffered Consequences                                
  > 
  > cat("\n\n*** PLATFORM\n")
  
  
  *** PLATFORM
  > cat(".Platform:\n")
  .Platform:
  > print(.Platform)
  $OS.type
  [1] "windows"
  
  $file.sep
  [1] "/"
  
  $dynlib.ext
  [1] ".dll"
  
  $GUI
  [1] "RTerm"
  
  $endian
  [1] "little"
  
  $pkgType
  [1] "win.binary"
  
  $path.sep
  [1] ";"
  
  $r_arch
  [1] "x64"
  
  > 
  > cat("\n\n*** MACHINE\n")
  
  
  *** MACHINE
  > cat(".Machine:\n")
  .Machine:
  > print(.Machine)
  $double.eps
  [1] 2.220446e-16
  
  $double.neg.eps
  [1] 1.110223e-16
  
  $double.xmin
  [1] 2.225074e-308
  
  $double.xmax
  [1] 1.797693e+308
  
  $double.base
  [1] 2
  
  $double.digits
  [1] 53
  
  $double.rounding
  [1] 5
  
  $double.guard
  [1] 0
  
  $double.ulp.digits
  [1] -52
  
  $double.neg.ulp.digits
  [1] -53
  
  $double.exponent
  [1] 11
  
  $double.min.exp
  [1] -1022
  
  $double.max.exp
  [1] 1024
  
  $integer.max
  [1] 2147483647
  
  $sizeof.long
  [1] 4
  
  $sizeof.longlong
  [1] 8
  
  $sizeof.longdouble
  [1] 16
  
  $sizeof.pointer
  [1] 8
  
  $sizeof.time_t
  [1] 8
  
  $longdouble.eps
  [1] 1.084202e-19
  
  $longdouble.neg.eps
  [1] 5.421011e-20
  
  $longdouble.digits
  [1] 64
  
  $longdouble.rounding
  [1] 5
  
  $longdouble.guard
  [1] 0
  
  $longdouble.ulp.digits
  [1] -63
  
  $longdouble.neg.ulp.digits
  [1] -64
  
  $longdouble.exponent
  [1] 15
  
  $longdouble.min.exp
  [1] -16382
  
  $longdouble.max.exp
  [1] 16384
  
  > 
  > cat("\n\n*** DIRECTORIES\n")
  
  
  *** DIRECTORIES
  > cat("R.home() directory: ", R.home(), "\n", sep="")
  R.home() directory: D:/RCompile/recent/R
  > for (dir in c("bin", "doc", "etc", "modules", "share")) {
  +   cat(sprintf("R.home('%s') directory: %s\n", dir, R.home(dir)))
  + }
  R.home('bin') directory: D:/RCompile/recent/R/bin/x64
  R.home('doc') directory: D:/RCompile/recent/R/doc
  R.home('etc') directory: D:/RCompile/recent/R/etc
  R.home('modules') directory: D:/RCompile/recent/R/modules/x64
  R.home('share') directory: D:/RCompile/recent/R/share
  > cat("Working directory: ", getwd(), "\n", sep="")
  Working directory: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests
  > cat("Temporary directory: ", tempdir(), "\n", sep="")
  Temporary directory: D:\temp\RtmpmkMwRB
  > cat("User home directory: ", normalizePath("~"), "\n", sep="")
  User home directory: C:\Users\CRAN\Documents
  > 
  > cat("\n\n*** LIBRARY PATHS\n")
  
  
  *** LIBRARY PATHS
  > cat(".libPaths():\n")
  .libPaths():
  > print(.libPaths())
  [1] "D:/temp/RtmpyeK4H3/RLIBS_130d057a61ee5"
  [2] "D:/RCompile/recent/R/library"          
  > 
  > cat("\n\n*** ENVIRONMENT VARIABLE\n")
  
  
  *** ENVIRONMENT VARIABLE
  > cat("Sys.getenv():\n")
  Sys.getenv():
  > print(as.list(Sys.getenv()))
  $`!ExitCode`
  [1] "00000000"
  
  $ALLUSERSPROFILE
  [1] "C:\\ProgramData"
  
  $APPDATA
  [1] "C:\\Users\\CRAN\\AppData\\Roaming"
  
  $BIBINPUTS
  [1] ".;.;.;;D:/RCompile/recent/R/share/texmf/bibtex/bib;;D:/RCompile/recent/R/share/texmf/bibtex/bib;;D:/RCompile/recent/R/share/texmf/bibtex/bib;"
  
  $BINDIR
  [1] "bin/x64"
  
  $BSTINPUTS
  [1] ".;.;.;;D:/RCompile/recent/R/share/texmf/bibtex/bst;;D:/RCompile/recent/R/share/texmf/bibtex/bst;;D:/RCompile/recent/R/share/texmf/bibtex/bst;"
  
  $COMMONPROGRAMFILES
  [1] "C:\\Program Files\\Common Files"
  
  $COMPUTERNAME
  [1] "CRANWIN3"
  
  $COMSPEC
  [1] "C:\\Windows\\system32\\cmd.exe"
  
  $CURL_CA_BUNDLE
  [1] "D:/RCompile/recent/R/etc/curl-ca-bundle.crt"
  
  $CYGWIN
  [1] "nodosfilewarning"
  
  $`CommonProgramFiles(x86)`
  [1] "C:\\Program Files (x86)\\Common Files"
  
  $CommonProgramW6432
  [1] "C:\\Program Files\\Common Files"
  
  $DriverData
  [1] "C:\\Windows\\System32\\Drivers\\DriverData"
  
  $HOME
  [1] "C:\\Users\\CRAN\\Documents"
  
  $HOMEDRIVE
  [1] "C:"
  
  $HOMEPATH
  [1] "\\Users\\CRAN"
  
  $JAGS_ROOT
  [1] "C:/Program Files/JAGS/JAGS-4.3.1"
  
  $JAVA_HOME
  [1] "C:/Program Files/jdk-11.0.18.10-hotspot"
  
  $LANGUAGE
  [1] "C"
  
  $LC_COLLATE
  [1] "C"
  
  $LC_MONETARY
  [1] "C"
  
  $LC_TIME
  [1] "C"
  
  $LOCALAPPDATA
  [1] "C:\\Users\\CRAN\\AppData\\Local"
  
  $LOGONSERVER
  [1] "\\\\CRANWIN3"
  
  $LS_HOME
  [1] "D:\\RCompile\\CRANpkg\\extralibs\\localsolver_4_0"
  
  $LS_LICENSE_PATH
  [1] "D:\\RCompile\\CRANpkg\\extralibs\\localsolver_4_0\\license.dat"
  
  $MAKE
  [1] "make"
  
  $MAKEFLAGS
  [1] ""
  
  $MAKELEVEL
  [1] "1"
  
  $MFLAGS
  [1] "-k -j50 --jobserver-auth=3,4 --jobserver-auth=-2,-2"
  
  $MSMPI_BENCHMARKS
  [1] "C:\\Program Files\\Microsoft MPI\\Benchmarks\\"
  
  $MSMPI_BIN
  [1] "C:\\Program Files\\Microsoft MPI\\Bin\\"
  
  $MSYS2_ENV_CONV_EXCL
  [1] "R_ARCH"
  
  $NUMBER_OF_PROCESSORS
  [1] "48"
  
  $OCL
  [1] "d:/RCompile/CRANpkg/extralibs/OpenCL"
  
  $OMP_THREAD_LIMIT
  [1] "2"
  
  $OS
  [1] "Windows_NT"
  
  $PATH
  [1] "d:/rtools44/usr/bin;d:/rtools44/x86_64-w64-mingw32.static.posix/bin;d:/rtools44/usr/bin;d:/rtools44/x86_64-w64-mingw32.static.posix/bin;d:/rtools44/usr/bin;d:/rtools44/x86_64-w64-mingw32.static.posix/bin;d:/rtools44/usr/bin;d:/rtools44/x86_64-w64-mingw32.static.posix/bin;D:\\RCompile\\recent\\R\\bin/x64;d:/rtools44/usr/bin;d:/rtools44/x86_64-w64-mingw32.static.posix/bin;d:/rtools44/usr/bin;d:/rtools44/x86_64-w64-mingw32.static.posix/bin;D:\\rtools44\\usr\\bin;D:\\rtools44\\x86_64-w64-mingw32.static.posix\\bin;D:\\rtools44\\usr\\bin;D:\\rtools44\\x86_64-w64-mingw32.static.posix\\bin;.;D:\\rtools44\\usr\\bin;D:\\rtools44\\x86_64-w64-mingw32.static.posix\\bin;C:\\Program Files\\MiKTeX\\miktex\\bin\\x64;C:\\Program Files\\gs\\gs\\bin;D:\\compiler\\qpdf\\bin;D:\\RCompile\\CRANpkg\\extralibs\\localsolver_4_0\\bin;D:\\RCompile\\CRANpkg\\extralibs\\MARK;C:\\Program Files\\7-Zip;D:\\Compiler\\gretl;C:\\Program Files\\Quarto\\bin;D:\\compiler\\Ruby\\bin;C:\\Program Files\\Microsoft MPI\\Bin;C:\\Program Files\\Python\\Scripts;C:\\Program Files\\Python;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\Program Files\\PuTTY;C:\\Program Files (x86)\\WinSCP;C:\\Program Files\\Pandoc;C:\\Program Files\\MiKTeX\\miktex\\bin\\x64;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit;C:\\Program Files\\gs\\gs\\bin;C:\\Program Files\\jdk-11.0.18.10-hotspot\\bin;D:\\compiler\\perl\\c\\bin;D:\\compiler\\perl\\perl\\site\\bin;D:\\compiler\\perl\\perl\\bin;C:\\Users\\CRAN\\.cargo\\bin;C:\\Users\\CRAN\\AppData\\Local\\Microsoft\\WindowsApps;D:\\rtools44\\usr\\bin;C:\\Program Files\\Julia\\bin;C:\\Users\\CRAN\\.cargo\\bin;D:\\compiler\\LDC\\bin;D:\\RCompile\\recent\\R\\bin\\x64\\//"
  
  $PATHEXT
  [1] ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW;.RB;.RBW"
  
  $PROCESSOR_ARCHITECTURE
  [1] "AMD64"
  
  $PROCESSOR_IDENTIFIER
  [1] "AMD64 Family 25 Model 1 Stepping 1, AuthenticAMD"
  
  $PROCESSOR_LEVEL
  [1] "25"
  
  $PROCESSOR_REVISION
  [1] "0101"
  
  $PROGRAMFILES
  [1] "C:\\Program Files"
  
  $PROMPT
  [1] "$P$G"
  
  $PSModulePath
  [1] "%ProgramFiles%\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules"
  
  $PUBLIC
  [1] "C:\\Users\\Public"
  
  $PWD
  [1] "D:/Rcompile/CRANpkg/local/4.4"
  
  $ProgramData
  [1] "C:\\ProgramData"
  
  $`ProgramFiles(x86)`
  [1] "C:\\Program Files (x86)"
  
  $ProgramW6432
  [1] "C:\\Program Files"
  
  $RTOOLS43_HOME
  [1] "D:\\rtools43"
  
  $RTOOLS44_HOME
  [1] "D:\\rtools44"
  
  $R_ARCH
  [1] "/x64"
  
  $R_BROWSER
  [1] "false"
  
  $R_BZIPCMD
  [1] "bzip2"
  
  $R_CMD
  [1] "R CMD"
  
  $R_COMPILED_BY
  [1] "gcc 13.2.0"
  
  $R_CUSTOM_TOOLS_PATH
  [1] "d:/rtools44/usr/bin;d:/rtools44/x86_64-w64-mingw32.static.posix/bin"
  
  $R_CUSTOM_TOOLS_SOFT
  [1] "d:/rtools44/x86_64-w64-mingw32.static.posix"
  
  $R_DOC_DIR
  [1] "D:/RCompile/recent/R/doc"
  
  $R_ENVIRON_USER
  [1] "'no_such_file'"
  
  $R_GSCMD
  [1] "C:\\Progra~1\\gs\\gs\\bin\\gswin64c.exe"
  
  $R_GZIPCMD
  [1] "gzip"
  
  $R_HOME
  [1] "D:/RCompile/recent/R"
  
  $R_INCLUDE_DIR
  [1] "D:/RCompile/recent/R/include"
  
  $R_INSTALL_TAR
  [1] "d:/rtools44/usr/bin/tar"
  
  $R_LIBS
  [1] "D:\\temp\\RtmpyeK4H3\\RLIBS_130d057a61ee5"
  
  $R_LIBS_SITE
  [1] "'NULL'"
  
  $R_LIBS_USER
  [1] "'NULL'"
  
  $R_MAX_NUM_DLLS
  [1] "153"
  
  $R_OSTYPE
  [1] "windows"
  
  $R_PAPERSIZE
  [1] "a4"
  
  $R_PAPERSIZE_USER
  [1] "a4"
  
  $R_PARALLEL_PORT
  [1] "random"
  
  $R_RD4PDF
  [1] "times,inconsolata,hyper"
  
  $R_RTOOLS44_PATH
  [1] "D:\\rtools44/x86_64-w64-mingw32.static.posix/bin;D:\\rtools44/usr/bin"
  
  $R_SCRIPT_LEGACY
  [1] "yes"
  
  $R_SHARE_DIR
  [1] "D:/RCompile/recent/R/share"
  
  $R_TESTS
  [1] "startup.Rs"
  
  $R_UNZIPCMD
  [1] "unzip"
  
  $R_USER
  [1] "C:\\Users\\CRAN\\Documents"
  
  $R_VERSION
  [1] "4.4.0"
  
  $R_ZIPCMD
  [1] "zip"
  
  $SED
  [1] "sed"
  
  $SHLVL
  [1] "0"
  
  $SYSTEMDRIVE
  [1] "C:"
  
  $SYSTEMROOT
  [1] "C:\\Windows"
  
  $TAR
  [1] "d:/rtools44/usr/bin/tar"
  
  $TAR_OPTIONS
  [1] "--force-local --no-same-owner --no-same-permissions"
  
  $TEMP
  [1] "D:\\temp"
  
  $TERM
  [1] "xterm-256color"
  
  $TEXINPUTS
  [1] ".;.;.;;D:/RCompile/recent/R/share/texmf/tex/latex;;D:/RCompile/recent/R/share/texmf/tex/latex;;D:/RCompile/recent/R/share/texmf/tex/latex;"
  
  $TMP
  [1] "D:\\temp"
  
  $TMPDIR
  [1] "D:\\temp"
  
  $USERDOMAIN
  [1] "CRANWIN3"
  
  $USERDOMAIN_ROAMINGPROFILE
  [1] "CRANWIN3"
  
  $USERNAME
  [1] "CRAN"
  
  $USERPROFILE
  [1] "C:\\Users\\CRAN"
  
  $WINDIR
  [1] "C:\\Windows"
  
  $`_`
  [1] "D:/RCompile/recent/R/bin/x64/R"
  
  $`_R_CHECK_CODE_USAGE_WITH_ONLY_BASE_ATTACHED_`
  [1] "true"
  
  $`_R_CHECK_COMPACT_DATA2_`
  [1] "TRUE"
  
  $`_R_CHECK_CONNECTIONS_LEFT_OPEN_`
  [1] "TRUE"
  
  $`_R_CHECK_EXECUTABLES_`
  [1] "FALSE"
  
  $`_R_CHECK_EXECUTABLES_EXCLUSIONS_`
  [1] "FALSE"
  
  $`_R_CHECK_FORCE_SUGGESTS_`
  [1] "FALSE"
  
  $`_R_CHECK_HAVE_MYSQL_`
  [1] "TRUE"
  
  $`_R_CHECK_HAVE_ODBC_`
  [1] "TRUE"
  
  $`_R_CHECK_HAVE_PERL_`
  [1] "TRUE"
  
  $`_R_CHECK_HAVE_POSTGRES_`
  [1] "TRUE"
  
  $`_R_CHECK_INSTALL_DEPENDS_`
  [1] "TRUE"
  
  $`_R_CHECK_INTERNALS2_`
  [1] "1"
  
  $`_R_CHECK_LICENSE_`
  [1] "FALSE"
  
  $`_R_CHECK_LIMIT_CORES_`
  [1] "true"
  
  $`_R_CHECK_MATRIX_DATA_`
  [1] "true"
  
  $`_R_CHECK_MBCS_CONVERSION_FAILURE_`
  [1] "true"
  
  $`_R_CHECK_NO_RECOMMENDED_`
  [1] "TRUE"
  
  $`_R_CHECK_NO_STOP_ON_TEST_ERROR_`
  [1] "true"
  
  $`_R_CHECK_OVERWRITE_REGISTERED_S3_METHODS_`
  [1] "TRUE"
  
  $`_R_CHECK_PACKAGES_USED_IGNORE_UNUSED_IMPORTS_`
  [1] "true"
  
  $`_R_CHECK_PACKAGES_USED_IN_TESTS_USE_SUBDIRS_`
  [1] "TRUE"
  
  $`_R_CHECK_PACKAGE_DATASETS_SUPPRESS_NOTES_`
  [1] "true"
  
  $`_R_CHECK_PACKAGE_NAME_`
  [1] "R.rsp"
  
  $`_R_CHECK_PRAGMAS_`
  [1] "true"
  
  $`_R_CHECK_RD_MATH_RENDERING_`
  [1] "true"
  
  $`_R_CHECK_RD_VALIDATE_RD2HTML_`
  [1] "true"
  
  $`_R_CHECK_SCREEN_DEVICE_`
  [1] "warn"
  
  $`_R_CHECK_SUGGESTS_ONLY_`
  [1] "TRUE"
  
  $`_R_CHECK_TESTS_NLINES_`
  [1] "0 "
  
  $`_R_CHECK_TIMINGS_`
  [1] "0"
  
  $`_R_CHECK_VIGNETTES_NLINES_`
  [1] "0"
  
  $`_R_CHECK_VIGNETTES_SKIP_RUN_MAYBE_`
  [1] "true"
  
  $`_R_CHECK_VIGNETTE_TITLES_`
  [1] "true"
  
  $`_R_CHECK_WINDOWS_DEVICE_`
  [1] "TRUE"
  
  $`_R_CHECK_XREFS_USE_ALIASES_FROM_CRAN_`
  [1] "true"
  
  $`_R_SHLIB_BUILD_OBJECTS_SYMBOL_TABLES_`
  [1] "TRUE"
  
  $`__R_CHECK_DOC_FILES_NOTE_IF_ALL_SPECIAL__`
  [1] "TRUE"
  
  $mailMaintainer
  [1] "no"
  
  $maj.version
  [1] "4.4"
  
  $`nextArg--library`
  [1] "d:/Rcompile/CRANpkg/lib/4.4nextArg--install=check:R.rsp-install.outnextArgR.rsp"
  
  > 
  > cat("\n\n*** LOCALE\n")
  
  
  *** LOCALE
  > cat("Sys.getlocale():\n")
  Sys.getlocale():
  > print(Sys.getlocale())
  [1] "LC_COLLATE=C;LC_CTYPE=German_Germany.utf8;LC_MONETARY=C;LC_NUMERIC=C;LC_TIME=C"
  > 
  > cat("\n\n*** OPTIONS\n")
  
  
  *** OPTIONS
  > cat("options():\n")
  options():
  > print(options())
  $CBoundsCheck
  [1] FALSE
  
  $HTTPUserAgent
  [1] "R (4.4.0 x86_64-w64-mingw32 x86_64 mingw32)"
  
  $OutDec
  [1] "."
  
  $PCRE_limit_recursion
  [1] NA
  
  $PCRE_study
  [1] FALSE
  
  $PCRE_use_JIT
  [1] TRUE
  
  $add.smooth
  [1] TRUE
  
  $browser
  [1] "false"
  
  $browserNLdisabled
  [1] FALSE
  
  $catch.script.errors
  [1] FALSE
  
  $check.bounds
  [1] FALSE
  
  $citation.bibtex.max
  [1] 1
  
  $continue
  [1] "+ "
  
  $contrasts
          unordered           ordered 
  "contr.treatment"      "contr.poly" 
  
  $defaultPackages
  [1] "datasets"  "utils"     "grDevices" "graphics"  "stats"     "methods"  
  
  $demo.ask
  [1] "default"
  
  $deparse.cutoff
  [1] 60
  
  $device
  function (file = if (onefile) "Rplots.pdf" else "Rplot%03d.pdf", 
      width, height, onefile, family, title, fonts, version, paper, 
      encoding, bg, fg, pointsize, pagecentre, colormodel, useDingbats, 
      useKerning, fillOddEven, compress) 
  {
      initPSandPDFfonts()
      new <- list()
      if (!missing(width)) 
          new$width <- width
      if (!missing(height)) 
          new$height <- height
      if (!missing(onefile)) 
          new$onefile <- onefile
      if (!missing(title)) 
          new$title <- title
      if (!missing(fonts)) 
          new$fonts <- fonts
      if (!missing(version)) 
          new$version <- version
      if (!missing(paper)) 
          new$paper <- paper
      if (!missing(encoding)) 
          new$encoding <- encoding
      if (!missing(bg)) 
          new$bg <- bg
      if (!missing(fg)) 
          new$fg <- fg
      if (!missing(pointsize)) 
          new$pointsize <- pointsize
      if (!missing(pagecentre)) 
          new$pagecentre <- pagecentre
      if (!missing(colormodel)) 
          new$colormodel <- colormodel
      if (!missing(useDingbats)) 
          new$useDingbats <- useDingbats
      if (!missing(useKerning)) 
          new$useKerning <- useKerning
      if (!missing(fillOddEven)) 
          new$fillOddEven <- fillOddEven
      if (!missing(compress)) 
          new$compress <- compress
      old <- check.options(new, name.opt = ".PDF.Options", envir = .PSenv)
      if (!missing(family) && (inherits(family, "Type1Font") || 
          inherits(family, "CIDFont"))) {
          enc <- family$encoding
          if (inherits(family, "Type1Font") && !is.null(enc) && 
              enc != "default" && (is.null(old$encoding) || old$encoding == 
              "default")) 
              old$encoding <- enc
          family <- family$metrics
      }
      if (is.null(old$encoding) || old$encoding == "default") 
          old$encoding <- guessEncoding()
      if (!missing(family)) {
          if (length(family) == 4L) {
              family <- c(family, "Symbol.afm")
          }
          else if (length(family) == 5L) {
          }
          else if (length(family) == 1L) {
              pf <- pdfFonts(family)[[1L]]
              if (is.null(pf)) 
                  stop(gettextf("unknown family '%s'", family), 
                    domain = NA)
              matchFont(pf, old$encoding)
          }
          else stop("invalid 'family' argument")
          old$family <- family
      }
      version <- old$version
      versions <- c("1.1", "1.2", "1.3", "1.4", "1.5", "1.6", "1.7", 
          "2.0")
      if (version %in% versions) 
          version <- as.integer(strsplit(version, "[.]")[[1L]])
      else stop("invalid PDF version")
      onefile <- old$onefile
      if (!checkIntFormat(file)) 
          stop(gettextf("invalid 'file' argument '%s'", file), 
              domain = NA)
      .External(C_PDF, file, old$paper, old$family, old$encoding, 
          old$bg, old$fg, old$width, old$height, old$pointsize, 
          onefile, old$pagecentre, old$title, old$fonts, version[1L], 
          version[2L], old$colormodel, old$useDingbats, old$useKerning, 
          old$fillOddEven, old$compress)
      invisible()
  }
  <bytecode: 0x000001ecd8e5c688>
  <environment: namespace:grDevices>
  
  $device.ask.default
  [1] FALSE
  
  $digits
  [1] 7
  
  $echo
  [1] TRUE
  
  $editor
  [1] "notepad"
  
  $encoding
  [1] "native.enc"
  
  $example.ask
  [1] "default"
  
  $expressions
  [1] 5000
  
  $help.search.types
  [1] "vignette" "demo"     "help"    
  
  $help.try.all.packages
  [1] FALSE
  
  $install.packages.compile.from.source
  [1] "interactive"
  
  $internet.info
  [1] 2
  
  $keep.parse.data
  [1] TRUE
  
  $keep.parse.data.pkgs
  [1] FALSE
  
  $keep.source
  [1] FALSE
  
  $keep.source.pkgs
  [1] FALSE
  
  $locatorBell
  [1] TRUE
  
  $mailer
  [1] "mailto"
  
  $matprod
  [1] "default"
  
  $max.contour.segments
  [1] 25000
  
  $max.print
  [1] 99999
  
  $menu.graphics
  [1] TRUE
  
  $na.action
  [1] "na.omit"
  
  $nwarnings
  [1] 50
  
  $pager
  [1] "internal"
  
  $papersize
  [1] "a4"
  
  $pdfviewer
  [1] "D:/RCompile/recent/R/bin/x64/open.exe"
  
  $pkgType
  [1] "both"
  
  $prompt
  [1] "> "
  
  $repos
      CRAN 
  "@CRAN@" 
  
  $scipen
  [1] 0
  
  $show.coef.Pvalues
  [1] TRUE
  
  $show.error.messages
  [1] TRUE
  
  $show.signif.stars
  [1] TRUE
  
  $showErrorCalls
  [1] TRUE
  
  $showNCalls
  [1] 50
  
  $showWarnCalls
  [1] FALSE
  
  $str
  $str$strict.width
  [1] "no"
  
  $str$digits.d
  [1] 3
  
  $str$vec.len
  [1] 4
  
  $str$list.len
  [1] 99
  
  $str$deparse.lines
  NULL
  
  $str$drop.deparse.attr
  [1] TRUE
  
  $str$formatNum
  function (x, ...) 
  format(x, trim = TRUE, drop0trailing = TRUE, ...)
  <environment: 0x000001ecd8c8e180>
  
  
  $str.dendrogram.last
  [1] "`"
  
  $timeout
  [1] 60
  
  $ts.S.compat
  [1] FALSE
  
  $ts.eps
  [1] 1e-05
  
  $unzip
  [1] "internal"
  
  $useFancyQuotes
  [1] FALSE
  
  $verbose
  [1] FALSE
  
  $warn
  [1] 0
  
  $warnPartialMatchArgs
  [1] FALSE
  
  $warnPartialMatchAttr
  [1] FALSE
  
  $warnPartialMatchDollar
  [1] FALSE
  
  $warning.length
  [1] 1000
  
  $width
  [1] 80
  
  $windowsTimeouts
  [1] 100 500
  
  > 
  > cat("\n\n*** LOADED NAMESPACES\n")
  
  
  *** LOADED NAMESPACES
  > cat("loadedNamespaces():\n")
  loadedNamespaces():
  > print(loadedNamespaces())
  [1] "compiler"  "graphics"  "utils"     "grDevices" "stats"     "datasets" 
  [7] "methods"   "base"     
  > 
  > cat("\n\n*** SEARCH PATH\n")
  
  
  *** SEARCH PATH
  > cat("search():\n")
  search():
  > print(search())
  [1] ".GlobalEnv"        "package:stats"     "package:graphics" 
  [4] "package:grDevices" "package:utils"     "package:datasets" 
  [7] "package:methods"   "Autoloads"         "package:base"     
  > 
  > cat("\n\n*** INTERACTIVITY\n")
  
  
  *** INTERACTIVITY
  > cat("interactive(): ", interactive(), "\n", sep="")
  interactive(): FALSE
  > 
  > cat("\n\n*** CAPABILITIES\n")
  
  
  *** CAPABILITIES
  > cat("capabilities():\n")  ## May try to open X11
  capabilities():
  > print(capabilities())  ## May try to open X11
         jpeg         png        tiff       tcltk         X11        aqua 
         TRUE        TRUE        TRUE        TRUE       FALSE       FALSE 
     http/ftp     sockets      libxml        fifo      cledit       iconv 
         TRUE        TRUE       FALSE        TRUE       FALSE        TRUE 
          NLS       Rprof     profmem       cairo         ICU long.double 
         TRUE        TRUE        TRUE        TRUE        TRUE        TRUE 
      libcurl 
         TRUE 
  > 
  > cat("\n\n*** COMPLETION SETTINGS\n")
  
  
  *** COMPLETION SETTINGS
  > cat("rc.status():\n")
  rc.status():
  > print(rc.status())
  $attached_packages
  character(0)
  
  $linebuffer
  [1] ""
  
  $options
  $options$package.suffix
  [1] "::"
  
  $options$funarg.suffix
  [1] "="
  
  $options$function.suffix
  [1] "("
  
  
  $help_topics
  character(0)
  
  $end
  [1] 1
  
  $settings
  $settings$ops
  [1] TRUE
  
  $settings$ns
  [1] TRUE
  
  $settings$args
  [1] TRUE
  
  $settings$dots
  [1] TRUE
  
  $settings$func
  [1] FALSE
  
  $settings$ipck
  [1] FALSE
  
  $settings$S3
  [1] TRUE
  
  $settings$data
  [1] TRUE
  
  $settings$help
  [1] TRUE
  
  $settings$argdb
  [1] TRUE
  
  $settings$fuzzy
  [1] FALSE
  
  $settings$files
  [1] TRUE
  
  $settings$quotes
  [1] TRUE
  
  
  > cat("rc.options():\n")
  rc.options():
  > print(rc.options())
  $package.suffix
  [1] "::"
  
  $funarg.suffix
  [1] "="
  
  $function.suffix
  [1] "("
  
  > 
  > cat("\n\n*** SESSION INFORMATION\n")
  
  
  *** SESSION INFORMATION
  > cat("utils::sessionInfo():\n")
  utils::sessionInfo():
  > print(utils::sessionInfo())
  R Under development (unstable) (2024-03-22 r86169 ucrt)
  Platform: x86_64-w64-mingw32/x64
  Running under: Windows Server 2022 x64 (build 20348)
  
  Matrix products: default
  
  
  locale:
  [1] LC_COLLATE=C                 LC_CTYPE=German_Germany.utf8
  [3] LC_MONETARY=C                LC_NUMERIC=C                
  [5] LC_TIME=C                   
  
  time zone: Europe/Berlin
  tzcode source: internal
  
  attached base packages:
  [1] stats     graphics  grDevices utils     datasets  methods   base     
  
  loaded via a namespace (and not attached):
  [1] compiler_4.4.0
  > 
  > proc.time()
     user  system elapsed 
     0.26    0.03    0.28 
Running the tests in 'tests/LoremIpsum.R' failed.
Complete output:
  > library("R.rsp")
  R.rsp v0.46.0 (2024-02-17 18:30:02 UTC) successfully loaded. See ?R.rsp for help.
  > 
  > path <- system.file(package="R.rsp")
  > path <- file.path(path, "rsp_LoremIpsum")
  > pathnames <- list.files(path=path, pattern="[.]rsp$", full.names=TRUE)
  > for (pathname in pathnames) {
  +   outPath <- gsub("LoremIpsum.", "", basename(pathname))
  +   outPath <- file.path("LoremIpsum", outPath)
  +   tryCatch({
  +     pathnameR <- rfile(pathname, workdir=outPath, verbose=-10)
  +     print(pathnameR)
  +   }, error = function(ex) {
  +     print(ex)
  +   })
  + }
  Processing RSP file...
   Input pathname: D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.Rnw.rsp
   Output pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/Rnw.rsp/LoremIpsum.Rnw
   Default content type: application/x-rnw
   Assigning RSP arguments...
    Environment: R_GlobalEnv
    Arguments assigned: <none>
   Assigning RSP arguments...done
   Reading RSP document...
    Number of characters: 952
     chr "\\documentclass{article}\n\\usepackage[margin=1.0in]{geometry}\n\n\\SweaveOpts{echo=<%=FALSE%>}\n\n\\title{Lore"| __truncated__
   Reading RSP document...done
   Parsing RSP document...
    RspDocument:
    Source: D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.Rnw.rsp
    Total number of RSP constructs: 10
    Number of RspCode(s): 3
    Number of RspCodeChunk(s): 2
    Number of RspText(s): 5
    Content type: application/x-rnw
   Parsing RSP document...done
   Processing RSP document...
    Translating RSP document (to R)...
     Number of R source code lines: 71
    Translating RSP document (to R)...done
    Processing RSP R source code...
     Output pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/Rnw.rsp/LoremIpsum.Rnw
     Assigning RSP arguments...
      Environment: R_GlobalEnv
      Arguments assigned: <none>
     Assigning RSP arguments...done
     Evaluating RSP R source code...
      Temporary working directory: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/Rnw.rsp
      RspFileProduct:
      Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/Rnw.rsp/LoremIpsum.Rnw
      File size: 925 bytes
      Content type: application/x-rnw
      Has processor: TRUE
     Evaluating RSP R source code...done
     Processing RSP product...
      RspFileProduct:
      Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/Rnw.rsp/LoremIpsum.Rnw
      File size: 925 bytes
      Content type: application/x-rnw
      Has processor: TRUE
      Locating document-type specific processor...
       RSP product content type: application/x-rnw
       Source document: 'D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.Rnw.rsp'
       Processor found: application/x-rnw
      Locating document-type specific processor...done
      Processing...
       RspFileProduct:
       Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/Rnw.rsp/LoremIpsum.Rnw
       File size: 925 bytes
       Content type: application/x-rnw
       Has processor: TRUE
       function (pathname, ...) 
       {
           if (!isUrl(pathname)) {
               withoutGString({
                   pathnameT <- Arguments$getReadablePathname(pathname)
                   pathname[1] <- pathnameT
               })
           }
           pathnameR <- processor(pathname, ...)
           metadataR <- getMetadata(pathnameR)
           postprocessR <- getMetadata(pathnameR, "postprocess", local = TRUE)
           if (isFALSE(postprocessR)) 
               metadata$postprocess <- FALSE
           pathnameR <- getAbsolutePath(pathnameR)
           res <- RspFileProduct(pathnameR, attrs = list(metadata = metadata), 
               mustExist = FALSE)
           res <- setMetadata(res, name = "source", value = pathname)
           res
       }
       <bytecode: 0x00000188bb97fa40>
       <environment: 0x00000188bc4178e8>
       Compiling Rnw document...
        Type of Rnw file: application/x-sweave
        Compiling Sweave document...
         Sweave pathname (absolute): d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/Rnw.rsp/LoremIpsum.Rnw
         Input file size: 925 bytes
         Output and working directory: .
  Writing to file LoremIpsum.tex
  Processing code chunks with options ...
   1 : keep.source term verbatim pdf  (LoremIpsum.Rnw:23)
  
  You can now run (pdf)latex on 'LoremIpsum.tex'
         RspFileProduct:
         Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/Rnw.rsp/LoremIpsum.tex
         File size: 855 bytes
         Content type: application/x-latex
         Has processor: TRUE
        Compiling Sweave document...done
       Compiling Rnw document...done
       RspFileProduct:
       Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/Rnw.rsp/LoremIpsum.tex
       File size: 855 bytes
       Content type: application/x-latex
       Has processor: TRUE
       Recursive processing...
        Recursive depth: Inf
        Processing RSP product...
         RspFileProduct:
         Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/Rnw.rsp/LoremIpsum.tex
         File size: 855 bytes
         Content type: application/x-latex
         Has processor: TRUE
         Locating document-type specific processor...
          RSP product content type: application/x-latex
          Source document: 'd:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/Rnw.rsp/LoremIpsum.Rnw'
          Processor found: application/x-latex
         Locating document-type specific processor...done
         Processing...
          RspFileProduct:
          Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/Rnw.rsp/LoremIpsum.tex
          File size: 855 bytes
          Content type: application/x-latex
          Has processor: TRUE
          function (pathname, ...) 
          {
              if (!isUrl(pathname)) {
                  withoutGString({
                      pathnameT <- Arguments$getReadablePathname(pathname)
                      pathname[1] <- pathnameT
                  })
              }
              pathnameR <- processor(pathname, ...)
              metadataR <- getMetadata(pathnameR)
              postprocessR <- getMetadata(pathnameR, "postprocess", local = TRUE)
              if (isFALSE(postprocessR)) 
                  metadata$postprocess <- FALSE
              pathnameR <- getAbsolutePath(pathnameR)
              res <- RspFileProduct(pathnameR, attrs = list(metadata = metadata), 
                  mustExist = FALSE)
              res <- setMetadata(res, name = "source", value = pathname)
              res
          }
          <bytecode: 0x00000188bb97fa40>
          <environment: 0x00000188bc846c30>
          Compiling LaTeX document...
           LaTeX pathname (absolute): D:/RCompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/Rnw.rsp/LoremIpsum.tex
           Input file size: 855 bytes
           Output format: pdf
           Output and working directory: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/Rnw.rsp
           Output pathname (PDF): d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/Rnw.rsp/LoremIpsum.pdf
           Calling tools::texi2dvi()...
            texinputs:
            [1] "d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/Rnw.rsp"
            Cleaning up LaTeX environment variable...
             Original:
              TEXINPUTS: .;.;.;;D:/RCompile/recent/R/share/texmf/tex/latex;;D:/RCompile/recent/R/share/texmf/tex/latex;;D:/RCompile/recent/R/share/texmf/tex/latex;
               BIBINPUTS: .;.;.;;D:/RCompile/recent/R/share/texmf/bibtex/bib;;D:/RCompile/recent/R/share/texmf/bibtex/bib;;D:/RCompile/recent/R/share/texmf/bibtex/bib;
               BSTINPUTS: .;.;.;;D:/RCompile/recent/R/share/texmf/bibtex/bst;;D:/RCompile/recent/R/share/texmf/bibtex/bst;;D:/RCompile/recent/R/share/texmf/bibtex/bst;
               TEXINDY: 
             Cleaned up:
              TEXINPUTS: .;D:/RCompile/recent/R/share/texmf/tex/latex;
               BIBINPUTS: .;D:/RCompile/recent/R/share/texmf/bibtex/bib;
               BSTINPUTS: .;D:/RCompile/recent/R/share/texmf/bibtex/bst;
            Cleaning up LaTeX environment variable...done
           Calling tools::texi2dvi()...done
           Output file size: 152153 bytes
          Compiling LaTeX document...done
          RspFileProduct:
          Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/Rnw.rsp/LoremIpsum.pdf
          File size: 148.59 kB (152153 bytes)
          Content type: application/pdf
          Has processor: TRUE
          Recursive processing...
           Recursive depth: Inf
           Processing RSP product...
            RspFileProduct:
            Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/Rnw.rsp/LoremIpsum.pdf
            File size: 148.59 kB (152153 bytes)
            Content type: application/pdf
            Has processor: TRUE
            Locating document-type specific processor...
             RSP product content type: application/pdf
             Source document: 'd:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/Rnw.rsp/LoremIpsum.tex'
             Processor found: application/pdf
            Locating document-type specific processor...done
            Processing...
             RspFileProduct:
             Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/Rnw.rsp/LoremIpsum.pdf
             File size: 148.59 kB (152153 bytes)
             Content type: application/pdf
             Has processor: TRUE
             function (pathname, ...) 
             {
                 if (!isUrl(pathname)) {
                     withoutGString({
                         pathnameT <- Arguments$getReadablePathname(pathname)
                         pathname[1] <- pathnameT
                     })
                 }
                 pathnameR <- processor(pathname, ...)
                 metadataR <- getMetadata(pathnameR)
                 postprocessR <- getMetadata(pathnameR, "postprocess", local = TRUE)
                 if (isFALSE(postprocessR)) 
                     metadata$postprocess <- FALSE
                 pathnameR <- getAbsolutePath(pathnameR)
                 res <- RspFileProduct(pathnameR, attrs = list(metadata = metadata), 
                     mustExist = FALSE)
                 res <- setMetadata(res, name = "source", value = pathname)
                 res
             }
             <bytecode: 0x00000188bb97fa40>
             <environment: 0x00000188bed1d548>
             Trying to compress PDF...
              Compression: 
              R.utils::compressPDF()......
              R.utils::compressPDF()......done
             Trying to compress PDF...done
             RspFileProduct:
             Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/Rnw.rsp/LoremIpsum.pdf
             File size: 148.59 kB (152153 bytes)
             Content type: application/pdf
             Metadata 'postprocess': 'FALSE'
             Has processor: FALSE
            Processing...done
           Processing RSP product...done
          Recursive processing...done
         Processing...done
        Processing RSP product...done
       Recursive processing...done
      Processing...done
     Processing RSP product...done
    Processing RSP R source code...done
   Processing RSP document...done
  Processing RSP file...done
  RspFileProduct:
  Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/Rnw.rsp/LoremIpsum.pdf
  File size: 148.59 kB (152153 bytes)
  Content type: application/pdf
  Metadata 'postprocess': 'FALSE'
  Has processor: FALSE
  Processing RSP file...
   Input pathname: D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.asciidoc.Rnw.rsp
   Output pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/asciidoc.Rnw.rsp/LoremIpsum.asciidoc.Rnw
   Default content type: application/x-rnw
   Assigning RSP arguments...
    Environment: R_GlobalEnv
    Arguments assigned: <none>
   Assigning RSP arguments...done
   Reading RSP document...
    Number of characters: 639
     chr "<%@page type=\"application/x-asciidoc-noweb\"%>\nLorem Ipsum\n===========\n\nAuthor: R.rsp\n\n\nText\n----\n\nL"| __truncated__
   Reading RSP document...done
   Parsing RSP document...
    RspDocument:
    Source: D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.asciidoc.Rnw.rsp
    Total number of RSP constructs: 1
    Number of RspText(s): 1
    Content type: application/x-asciidoc-noweb
   Parsing RSP document...done
   Processing RSP document...
    Translating RSP document (to R)...
     Number of R source code lines: 62
    Translating RSP document (to R)...done
    Processing RSP R source code...
     Output pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/asciidoc.Rnw.rsp/LoremIpsum.asciidoc.Rnw
     Assigning RSP arguments...
      Environment: R_GlobalEnv
      Arguments assigned: <none>
     Assigning RSP arguments...done
     Evaluating RSP R source code...
      Temporary working directory: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/asciidoc.Rnw.rsp
      RspFileProduct:
      Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/asciidoc.Rnw.rsp/LoremIpsum.asciidoc.Rnw
      File size: 617 bytes
      Content type: application/x-asciidoc-noweb
      Has processor: TRUE
     Evaluating RSP R source code...done
     Processing RSP product...
      RspFileProduct:
      Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/asciidoc.Rnw.rsp/LoremIpsum.asciidoc.Rnw
      File size: 617 bytes
      Content type: application/x-asciidoc-noweb
      Has processor: TRUE
      Locating document-type specific processor...
       RSP product content type: application/x-asciidoc-noweb
       Source document: 'D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.asciidoc.Rnw.rsp'
       Processor found: application/x-asciidoc-noweb
      Locating document-type specific processor...done
      Processing...
       RspFileProduct:
       Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/asciidoc.Rnw.rsp/LoremIpsum.asciidoc.Rnw
       File size: 617 bytes
       Content type: application/x-asciidoc-noweb
       Has processor: TRUE
       function (pathname, ...) 
       {
           if (!isUrl(pathname)) {
               withoutGString({
                   pathnameT <- Arguments$getReadablePathname(pathname)
                   pathname[1] <- pathnameT
               })
           }
           pathnameR <- processor(pathname, ...)
           metadataR <- getMetadata(pathnameR)
           postprocessR <- getMetadata(pathnameR, "postprocess", local = TRUE)
           if (isFALSE(postprocessR)) 
               metadata$postprocess <- FALSE
           pathnameR <- getAbsolutePath(pathnameR)
           res <- RspFileProduct(pathnameR, attrs = list(metadata = metadata), 
               mustExist = FALSE)
           res <- setMetadata(res, name = "source", value = pathname)
           res
       }
       <bytecode: 0x00000188bb97fa40>
       <environment: 0x00000188bc878958>
       Compiling AsciiDoc noweb document...
        Pathname (absolute): d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/asciidoc.Rnw.rsp/LoremIpsum.asciidoc.Rnw
        Input file size: 617 bytes
        Output and working directory: .
  Writing to file LoremIpsum.asciidoc.txt
  Processing code chunks with options ...
   1 : echo keep.source term verbatim jpeg 
  
  You can now run asciidoc on 'LoremIpsum.asciidoc.txt'
        RspFileProduct:
        Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/asciidoc.Rnw.rsp/LoremIpsum.asciidoc.txt
        File size: 644 bytes
        Content type: application/x-asciidoc
        Has processor: TRUE
       Compiling AsciiDoc noweb document...done
       RspFileProduct:
       Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/asciidoc.Rnw.rsp/LoremIpsum.asciidoc.txt
       File size: 644 bytes
       Content type: text/plain
       Has processor: FALSE
      Processing...done
     Processing RSP product...done
    Processing RSP R source code...done
   Processing RSP document...done
  Processing RSP file...done
  RspFileProduct:
  Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/asciidoc.Rnw.rsp/LoremIpsum.asciidoc.txt
  File size: 644 bytes
  Content type: text/plain
  Has processor: FALSE
  Processing RSP file...
   Input pathname: D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.asciidoc.rsp
   Output pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/asciidoc.rsp/LoremIpsum.asciidoc
   Default content type: application/x-asciidoc
   Assigning RSP arguments...
    Environment: R_GlobalEnv
    Arguments assigned: <none>
   Assigning RSP arguments...done
   Reading RSP document...
    Number of characters: 991
     chr "<%@page type=\"application/x-asciidoc-noweb\"%>\n<% toPNG <- function(...) R.devices::toPNG(..., field=\"pathna"| __truncated__
   Reading RSP document...done
   Parsing RSP document...
    RspDocument:
    Source: D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.asciidoc.rsp
    Total number of RSP constructs: 10
    Number of RspCode(s): 4
    Number of RspCodeChunk(s): 2
    Number of RspText(s): 4
    Content type: application/x-asciidoc-noweb
   Parsing RSP document...done
   Processing RSP document...
    Translating RSP document (to R)...
     Number of R source code lines: 71
    Translating RSP document (to R)...done
    Processing RSP R source code...
     Output pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/asciidoc.rsp/LoremIpsum.asciidoc
     Assigning RSP arguments...
      Environment: R_GlobalEnv
      Arguments assigned: <none>
     Assigning RSP arguments...done
     Evaluating RSP R source code...
      Temporary working directory: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/asciidoc.rsp
      RspFileProduct:
      Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/asciidoc.rsp/LoremIpsum.asciidoc
      File size: 760 bytes
      Content type: application/x-asciidoc-noweb
      Has processor: TRUE
     Evaluating RSP R source code...done
     Processing RSP product...
      RspFileProduct:
      Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/asciidoc.rsp/LoremIpsum.asciidoc
      File size: 760 bytes
      Content type: application/x-asciidoc-noweb
      Has processor: TRUE
      Locating document-type specific processor...
       RSP product content type: application/x-asciidoc-noweb
       Source document: 'D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.asciidoc.rsp'
       Processor found: application/x-asciidoc-noweb
      Locating document-type specific processor...done
      Processing...
       RspFileProduct:
       Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/asciidoc.rsp/LoremIpsum.asciidoc
       File size: 760 bytes
       Content type: application/x-asciidoc-noweb
       Has processor: TRUE
       function (pathname, ...) 
       {
           if (!isUrl(pathname)) {
               withoutGString({
                   pathnameT <- Arguments$getReadablePathname(pathname)
                   pathname[1] <- pathnameT
               })
           }
           pathnameR <- processor(pathname, ...)
           metadataR <- getMetadata(pathnameR)
           postprocessR <- getMetadata(pathnameR, "postprocess", local = TRUE)
           if (isFALSE(postprocessR)) 
               metadata$postprocess <- FALSE
           pathnameR <- getAbsolutePath(pathnameR)
           res <- RspFileProduct(pathnameR, attrs = list(metadata = metadata), 
               mustExist = FALSE)
           res <- setMetadata(res, name = "source", value = pathname)
           res
       }
       <bytecode: 0x00000188bb97fa40>
       <environment: 0x00000188c9a32c00>
       Compiling AsciiDoc noweb document...
        Pathname (absolute): d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/asciidoc.rsp/LoremIpsum.asciidoc
        Input file size: 760 bytes
        Output and working directory: .
  Writing to file LoremIpsum.asciidoc.txt
  Processing code chunks with options ...
  
  You can now run asciidoc on 'LoremIpsum.asciidoc.txt'
        RspFileProduct:
        Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/asciidoc.rsp/LoremIpsum.asciidoc.txt
        File size: 760 bytes
        Content type: application/x-asciidoc
        Has processor: TRUE
       Compiling AsciiDoc noweb document...done
       RspFileProduct:
       Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/asciidoc.rsp/LoremIpsum.asciidoc.txt
       File size: 760 bytes
       Content type: text/plain
       Has processor: FALSE
      Processing...done
     Processing RSP product...done
    Processing RSP R source code...done
   Processing RSP document...done
  Processing RSP file...done
  RspFileProduct:
  Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/asciidoc.rsp/LoremIpsum.asciidoc.txt
  File size: 760 bytes
  Content type: text/plain
  Has processor: FALSE
  Processing RSP file...
   Input pathname: D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.html.rsp
   Output pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/html.rsp/LoremIpsum.html
   Default content type: text/html
   Assigning RSP arguments...
    Environment: R_GlobalEnv
    Arguments assigned: <none>
   Assigning RSP arguments...done
   Reading RSP document...
    Number of characters: 1115
     chr "<!DOCTYPE html>\n<%\ntitle <- \"Lorem Ipsum\"\nauthor <- \"R.rsp\"\n%>\n\n<% toPNG <- function(...) R.devices::"| __truncated__
   Reading RSP document...done
   Parsing RSP document...
    RspDocument:
    Source: D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.html.rsp
    Total number of RSP constructs: 22
    Number of RspCode(s): 5
    Number of RspCodeChunk(s): 6
    Number of RspText(s): 11
    Content type: text/html
   Parsing RSP document...done
   Processing RSP document...
    Translating RSP document (to R)...
     Number of R source code lines: 83
    Translating RSP document (to R)...done
    Processing RSP R source code...
     Output pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/html.rsp/LoremIpsum.html
     Assigning RSP arguments...
      Environment: R_GlobalEnv
      Arguments assigned: <none>
     Assigning RSP arguments...done
     Evaluating RSP R source code...
      Temporary working directory: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/html.rsp
      RspFileProduct:
      Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/html.rsp/LoremIpsum.html
      File size: 885 bytes
      Content type: text/html
      Has processor: FALSE
     Evaluating RSP R source code...done
    Processing RSP R source code...done
   Processing RSP document...done
  Processing RSP file...done
  RspFileProduct:
  Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/html.rsp/LoremIpsum.html
  File size: 885 bytes
  Content type: text/html
  Has processor: FALSE
  Processing RSP file...
   Input pathname: D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.knitr.Rnw.rsp
   Output pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/knitr.Rnw.rsp/LoremIpsum.knitr.Rnw
   Default content type: application/x-rnw
   Assigning RSP arguments...
    Environment: R_GlobalEnv
    Arguments assigned: <none>
   Assigning RSP arguments...done
   Reading RSP document...
    Number of characters: 1044
     chr "\\documentclass{article}\n\\usepackage[margin=1.0in]{geometry}\n\n<<global, echo=<%=FALSE%>>>=\nopts_chunk$set("| __truncated__
   Reading RSP document...done
   Parsing RSP document...
    RspDocument:
    Source: D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.knitr.Rnw.rsp
    Total number of RSP constructs: 10
    Number of RspCode(s): 3
    Number of RspCodeChunk(s): 2
    Number of RspText(s): 5
    Content type: application/x-rnw
   Parsing RSP document...done
   Processing RSP document...
    Translating RSP document (to R)...
     Number of R source code lines: 71
    Translating RSP document (to R)...done
    Processing RSP R source code...
     Output pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/knitr.Rnw.rsp/LoremIpsum.knitr.Rnw
     Assigning RSP arguments...
      Environment: R_GlobalEnv
      Arguments assigned: <none>
     Assigning RSP arguments...done
     Evaluating RSP R source code...
      Temporary working directory: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/knitr.Rnw.rsp
      RspFileProduct:
      Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/knitr.Rnw.rsp/LoremIpsum.knitr.Rnw
      File size: 0.99 kB (1016 bytes)
      Content type: application/x-rnw
      Has processor: TRUE
     Evaluating RSP R source code...done
     Processing RSP product...
      RspFileProduct:
      Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/knitr.Rnw.rsp/LoremIpsum.knitr.Rnw
      File size: 0.99 kB (1016 bytes)
      Content type: application/x-rnw
      Has processor: TRUE
      Locating document-type specific processor...
       RSP product content type: application/x-rnw
       Source document: 'D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.knitr.Rnw.rsp'
       Processor found: application/x-rnw
      Locating document-type specific processor...done
      Processing...
       RspFileProduct:
       Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/knitr.Rnw.rsp/LoremIpsum.knitr.Rnw
       File size: 0.99 kB (1016 bytes)
       Content type: application/x-rnw
       Has processor: TRUE
       function (pathname, ...) 
       {
           if (!isUrl(pathname)) {
               withoutGString({
                   pathnameT <- Arguments$getReadablePathname(pathname)
                   pathname[1] <- pathnameT
               })
           }
           pathnameR <- processor(pathname, ...)
           metadataR <- getMetadata(pathnameR)
           postprocessR <- getMetadata(pathnameR, "postprocess", local = TRUE)
           if (isFALSE(postprocessR)) 
               metadata$postprocess <- FALSE
           pathnameR <- getAbsolutePath(pathnameR)
           res <- RspFileProduct(pathnameR, attrs = list(metadata = metadata), 
               mustExist = FALSE)
           res <- setMetadata(res, name = "source", value = pathname)
           res
       }
       <bytecode: 0x00000188bb97fa40>
       <environment: 0x00000188cc0437a0>
       Compiling Rnw document...
        Type of Rnw file: application/x-knitr
        Compiling Knitr document...
         Pathname (absolute): d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/knitr.Rnw.rsp/LoremIpsum.knitr.Rnw
         Input file size: 1016 bytes
         Output and working directory: .
  
  
  processing file: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/knitr.Rnw.rsp/LoremIpsum.knitr.Rnw
  output file: LoremIpsum.knitr.tex
  
         RspFileProduct:
         Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/knitr.Rnw.rsp/LoremIpsum.knitr.tex
         File size: 2.91 kB (2984 bytes)
         Content type: application/x-latex
         Has processor: TRUE
        Compiling Knitr document...done
       Compiling Rnw document...done
       RspFileProduct:
       Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/knitr.Rnw.rsp/LoremIpsum.knitr.tex
       File size: 2.91 kB (2984 bytes)
       Content type: application/x-latex
       Has processor: TRUE
       Recursive processing...
        Recursive depth: Inf
        Processing RSP product...
         RspFileProduct:
         Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/knitr.Rnw.rsp/LoremIpsum.knitr.tex
         File size: 2.91 kB (2984 bytes)
         Content type: application/x-latex
         Has processor: TRUE
         Locating document-type specific processor...
          RSP product content type: application/x-latex
          Source document: 'd:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/knitr.Rnw.rsp/LoremIpsum.knitr.Rnw'
          Processor found: application/x-latex
         Locating document-type specific processor...done
         Processing...
          RspFileProduct:
          Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/knitr.Rnw.rsp/LoremIpsum.knitr.tex
          File size: 2.91 kB (2984 bytes)
          Content type: application/x-latex
          Has processor: TRUE
          function (pathname, ...) 
          {
              if (!isUrl(pathname)) {
                  withoutGString({
                      pathnameT <- Arguments$getReadablePathname(pathname)
                      pathname[1] <- pathnameT
                  })
              }
              pathnameR <- processor(pathname, ...)
              metadataR <- getMetadata(pathnameR)
              postprocessR <- getMetadata(pathnameR, "postprocess", local = TRUE)
              if (isFALSE(postprocessR)) 
                  metadata$postprocess <- FALSE
              pathnameR <- getAbsolutePath(pathnameR)
              res <- RspFileProduct(pathnameR, attrs = list(metadata = metadata), 
                  mustExist = FALSE)
              res <- setMetadata(res, name = "source", value = pathname)
              res
          }
          <bytecode: 0x00000188bb97fa40>
          <environment: 0x00000188c848daa8>
          Compiling LaTeX document...
           LaTeX pathname (absolute): D:/RCompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/knitr.Rnw.rsp/LoremIpsum.knitr.tex
           Input file size: 2984 bytes
           Output format: pdf
           Output and working directory: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/knitr.Rnw.rsp
           Output pathname (PDF): d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/knitr.Rnw.rsp/LoremIpsum.knitr.pdf
           Calling tools::texi2dvi()...
            texinputs:
            [1] "d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/knitr.Rnw.rsp"
            Cleaning up LaTeX environment variable...
             Original:
              TEXINPUTS: .;.;.;;D:/RCompile/recent/R/share/texmf/tex/latex;;D:/RCompile/recent/R/share/texmf/tex/latex;;D:/RCompile/recent/R/share/texmf/tex/latex;
               BIBINPUTS: .;.;.;;D:/RCompile/recent/R/share/texmf/bibtex/bib;;D:/RCompile/recent/R/share/texmf/bibtex/bib;;D:/RCompile/recent/R/share/texmf/bibtex/bib;
               BSTINPUTS: .;.;.;;D:/RCompile/recent/R/share/texmf/bibtex/bst;;D:/RCompile/recent/R/share/texmf/bibtex/bst;;D:/RCompile/recent/R/share/texmf/bibtex/bst;
               TEXINDY: 
             Cleaned up:
              TEXINPUTS: .;D:/RCompile/recent/R/share/texmf/tex/latex;
               BIBINPUTS: .;D:/RCompile/recent/R/share/texmf/bibtex/bib;
               BSTINPUTS: .;D:/RCompile/recent/R/share/texmf/bibtex/bst;
            Cleaning up LaTeX environment variable...done
           Calling tools::texi2dvi()...done
           Output file size: 163109 bytes
          Compiling LaTeX document...done
          RspFileProduct:
          Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/knitr.Rnw.rsp/LoremIpsum.knitr.pdf
          File size: 159.29 kB (163109 bytes)
          Content type: application/pdf
          Has processor: TRUE
          Recursive processing...
           Recursive depth: Inf
           Processing RSP product...
            RspFileProduct:
            Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/knitr.Rnw.rsp/LoremIpsum.knitr.pdf
            File size: 159.29 kB (163109 bytes)
            Content type: application/pdf
            Has processor: TRUE
            Locating document-type specific processor...
             RSP product content type: application/pdf
             Source document: 'd:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/knitr.Rnw.rsp/LoremIpsum.knitr.tex'
             Processor found: application/pdf
            Locating document-type specific processor...done
            Processing...
             RspFileProduct:
             Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/knitr.Rnw.rsp/LoremIpsum.knitr.pdf
             File size: 159.29 kB (163109 bytes)
             Content type: application/pdf
             Has processor: TRUE
             function (pathname, ...) 
             {
                 if (!isUrl(pathname)) {
                     withoutGString({
                         pathnameT <- Arguments$getReadablePathname(pathname)
                         pathname[1] <- pathnameT
                     })
                 }
                 pathnameR <- processor(pathname, ...)
                 metadataR <- getMetadata(pathnameR)
                 postprocessR <- getMetadata(pathnameR, "postprocess", local = TRUE)
                 if (isFALSE(postprocessR)) 
                     metadata$postprocess <- FALSE
                 pathnameR <- getAbsolutePath(pathnameR)
                 res <- RspFileProduct(pathnameR, attrs = list(metadata = metadata), 
                     mustExist = FALSE)
                 res <- setMetadata(res, name = "source", value = pathname)
                 res
             }
             <bytecode: 0x00000188bb97fa40>
             <environment: 0x00000188c9ba64c8>
             Trying to compress PDF...
              Compression: 
              R.utils::compressPDF()......
              R.utils::compressPDF()......done
             Trying to compress PDF...done
             RspFileProduct:
             Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/knitr.Rnw.rsp/LoremIpsum.knitr.pdf
             File size: 159.29 kB (163109 bytes)
             Content type: application/pdf
             Metadata 'postprocess': 'FALSE'
             Has processor: FALSE
            Processing...done
           Processing RSP product...done
          Recursive processing...done
         Processing...done
        Processing RSP product...done
       Recursive processing...done
      Processing...done
     Processing RSP product...done
    Processing RSP R source code...done
   Processing RSP document...done
  Processing RSP file...done
  RspFileProduct:
  Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/knitr.Rnw.rsp/LoremIpsum.knitr.pdf
  File size: 159.29 kB (163109 bytes)
  Content type: application/pdf
  Metadata 'postprocess': 'FALSE'
  Has processor: FALSE
  Processing RSP file...
   Input pathname: D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.md.rsp
   Output pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/md.rsp/LoremIpsum.md
   Default content type: application/x-markdown
   Assigning RSP arguments...
    Environment: R_GlobalEnv
    Arguments assigned: <none>
   Assigning RSP arguments...done
   Reading RSP document...
    Number of characters: 834
     chr "<% toPNG <- function(...) R.devices::toPNG(..., field=\"pathname\") %>\n\nLorem Ipsum\n===========\n\nAuthor: R"| __truncated__
   Reading RSP document...done
   Parsing RSP document...
    RspDocument:
    Source: D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.md.rsp
    Total number of RSP constructs: 10
    Number of RspCode(s): 4
    Number of RspCodeChunk(s): 2
    Number of RspText(s): 4
    Content type: application/x-markdown
   Parsing RSP document...done
   Processing RSP document...
    Translating RSP document (to R)...
     Number of R source code lines: 71
    Translating RSP document (to R)...done
    Processing RSP R source code...
     Output pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/md.rsp/LoremIpsum.md
     Assigning RSP arguments...
      Environment: R_GlobalEnv
      Arguments assigned: <none>
     Assigning RSP arguments...done
     Evaluating RSP R source code...
      Temporary working directory: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/md.rsp
      RspFileProduct:
      Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/md.rsp/LoremIpsum.md
      File size: 646 bytes
      Content type: application/x-markdown
      Has processor: TRUE
     Evaluating RSP R source code...done
     Processing RSP product...
      RspFileProduct:
      Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/md.rsp/LoremIpsum.md
      File size: 646 bytes
      Content type: application/x-markdown
      Has processor: TRUE
      Locating document-type specific processor...
       RSP product content type: application/x-markdown
       Source document: 'D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.md.rsp'
       Processor found: application/x-markdown
      Locating document-type specific processor...done
      Processing...
       RspFileProduct:
       Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/md.rsp/LoremIpsum.md
       File size: 646 bytes
       Content type: application/x-markdown
       Has processor: TRUE
       function (pathname, ...) 
       {
           if (!isUrl(pathname)) {
               withoutGString({
                   pathnameT <- Arguments$getReadablePathname(pathname)
                   pathname[1] <- pathnameT
               })
           }
           pathnameR <- processor(pathname, ...)
           metadataR <- getMetadata(pathnameR)
           postprocessR <- getMetadata(pathnameR, "postprocess", local = TRUE)
           if (isFALSE(postprocessR)) 
               metadata$postprocess <- FALSE
           pathnameR <- getAbsolutePath(pathnameR)
           res <- RspFileProduct(pathnameR, attrs = list(metadata = metadata), 
               mustExist = FALSE)
           res <- setMetadata(res, name = "source", value = pathname)
           res
       }
       <bytecode: 0x00000188bb97fa40>
       <environment: 0x00000188c8e36978>
       Compiling Markdown document...
        Markdown pathname (absolute): d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/md.rsp/LoremIpsum.md
        Input file size: 646 bytes
        Output and working directory: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/md.rsp
        Output pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/md.rsp/LoremIpsum.html
        Calling markdown::markdownToHTML()...
         Arguments:
         List of 3
          $       : chr "LoremIpsum.md"
          $ output: chr "LoremIpsum.html"
          $ header: chr ""
         Input encoding: native.enc (from option 'encoding')
         Output encoding: UTF-8 (forced by markdown::markdownToHTML())
        Calling markdown::markdownToHTML()...done
        Output file size: 18599 bytes
       Compiling Markdown document...done
       RspFileProduct:
       Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/md.rsp/LoremIpsum.html
       File size: 18.16 kB (18599 bytes)
       Content type: text/html
       Has processor: FALSE
      Processing...done
     Processing RSP product...done
    Processing RSP R source code...done
   Processing RSP document...done
  Processing RSP file...done
  RspFileProduct:
  Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/md.rsp/LoremIpsum.html
  File size: 18.16 kB (18599 bytes)
  Content type: text/html
  Has processor: FALSE
  Processing RSP file...
   Input pathname: D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.tex.rsp
   Output pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/tex.rsp/LoremIpsum.tex
   Default content type: application/x-latex
   Assigning RSP arguments...
    Environment: R_GlobalEnv
    Arguments assigned: <none>
   Assigning RSP arguments...done
   Reading RSP document...
    Number of characters: 1184
     chr "\\documentclass{article}\n\\usepackage[margin=1.0in]{geometry}\n\\usepackage{graphicx}\n<%@meta compression=\"g"| __truncated__
   Reading RSP document...done
   Parsing RSP document...
    RspDocument:
    Source: D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.tex.rsp
    Total number of RSP constructs: 13
    Number of RspCode(s): 4
    Number of RspCodeChunk(s): 3
    Number of RspText(s): 6
    Content type: application/x-latex
    Metadata 'compression': 'gs(ebook)'
   Parsing RSP document...done
   Processing RSP document...
    Translating RSP document (to R)...
     Number of R source code lines: 78
    Translating RSP document (to R)...done
    Processing RSP R source code...
     Output pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/tex.rsp/LoremIpsum.tex
     Assigning RSP arguments...
      Environment: R_GlobalEnv
      Arguments assigned: <none>
     Assigning RSP arguments...done
     Evaluating RSP R source code...
      Temporary working directory: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/tex.rsp
      RspFileProduct:
      Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/tex.rsp/LoremIpsum.tex
      File size: 969 bytes
      Content type: application/x-latex
      Metadata 'compression': 'gs(ebook)'
      Has processor: TRUE
     Evaluating RSP R source code...done
     Processing RSP product...
      RspFileProduct:
      Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/tex.rsp/LoremIpsum.tex
      File size: 969 bytes
      Content type: application/x-latex
      Metadata 'compression': 'gs(ebook)'
      Has processor: TRUE
      Locating document-type specific processor...
       RSP product content type: application/x-latex
       Source document: 'D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.tex.rsp'
       Processor found: application/x-latex
      Locating document-type specific processor...done
      Processing...
       RspFileProduct:
       Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/tex.rsp/LoremIpsum.tex
       File size: 969 bytes
       Content type: application/x-latex
       Metadata 'compression': 'gs(ebook)'
       Has processor: TRUE
       function (pathname, ...) 
       {
           if (!isUrl(pathname)) {
               withoutGString({
                   pathnameT <- Arguments$getReadablePathname(pathname)
                   pathname[1] <- pathnameT
               })
           }
           pathnameR <- processor(pathname, ...)
           metadataR <- getMetadata(pathnameR)
           postprocessR <- getMetadata(pathnameR, "postprocess", local = TRUE)
           if (isFALSE(postprocessR)) 
               metadata$postprocess <- FALSE
           pathnameR <- getAbsolutePath(pathnameR)
           res <- RspFileProduct(pathnameR, attrs = list(metadata = metadata), 
               mustExist = FALSE)
           res <- setMetadata(res, name = "source", value = pathname)
           res
       }
       <bytecode: 0x00000188bb97fa40>
       <environment: 0x00000188cc832618>
       Compiling LaTeX document...
        LaTeX pathname (absolute): D:/RCompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/tex.rsp/LoremIpsum.tex
        Input file size: 969 bytes
        Output format: pdf
        Output and working directory: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/tex.rsp
        Output pathname (PDF): d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/tex.rsp/LoremIpsum.pdf
        Calling tools::texi2dvi()...
         texinputs:
         [1] "D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum"
         Cleaning up LaTeX environment variable...
          Original:
           TEXINPUTS: .;.;.;;D:/RCompile/recent/R/share/texmf/tex/latex;;D:/RCompile/recent/R/share/texmf/tex/latex;;D:/RCompile/recent/R/share/texmf/tex/latex;
            BIBINPUTS: .;.;.;;D:/RCompile/recent/R/share/texmf/bibtex/bib;;D:/RCompile/recent/R/share/texmf/bibtex/bib;;D:/RCompile/recent/R/share/texmf/bibtex/bib;
            BSTINPUTS: .;.;.;;D:/RCompile/recent/R/share/texmf/bibtex/bst;;D:/RCompile/recent/R/share/texmf/bibtex/bst;;D:/RCompile/recent/R/share/texmf/bibtex/bst;
            TEXINDY: 
          Cleaned up:
           TEXINPUTS: .;D:/RCompile/recent/R/share/texmf/tex/latex;
            BIBINPUTS: .;D:/RCompile/recent/R/share/texmf/bibtex/bib;
            BSTINPUTS: .;D:/RCompile/recent/R/share/texmf/bibtex/bst;
         Cleaning up LaTeX environment variable...done
        Calling tools::texi2dvi()...done
        Output file size: 157504 bytes
       Compiling LaTeX document...done
       RspFileProduct:
       Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/tex.rsp/LoremIpsum.pdf
       File size: 153.81 kB (157504 bytes)
       Content type: application/pdf
       Metadata 'compression': 'gs(ebook)'
       Has processor: TRUE
       Recursive processing...
        Recursive depth: Inf
        Processing RSP product...
         RspFileProduct:
         Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/tex.rsp/LoremIpsum.pdf
         File size: 153.81 kB (157504 bytes)
         Content type: application/pdf
         Metadata 'compression': 'gs(ebook)'
         Has processor: TRUE
         Locating document-type specific processor...
          RSP product content type: application/pdf
          Source document: 'd:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/tex.rsp/LoremIpsum.tex'
          Processor found: application/pdf
         Locating document-type specific processor...done
         Processing...
          RspFileProduct:
          Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/tex.rsp/LoremIpsum.pdf
          File size: 153.81 kB (157504 bytes)
          Content type: application/pdf
          Metadata 'compression': 'gs(ebook)'
          Has processor: TRUE
          function (pathname, ...) 
          {
              if (!isUrl(pathname)) {
                  withoutGString({
                      pathnameT <- Arguments$getReadablePathname(pathname)
                      pathname[1] <- pathnameT
                  })
              }
              pathnameR <- processor(pathname, ...)
              metadataR <- getMetadata(pathnameR)
              postprocessR <- getMetadata(pathnameR, "postprocess", local = TRUE)
              if (isFALSE(postprocessR)) 
                  metadata$postprocess <- FALSE
              pathnameR <- getAbsolutePath(pathnameR)
              res <- RspFileProduct(pathnameR, attrs = list(metadata = metadata), 
                  mustExist = FALSE)
              res <- setMetadata(res, name = "source", value = pathname)
              res
          }
          <bytecode: 0x00000188bb97fa40>
          <environment: 0x00000188cad6bf10>
          Trying to compress PDF...
           Compression: gs(ebook)
           R.utils::compressPDF()......
           R.utils::compressPDF()......done
          Trying to compress PDF...done
          RspFileProduct:
          Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/tex.rsp/LoremIpsum.pdf
          File size: 105.38 kB (107905 bytes)
          Content type: application/pdf
          Metadata 'compression': 'gs(ebook)'
          Metadata 'postprocess': 'FALSE'
          Has processor: FALSE
         Processing...done
        Processing RSP product...done
       Recursive processing...done
      Processing...done
     Processing RSP product...done
    Processing RSP R source code...done
   Processing RSP document...done
  Processing RSP file...done
  RspFileProduct:
  Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/tex.rsp/LoremIpsum.pdf
  File size: 105.38 kB (107905 bytes)
  Content type: application/pdf
  Metadata 'compression': 'gs(ebook)'
  Metadata 'postprocess': 'FALSE'
  Has processor: FALSE
  Processing RSP file...
   Input pathname: D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.txt.rsp
   Output pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/txt.rsp/LoremIpsum.txt
   Default content type: text/plain
   Assigning RSP arguments...
    Environment: R_GlobalEnv
    Arguments assigned: <none>
   Assigning RSP arguments...done
   Reading RSP document...
    Number of characters: 176
     chr "Lorem Ipsum\n===========\n\nAuthor: R.rsp\n\nText\n----\n\n<%\nsentences <- c(\"<%@include file=\"includes/Lore"| __truncated__
   Reading RSP document...done
   Parsing RSP document...
    RspDocument:
    Source: D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.txt.rsp
    Total number of RSP constructs: 7
    Number of RspCode(s): 3
    Number of RspCodeChunk(s): 1
    Number of RspText(s): 3
    Content type: text/plain
   Parsing RSP document...done
   Processing RSP document...
    Translating RSP document (to R)...
     Number of R source code lines: 68
    Translating RSP document (to R)...done
    Processing RSP R source code...
     Output pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/txt.rsp/LoremIpsum.txt
     Assigning RSP arguments...
      Environment: R_GlobalEnv
      Arguments assigned: <none>
     Assigning RSP arguments...done
     Evaluating RSP R source code...
      Temporary working directory: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/txt.rsp
      RspFileProduct:
      Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/txt.rsp/LoremIpsum.txt
      File size: 510 bytes
      Content type: text/plain
      Has processor: FALSE
     Evaluating RSP R source code...done
    Processing RSP R source code...done
   Processing RSP document...done
  Processing RSP file...done
  RspFileProduct:
  Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/txt.rsp/LoremIpsum.txt
  File size: 510 bytes
  Content type: text/plain
  Has processor: FALSE
  Processing RSP file...
   Input pathname: D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.txt.rsp.rsp
   Output pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/txt.rsp.rsp/LoremIpsum.txt.rsp
   Default content type: application/x-rsp
   Assigning RSP arguments...
    Environment: R_GlobalEnv
    Arguments assigned: <none>
   Assigning RSP arguments...done
   Reading RSP document...
    Number of characters: 368
     chr "<%------------------------------------------------------------\nThis is an RSP document that outputs another RS"| __truncated__
   Reading RSP document...done
   Parsing RSP document...
    RspDocument:
    Source: D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.txt.rsp.rsp
    Total number of RSP constructs: 1
    Number of RspText(s): 1
    Content type: application/x-rsp
   Parsing RSP document...done
   Processing RSP document...
    Translating RSP document (to R)...
     Number of R source code lines: 62
    Translating RSP document (to R)...done
    Processing RSP R source code...
     Output pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/txt.rsp.rsp/LoremIpsum.txt.rsp
     Assigning RSP arguments...
      Environment: R_GlobalEnv
      Arguments assigned: <none>
     Assigning RSP arguments...done
     Evaluating RSP R source code...
      Temporary working directory: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/txt.rsp.rsp
      RspFileProduct:
      Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/txt.rsp.rsp/LoremIpsum.txt.rsp
      File size: 602 bytes
      Content type: application/x-rsp
      Has processor: TRUE
     Evaluating RSP R source code...done
     Processing RSP product...
      RspFileProduct:
      Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/txt.rsp.rsp/LoremIpsum.txt.rsp
      File size: 602 bytes
      Content type: application/x-rsp
      Has processor: TRUE
      Locating document-type specific processor...
       RSP product content type: application/x-rsp
       Source document: 'D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.txt.rsp.rsp'
       Processor found: application/x-rsp
      Locating document-type specific processor...done
      Processing...
       RspFileProduct:
       Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/txt.rsp.rsp/LoremIpsum.txt.rsp
       File size: 602 bytes
       Content type: application/x-rsp
       Has processor: TRUE
       function (pathname, ...) 
       {
           if (!isUrl(pathname)) {
               withoutGString({
                   pathnameT <- Arguments$getReadablePathname(pathname)
                   pathname[1] <- pathnameT
               })
           }
           pathnameR <- processor(pathname, ...)
           metadataR <- getMetadata(pathnameR)
           postprocessR <- getMetadata(pathnameR, "postprocess", local = TRUE)
           if (isFALSE(postprocessR)) 
               metadata$postprocess <- FALSE
           pathnameR <- getAbsolutePath(pathnameR)
           res <- RspFileProduct(pathnameR, attrs = list(metadata = metadata), 
               mustExist = FALSE)
           res <- setMetadata(res, name = "source", value = pathname)
           res
       }
       <bytecode: 0x00000188bb97fa40>
       <environment: 0x00000188c805dc18>
       Compiling RSP document...
        RSP pathname (absolute): d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/txt.rsp.rsp/LoremIpsum.txt.rsp
        Input file size: 602 bytes
        Output and working directory: .
        RspFileProduct:
        Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/txt.rsp.rsp/LoremIpsum.txt
        File size: 510 bytes
        Content type: text/plain
        Has processor: FALSE
       Compiling RSP document...done
       RspFileProduct:
       Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/txt.rsp.rsp/LoremIpsum.txt
       File size: 510 bytes
       Content type: text/plain
       Has processor: FALSE
      Processing...done
     Processing RSP product...done
    Processing RSP R source code...done
   Processing RSP document...done
  Processing RSP file...done
  RspFileProduct:
  Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/LoremIpsum/txt.rsp.rsp/LoremIpsum.txt
  File size: 510 bytes
  Content type: text/plain
  Has processor: FALSE
  Warning message:
  file name 'LoremIpsum.asciidoc-001' is not portable 
  > 
  > proc.time()
     user  system elapsed 
     4.95    1.39   54.35 
Running the tests in 'tests/RspConstruct.R' failed.
Complete output:
  > library("R.rsp")
  R.rsp v0.46.0 (2024-02-17 18:30:02 UTC) successfully loaded. See ?R.rsp for help.
  > library("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.26.0 (2024-01-24 05:12:50 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
  
  > 
  > d <- RspConstruct()
  > print(d)
  character(0)
  attr(,"class")
  [1] "RspConstruct" "RspObject"    "character"   
  RspConstruct:
  > 
  > classes <- getKnownSubclasses(RspConstruct)
  > print(classes)
   [1] "RspCode"               "RspCodeChunk"          "RspComment"           
   [4] "RspCopyDirective"      "RspCutDirective"       "RspDirective"         
   [7] "RspElseDirective"      "RspEndcopyDirective"   "RspEndcutDirective"   
  [10] "RspEndifDirective"     "RspErrorDirective"     "RspEvalDirective"     
  [13] "RspExpression"         "RspIfDirective"        "RspIfeqDirective"     
  [16] "RspIfneqDirective"     "RspIncludeDirective"   "RspIntegerDirective"  
  [19] "RspLogicalDirective"   "RspMetaDirective"      "RspNumericDirective"  
  [22] "RspPageDirective"      "RspPasteDirective"     "RspStringDirective"   
  [25] "RspText"               "RspUnknownDirective"   "RspUnparsedDirective" 
  [28] "RspUnparsedExpression" "RspVariableDirective"  "RspVoid"              
  > for (class in classes) {
  +   clazz <- Class$forName(class)
  +   object <- newInstance(clazz)
  +   print(object)
  + 
  +   ## FIXME: Should RspExpression:s support asRspString()?
  +   if (! class %in% c("RspExpression", "RspUnparsedExpression")) {
  +     str <- asRspString(object)
  +     print(str)
  +   }
  + }
  character(0)
  attr(,"class")
  [1] "RspCode"       "RspExpression" "RspConstruct"  "RspObject"    
  [5] "character"    
  attr(,"echo")
  [1] FALSE
  RspCode:
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 0
  Number of lines: 0
  ##############################################################################
  
  character(0)
  attr(,"class")
  [1] "RspCodeChunk"  "RspCode"       "RspExpression" "RspConstruct" 
  [5] "RspObject"     "character"    
  attr(,"echo")
  [1] FALSE
  attr(,"return")
  [1] FALSE
  RspCodeChunk:
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 0
  Number of lines: 0
  ##############################################################################
  
  character(0)
  attr(,"class")
  [1] "RspComment"   "RspConstruct" "RspObject"    "character"   
  RspComment:
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 0
  Number of lines: 0
  ##############################################################################
  
  [1] "copy"
  attr(,"class")
  [1] "RspCopyDirective" "RspCutDirective"  "RspDirective"     "RspConstruct"    
  [5] "RspObject"        "character"       
  RspCopyDirective:
  copy
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 9
  Number of lines: 1
  ##############################################################################
  <%@copy%>
  [1] "cut"
  attr(,"class")
  [1] "RspCutDirective" "RspDirective"    "RspConstruct"    "RspObject"      
  [5] "character"      
  RspCutDirective:
  cut
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 8
  Number of lines: 1
  ##############################################################################
  <%@cut%>
  character(0)
  attr(,"class")
  [1] "RspDirective" "RspConstruct" "RspObject"    "character"   
  RspDirective:
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 0
  Number of lines: 0
  ##############################################################################
  
  [1] "else"
  attr(,"class")
  [1] "RspElseDirective" "RspDirective"     "RspConstruct"     "RspObject"       
  [5] "character"       
  RspElseDirective:
  else
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 9
  Number of lines: 1
  ##############################################################################
  <%@else%>
  [1] "endcopy"
  attr(,"class")
  [1] "RspEndcopyDirective" "RspEndcutDirective"  "RspDirective"       
  [4] "RspConstruct"        "RspObject"           "character"          
  RspEndcopyDirective:
  endcopy
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 12
  Number of lines: 1
  ##############################################################################
  <%@endcopy%>
  [1] "endcut"
  attr(,"class")
  [1] "RspEndcutDirective" "RspDirective"       "RspConstruct"      
  [4] "RspObject"          "character"         
  RspEndcutDirective:
  endcut
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 11
  Number of lines: 1
  ##############################################################################
  <%@endcut%>
  [1] "endif"
  attr(,"class")
  [1] "RspEndifDirective" "RspDirective"      "RspConstruct"     
  [4] "RspObject"         "character"        
  RspEndifDirective:
  endif
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 10
  Number of lines: 1
  ##############################################################################
  <%@endif%>
  [1] "error"
  attr(,"class")
  [1] "RspErrorDirective" "RspDirective"      "RspConstruct"     
  [4] "RspObject"         "character"        
  RspErrorDirective:
  error
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 10
  Number of lines: 1
  ##############################################################################
  <%@error%>
  [1] "eval"
  attr(,"class")
  [1] "RspEvalDirective" "RspDirective"     "RspConstruct"     "RspObject"       
  [5] "character"       
  RspEvalDirective:
  eval
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 9
  Number of lines: 1
  ##############################################################################
  <%@eval%>
  character(0)
  attr(,"class")
  [1] "RspExpression" "RspConstruct"  "RspObject"     "character"    
  RspExpression:
  [1] "if"
  attr(,"class")
  [1] "RspIfDirective" "RspDirective"   "RspConstruct"   "RspObject"     
  [5] "character"     
  RspIfDirective:
  if
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 7
  Number of lines: 1
  ##############################################################################
  <%@if%>
  [1] "if"
  attr(,"class")
  [1] "RspIfeqDirective" "RspIfDirective"   "RspDirective"     "RspConstruct"    
  [5] "RspObject"        "character"       
  attr(,"test")
  [1] "equal-to"
  RspIfeqDirective:
  if
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 23
  Number of lines: 1
  ##############################################################################
  <%@if test="equal-to"%>
  [1] "if"
  attr(,"class")
  [1] "RspIfneqDirective" "RspIfeqDirective"  "RspIfDirective"   
  [4] "RspDirective"      "RspConstruct"      "RspObject"        
  [7] "character"        
  attr(,"test")
  [1] "equal-to"
  attr(,"negate")
  [1] TRUE
  RspIfneqDirective:
  if
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 37
  Number of lines: 1
  ##############################################################################
  <%@if test="equal-to" negate="TRUE"%>
  [1] "include"
  attr(,"class")
  [1] "RspIncludeDirective" "RspDirective"        "RspConstruct"       
  [4] "RspObject"           "character"          
  RspIncludeDirective:
  include
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 12
  Number of lines: 1
  ##############################################################################
  <%@include%>
  [1] "integer"
  attr(,"class")
  [1] "RspIntegerDirective"  "RspNumericDirective"  "RspVariableDirective"
  [4] "RspDirective"         "RspConstruct"         "RspObject"           
  [7] "character"           
  RspIntegerDirective:
  integer
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 12
  Number of lines: 1
  ##############################################################################
  <%@integer%>
  [1] "logical"
  attr(,"class")
  [1] "RspLogicalDirective"  "RspVariableDirective" "RspDirective"        
  [4] "RspConstruct"         "RspObject"            "character"           
  RspLogicalDirective:
  logical
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 12
  Number of lines: 1
  ##############################################################################
  <%@logical%>
  [1] "meta"
  attr(,"class")
  [1] "RspMetaDirective"     "RspStringDirective"   "RspVariableDirective"
  [4] "RspDirective"         "RspConstruct"         "RspObject"           
  [7] "character"           
  RspMetaDirective:
  meta
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 9
  Number of lines: 1
  ##############################################################################
  <%@meta%>
  [1] "numeric"
  attr(,"class")
  [1] "RspNumericDirective"  "RspVariableDirective" "RspDirective"        
  [4] "RspConstruct"         "RspObject"            "character"           
  RspNumericDirective:
  numeric
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 12
  Number of lines: 1
  ##############################################################################
  <%@numeric%>
  [1] "page"
  attr(,"class")
  [1] "RspPageDirective" "RspDirective"     "RspConstruct"     "RspObject"       
  [5] "character"       
  RspPageDirective:
  page
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 9
  Number of lines: 1
  ##############################################################################
  <%@page%>
  [1] "paste"
  attr(,"class")
  [1] "RspPasteDirective" "RspDirective"      "RspConstruct"     
  [4] "RspObject"         "character"        
  RspPasteDirective:
  paste
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 10
  Number of lines: 1
  ##############################################################################
  <%@paste%>
  [1] "string"
  attr(,"class")
  [1] "RspStringDirective"   "RspVariableDirective" "RspDirective"        
  [4] "RspConstruct"         "RspObject"            "character"           
  RspStringDirective:
  string
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 11
  Number of lines: 1
  ##############################################################################
  <%@string%>
  character(0)
  attr(,"class")
  [1] "RspText"      "RspConstruct" "RspObject"    "character"   
  RspText:
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 0
  Number of lines: 0
  ##############################################################################
  
  [1] "unknown"
  attr(,"class")
  [1] "RspUnknownDirective" "RspDirective"        "RspConstruct"       
  [4] "RspObject"           "character"          
  RspUnknownDirective:
  unknown
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 12
  Number of lines: 1
  ##############################################################################
  <%@unknown%>
  [1] "unparsed"
  attr(,"class")
  [1] "RspUnparsedDirective" "RspDirective"         "RspConstruct"        
  [4] "RspObject"            "character"           
  RspUnparsedDirective:
  unparsed
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 0
  Number of lines: 0
  ##############################################################################
  
  character(0)
  attr(,"class")
  [1] "RspUnparsedExpression" "RspExpression"         "RspConstruct"         
  [4] "RspObject"             "character"            
  RspUnparsedExpression:
  [1] "variable"
  attr(,"class")
  [1] "RspVariableDirective" "RspDirective"         "RspConstruct"        
  [4] "RspObject"            "character"           
  RspVariableDirective:
  variable
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 13
  Number of lines: 1
  ##############################################################################
  <%@variable%>
  character(0)
  attr(,"class")
  [1] "RspVoid"      "RspConstruct" "RspObject"    "character"   
  RspVoid:
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 0
  Number of lines: 0
  ##############################################################################
  
  > 
  > d <- RspConstruct()
  > print(d)
  character(0)
  attr(,"class")
  [1] "RspConstruct" "RspObject"    "character"   
  RspConstruct:
  > 
  > d <- RspComment()
  > print(d)
  character(0)
  attr(,"class")
  [1] "RspComment"   "RspConstruct" "RspObject"    "character"   
  RspComment:
  > 
  > d <- RspText()
  > print(d)
  character(0)
  attr(,"class")
  [1] "RspText"      "RspConstruct" "RspObject"    "character"   
  RspText:
  > 
  > d <- RspVoid()
  > print(d)
  character(0)
  attr(,"class")
  [1] "RspVoid"      "RspConstruct" "RspObject"    "character"   
  RspVoid:
  > 
  > d <- RspDirective()
  > print(d)
  character(0)
  attr(,"class")
  [1] "RspDirective" "RspConstruct" "RspObject"    "character"   
  RspDirective:
  > 
  > d <- RspCopyDirective()
  > print(d)
  [1] "copy"
  attr(,"class")
  [1] "RspCopyDirective" "RspCutDirective"  "RspDirective"     "RspConstruct"    
  [5] "RspObject"        "character"       
  RspCopyDirective:
  copy
  > 
  > d <- RspEndcopyDirective()
  > print(d)
  [1] "endcopy"
  attr(,"class")
  [1] "RspEndcopyDirective" "RspEndcutDirective"  "RspDirective"       
  [4] "RspConstruct"        "RspObject"           "character"          
  RspEndcopyDirective:
  endcopy
  > 
  > d <- RspCutDirective()
  > print(d)
  [1] "cut"
  attr(,"class")
  [1] "RspCutDirective" "RspDirective"    "RspConstruct"    "RspObject"      
  [5] "character"      
  RspCutDirective:
  cut
  > 
  > d <- RspEndcutDirective()
  > print(d)
  [1] "endcut"
  attr(,"class")
  [1] "RspEndcutDirective" "RspDirective"       "RspConstruct"      
  [4] "RspObject"          "character"         
  RspEndcutDirective:
  endcut
  > 
  > d <- RspPasteDirective()
  > print(d)
  [1] "paste"
  attr(,"class")
  [1] "RspPasteDirective" "RspDirective"      "RspConstruct"     
  [4] "RspObject"         "character"        
  RspPasteDirective:
  paste
  > 
  > d <- RspExpression()
  > print(d)
  character(0)
  attr(,"class")
  [1] "RspExpression" "RspConstruct"  "RspObject"     "character"    
  RspExpression:
  > 
  > d <- RspCode()
  > print(d)
  character(0)
  attr(,"class")
  [1] "RspCode"       "RspExpression" "RspConstruct"  "RspObject"    
  [5] "character"    
  attr(,"echo")
  [1] FALSE
  RspCode:
  > 
  > d <- RspCodeChunk()
  > print(d)
  character(0)
  attr(,"class")
  [1] "RspCodeChunk"  "RspCode"       "RspExpression" "RspConstruct" 
  [5] "RspObject"     "character"    
  attr(,"echo")
  [1] FALSE
  attr(,"return")
  [1] FALSE
  RspCodeChunk:
  > 
  > proc.time()
     user  system elapsed 
     0.89    0.18    1.03 
Running the tests in 'tests/RspString.R' failed.
Complete output:
  > library("R.rsp")
  R.rsp v0.46.0 (2024-02-17 18:30:02 UTC) successfully loaded. See ?R.rsp for help.
  > 
  > s <- RspString()
  > print(s)
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 0
  Number of lines: 0
  ##############################################################################
  
  > 
  > d <- RspDocument()
  > print(d)
  RspDocument:
  Source: NA
  Total number of RSP constructs: 0
  Content type: NA
  > 
  > proc.time()
     user  system elapsed 
     0.34    0.04    0.37 
Running the tests in 'tests/compileAsciiDoc.R' failed.
Complete output:
  > library("R.rsp")
  R.rsp v0.46.0 (2024-02-17 18:30:02 UTC) successfully loaded. See ?R.rsp for help.
  > library("R.utils") # copyDirectory() and Arguments
  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.26.0 (2024-01-24 05:12:50 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.12.3 (2023-11-18 01:00: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
  
  > 
  > path <- system.file(package="R.rsp")
  > path <- file.path(path, "rsp_LoremIpsum")
  > pathname <- file.path(path, "LoremIpsum.asciidoc.txt")
  > print(pathname)
  [1] "D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.asciidoc.txt"
  > 
  > if (Sys.getenv("_R_CHECK_FULL_") != "") {
  +   if (isCapableOf(R.rsp, "asciidoc")) {
  +     outPath <- file.path("LoremIpsum", "asciidoc.txt")
  +     copyDirectory(file.path(path, "figures"), file.path(outPath, "figures"))
  +     pathnameR <- compileAsciiDoc(pathname, outPath=outPath, verbose=-10)
  +     print(pathnameR)
  +     pathnameR <- Arguments$getReadablePathname(pathnameR)
  +   }
  + }
  > 
  > proc.time()
     user  system elapsed 
     0.32    0.09    0.40 
Running the tests in 'tests/compileKnitr.R' failed.
Complete output:
  > library("R.rsp")
  R.rsp v0.46.0 (2024-02-17 18:30:02 UTC) successfully loaded. See ?R.rsp for help.
  > library("R.utils") # Arguments
  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.26.0 (2024-01-24 05:12:50 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.12.3 (2023-11-18 01:00: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
  
  > 
  > path <- system.file("rsp_LoremIpsum", package="R.rsp")
  > pathname <- file.path(path, "LoremIpsum.knitr.Rnw")
  > print(pathname)
  [1] "D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.knitr.Rnw"
  > 
  > if (Sys.getenv("_R_CHECK_FULL_") != "") {
  +   if (isCapableOf(R.rsp, "knitr")) {
  +     outPath <- file.path("LoremIpsum", "knitr.Rnw")
  +     pathnameR <- compileKnitr(pathname, outPath=outPath, verbose=-10)
  +     print(pathnameR)
  +     pathnameR <- Arguments$getReadablePathname(pathnameR)
  +   }
  + }
  > 
  > proc.time()
     user  system elapsed 
     0.26    0.17    0.42 
Running the tests in 'tests/compileMarkdown.R' failed.
Complete output:
  > library("R.rsp")
  R.rsp v0.46.0 (2024-02-17 18:30:02 UTC) successfully loaded. See ?R.rsp for help.
  > library("R.utils") # Arguments
  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.26.0 (2024-01-24 05:12:50 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.12.3 (2023-11-18 01:00: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
  
  > 
  > path <- system.file("rsp_LoremIpsum", package="R.rsp")
  > pathname <- file.path(path, "LoremIpsum.md")
  > print(pathname)
  [1] "D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.md"
  > 
  > if (Sys.getenv("_R_CHECK_FULL_") != "") {
  +   if (isCapableOf(R.rsp, "markdown")) {
  +     outPath <- file.path("LoremIpsum", "md")
  +     pathnameR <- compileMarkdown(pathname, outPath=outPath, verbose=-10)
  +     print(pathnameR)
  +     pathnameR <- Arguments$getReadablePathname(pathnameR)
  +   }
  + }
  > 
  > proc.time()
     user  system elapsed 
     0.23    0.17    0.40 
Running the tests in 'tests/compileRnw.R' failed.
Complete output:
  > library("R.rsp")
  R.rsp v0.46.0 (2024-02-17 18:30:02 UTC) successfully loaded. See ?R.rsp for help.
  > library("R.utils") # Arguments
  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.26.0 (2024-01-24 05:12:50 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.12.3 (2023-11-18 01:00: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
  
  > 
  > # A knitr Rnw file
  > path <- system.file("rsp_LoremIpsum", package="R.rsp")
  > pathname <- file.path(path, "LoremIpsum.knitr.Rnw")
  > print(pathname)
  [1] "D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.knitr.Rnw"
  > 
  > if (Sys.getenv("_R_CHECK_FULL_") != "") {
  +   outPath <- file.path("LoremIpsum", "knitr.Rnw-auto")
  +   pathnameR <- compileRnw(pathname, outPath=outPath, verbose=-10)
  +   print(pathnameR)
  +   pathnameR <- Arguments$getReadablePathname(pathnameR)
  + }
  > 
  > 
  > # A Sweave Rnw file
  > path <- system.file("rsp_LoremIpsum", package="R.rsp")
  > pathname <- file.path(path, "LoremIpsum.Rnw")
  > print(pathname)
  [1] "D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.Rnw"
  > 
  > if (Sys.getenv("_R_CHECK_FULL_") != "") {
  +   outPath <- file.path("LoremIpsum", "Rnw-auto")
  +   pathnameR <- compileRnw(pathname, outPath=outPath, verbose=-10)
  +   print(pathnameR)
  +   pathnameR <- Arguments$getReadablePathname(pathnameR)
  + }
  > 
  > proc.time()
     user  system elapsed 
     0.39    0.07    0.43 
Running the tests in 'tests/compileSweave.R' failed.
Complete output:
  > library("R.rsp")
  R.rsp v0.46.0 (2024-02-17 18:30:02 UTC) successfully loaded. See ?R.rsp for help.
  > library("R.utils") # Arguments
  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.26.0 (2024-01-24 05:12:50 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.12.3 (2023-11-18 01:00: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
  
  > 
  > path <- system.file("rsp_LoremIpsum", package="R.rsp")
  > pathname <- file.path(path, "LoremIpsum.Rnw")
  > print(pathname)
  [1] "D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_LoremIpsum/LoremIpsum.Rnw"
  > 
  > if (Sys.getenv("_R_CHECK_FULL_") != "") {
  +   outPath <- file.path("LoremIpsum", "Rnw")
  +   pathnameR <- compileSweave(pathname, outPath=outPath, verbose=-10)
  +   print(pathnameR)
  +   pathnameR <- Arguments$getReadablePathname(pathnameR)
  + }
  > 
  > proc.time()
     user  system elapsed 
     0.35    0.10    0.45 
Running the tests in 'tests/environments,functions.R' failed.
Complete output:
  > library("R.rsp")
  R.rsp v0.46.0 (2024-02-17 18:30:02 UTC) successfully loaded. See ?R.rsp for help.
  > 
  > ## Report template
  > report <- function() {
  +   cat("Report:\n")
  +   cat(sprintf("a=%g\n", a))
  +   cat("------\n")
  + } # report()
  > 
  > 
  > ## 1. Generate report()
  > a <- 1
  > s <- rstring(report)
  > cat(s)
  Report:
  a=1
  ------
  > a <- 2
  > rcat(report)
  Report:
  a=2
  ------
  > a <- 3
  > dummy <- rfile(report, output="")
  Report:
  a=3
  ------
  > 
  > 
  > ## 2. Generate report() in custom environment
  > env <- new.env()
  > env$a <- 1
  > s <- rstring(report, envir=env)
  > cat(s)
  Report:
  a=1
  ------
  > 
  > env$a <- 2
  > rcat(report, envir=env)
  Report:
  a=2
  ------
  > 
  > env$a <- 3
  > dummy <- rfile(report, output="", envir=env)
  Report:
  a=3
  ------
  > 
  > 
  > 
  > ## 3. Generate report() within another function
  > foo <- function() {
  +   a <- 1
  +   s <- rstring(report)
  +   cat(s)
  +   a <- 2
  +   rcat(report)
  +   a <- 3
  +   dummy <- rfile(report, output="")
  + } # foo()
  > 
  > foo()
  Report:
  a=1
  ------
  Report:
  a=2
  ------
  Report:
  a=3
  ------
  > 
  > proc.time()
     user  system elapsed 
     0.37    0.14    0.51 
Running the tests in 'tests/rcat.R' failed.
Complete output:
  > library("R.rsp")
  R.rsp v0.46.0 (2024-02-17 18:30:02 UTC) successfully loaded. See ?R.rsp for help.
  > 
  > rcat("A random integer in [1,100]: <%=sample(1:100, size=1)%>\n")
  A random integer in [1,100]: 31
  > 
  > # Passing arguments
  > rcat("A random integer in [1,<%=K%>]: <%=sample(1:K, size=1)%>\n", args=list(K=50))
  A random integer in [1,50]: 5
  > 
  > text <- 'The <%=n <- length(letters)%> letters in the English alphabet are:
  + <% for (i in 1:n) { %>
  + <%=letters[i]%>/<%=LETTERS[i]%><%=if(i < n) ", "-%>
  + <% } %>.\n'
  > rcat(text)
  The 26 letters in the English alphabet are:
  a/A, b/B, c/C, d/D, e/E, f/F, g/G, h/H, i/I, j/J, k/K, l/L, m/M, n/N, o/O, p/P, q/Q, r/R, s/S, t/T, u/U, v/V, w/W, x/X, y/Y, z/Z.
  > 
  > 
  > # Informative syntax error messages
  > text <- '<%={
  + 10 print "Hello world!"
  + 20 goto 10
  + }%>\n'
  > tryCatch({ rcat(text) }, error=function(ex) cat(ex$message))
  RSP code chunk (#1):
  <%= {
  10 print "Hello world!"
  20 goto 10
  } %>
  does not contain a complete or valid R expression: Error in base::parse(text = codeT): <text>:2:4: unexpected symbol
  1: ({{
  2: 10 print
        ^
  > 
  > 
  > rcat("A random integer in [1,100]: <%=sample(1:100, size=1)%>\n", verbose = TRUE)
  rcat() for default...
   Length of RSP string: 56
   rcat() for RspString...
    Buffered: TRUE
    Type of output: RspStringProduct
    Arguments:
     chr "*"
    Result:
     'RspStringProduct' chr "A random integer in [1,100]: 41\n"
     - attr(*, "verbose")= - attr(*, "type")= chr NA
     - attr(*, "metadata")= list()
    Outputting...
     Output: <stdout>
     Appending: FALSE
     String: (nchars = 32) 'A random integer in [1,100]: 41
  '
  A random integer in [1,100]: 41
    Outputting...done
   rcat() for RspString...done
  rcat() for default...done
  > 
  > 
  > proc.time()
     user  system elapsed 
     0.81    0.14    0.90 
Running the tests in 'tests/rclean.R' failed.
Complete output:
  > library("R.rsp")
  R.rsp v0.46.0 (2024-02-17 18:30:02 UTC) successfully loaded. See ?R.rsp for help.
  > 
  > pathname <- system.file("exData", "slowcounting.txt.rsp", package="R.rsp")
  > rstr <- rclean(pathname, verbose=TRUE)
  rclean() for default...
   Length of RSP string: 61
   rclean() for RspString...
    Parse RSP string to RSP document...
     Parse environment: R_GlobalEnv
     Parsing RSP string...
      Compile until: '*'
      Return as: 'RspDocument'
      Dropping 'empty' RSP comments...
       Length of RSP string before: 61
       No 'empty' RSP comments found.
      Dropping 'empty' RSP comments...done
      Dropping 'paired' RSP comments...
       Length of RSP string before: 61
       No 'paired' RSP comments found.
      Dropping 'paired' RSP comments...done
      Processing RSP preprocessing directives...
       Length of RSP string before: 61
       No RSP preprocessing directives found.
      Processing RSP preprocessing directives...done
      Processing RSP expressions...
       Length of RSP string before: 61
       No RSP expressions found.
      Processing RSP expressions...done
     Parsing RSP string...done
     RspDocument:
     Source: NA
     Total number of RSP constructs: 1
     Number of RspText(s): 1
     Content type: NA
    Parse RSP string to RSP document...done
    rclean() for RspDocument...
     Coerce RSP document to RSP string...
     Coerce RSP document to RSP string...done
    rclean() for RspDocument...done
   rclean() for RspString...done
  rclean() for default...done
  > print(rstr)
  RspString:
  Content type: NA
  Language: NA
  Metadata to available.
  Number of characters: 61
  Number of lines: 1
  ##############################################################################
  D:/RCompile/CRANpkg/lib/4.4/R.rsp/exData/slowcounting.txt.rsp
  > 
  > proc.time()
     user  system elapsed 
     0.34    0.15    0.48 
Running the tests in 'tests/rcode.R' failed.
Complete output:
  > library("R.rsp")
  R.rsp v0.46.0 (2024-02-17 18:30:02 UTC) successfully loaded. See ?R.rsp for help.
  > 
  > # RSP document
  > pathname <- system.file("exData", "slowcounting.txt.rsp", package="R.rsp")
  > 
  > # Compile to RSP source code script file
  > metadata <- list(foo="ABC", bar="123")
  > pathnameR <- rcode(file=pathname, metadata=metadata)
  > print(pathnameR)
  RspFileProduct:
  Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/slowcounting.txt.R
  File size: 2.36 kB (2417 bytes)
  Content type: application/R
  Metadata 'foo': 'ABC'
  Metadata 'bar': '123'
  Has processor: FALSE
  > # Assert correct filename
  > stopifnot(basename(pathnameR) == "slowcounting.txt.R")
  > 
  > 
  > # Compile to RSP source code object
  > metadata <- list(foo="ABC", bar="123")
  > code <- rcode(file=pathname, metadata=metadata, output=RspSourceCode())
  > print(code)
  ## = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
  ## This is a self-contained R script generated from an RSP document.
  ## It may be evaluated using source() as is.
  ##
  ## Metadata:
  ##   'foo': 'ABC'
  ##   'bar': '123'
  ## = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
  
  ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  ## Local RSP utility functions
  ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  ## RSP metadata function
  .rmeta <- list(
    foo = "ABC",
    bar = "123"
  )
  
  rmeta <- function(...) {
    args <- list(...)
    if (length(args) == 0) return(.rmeta)
    names <- names(args)
    if (length(names) > 0) {
      for (name in names) .rmeta[[name]] <<- args[[name]]
    } else {
      names <- unlist(args, use.names=FALSE)
      if (length(names) == 1) .rmeta[[names]] else .rmeta[names]
    }
  }
  
  ## Look up 'base' function once (faster)
  if (getRversion() < "2.15.0") {
    .base_paste <- base::paste
    .base_paste0 <- function(...) .base_paste(..., sep="")
  } else {
    .base_paste0 <- base::paste0
  }
  .base_cat <- base::cat
  
  ## RSP output function
  .rout <- function(x) .base_cat(.base_paste0(x))
  
  ## RSP output function for inline RSP constructs
  .rout0 <- function(x) .base_cat(rpaste(x))
  
  ## The output of inline RSP constructs is controlled by
  ## generic function rpaste().
  rpaste <- function(...) UseMethod("rpaste")
  
  setInlineRsp <- function(class, fun, envir=parent.frame()) {
    name <- sprintf("rpaste.%s", class)
    assign(name, fun, envir=envir)
    ## FIXME: How to register an S3 method at run-time? /HB 2018-04-06
    ## registerS3method("rpaste", class = class, method = name, envir = envir)
  }
  
  ## The default is to coerce to character and collapse without
  ## a separator.  It is possible to override the default in an
  ## RSP code expression.
  setInlineRsp("default", function(x, ...) .base_paste0(x, collapse=""))
  
  ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  ## RSP source code script [BEGIN]
  ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  .rout("Counting:")
  for (i in 1:3) {
  Sys.sleep(0.5)
  .rout(" ")
  .rout0(i)
  }
  .rout(".")
  ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  ## RSP source code script [END]
  ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  > 
  > code <- rcode(file=pathname, metadata=metadata, output=RspSourceCode(), verbose = TRUE)
  rcode() for default...
   Input file: D:/RCompile/CRANpkg/lib/4.4/R.rsp/exData/slowcounting.txt.rsp
   Length of RSP string: 72
   rcode() for RspString...
    Parse RSP string to RSP document...
     Parse environment: R_GlobalEnv
     Parsing RSP string...
      Compile until: '*'
      Return as: 'RspDocument'
      Dropping 'empty' RSP comments...
       Length of RSP string before: 72
       RspDocument:
       Source: D:/RCompile/CRANpkg/lib/4.4/R.rsp/exData/slowcounting.txt.rsp
       Total number of RSP constructs: 3
       Number of RspComment(s): 1
       Number of RspText(s): 2
       Content type: NA
       Metadata 'foo': 'ABC'
       Metadata 'bar': '123'
       RspDocument:
       Source: D:/RCompile/CRANpkg/lib/4.4/R.rsp/exData/slowcounting.txt.rsp
       Total number of RSP constructs: 1
       Number of RspText(s): 1
       Content type: NA
       Metadata 'foo': 'ABC'
       Metadata 'bar': '123'
       Number of 'empty' RSP comments dropped: 1
       Length of RSP string after: 67
      Dropping 'empty' RSP comments...done
      Dropping 'paired' RSP comments...
       Length of RSP string before: 67
       No 'paired' RSP comments found.
      Dropping 'paired' RSP comments...done
      Processing RSP preprocessing directives...
       Length of RSP string before: 67
       No RSP preprocessing directives found.
      Processing RSP preprocessing directives...done
      Processing RSP expressions...
       Length of RSP string before: 67
       Number of (unparsed) RSP expressions found: 4
       Length of RSP string after: 60
      Processing RSP expressions...done
     Parsing RSP string...done
     RspDocument:
     Source: D:/RCompile/CRANpkg/lib/4.4/R.rsp/exData/slowcounting.txt.rsp
     Total number of RSP constructs: 7
     Number of RspCode(s): 3
     Number of RspCodeChunk(s): 1
     Number of RspText(s): 3
     Content type: NA
     Metadata 'foo': 'ABC'
     Metadata 'bar': '123'
    Parse RSP string to RSP document...done
    rcode() for RspDocument...
     Coerce RSP document to source code...
      Language: R
      Generated source code:...
       ## = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
        ## This is a self-contained R script generated from an RSP document.
        ## It may be evaluated using source() as is.
        ##
        ## Metadata:
        ##   'foo': 'ABC'
        ##   'bar': '123'
        ## = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
        
        ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        
        [...]
        
        .rout("Counting:")
        for (i in 1:3) {
        Sys.sleep(0.5)
        .rout(" ")
        .rout0(i)
        }
        .rout(".")
        ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        ## RSP source code script [END]
        ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Generated source code:...done
     Coerce RSP document to source code...done
    rcode() for RspDocument...done
   rcode() for RspString...done
  rcode() for default...done
  > print(code)
  ## = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
  ## This is a self-contained R script generated from an RSP document.
  ## It may be evaluated using source() as is.
  ##
  ## Metadata:
  ##   'foo': 'ABC'
  ##   'bar': '123'
  ## = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
  
  ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  ## Local RSP utility functions
  ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  ## RSP metadata function
  .rmeta <- list(
    foo = "ABC",
    bar = "123"
  )
  
  rmeta <- function(...) {
    args <- list(...)
    if (length(args) == 0) return(.rmeta)
    names <- names(args)
    if (length(names) > 0) {
      for (name in names) .rmeta[[name]] <<- args[[name]]
    } else {
      names <- unlist(args, use.names=FALSE)
      if (length(names) == 1) .rmeta[[names]] else .rmeta[names]
    }
  }
  
  ## Look up 'base' function once (faster)
  if (getRversion() < "2.15.0") {
    .base_paste <- base::paste
    .base_paste0 <- function(...) .base_paste(..., sep="")
  } else {
    .base_paste0 <- base::paste0
  }
  .base_cat <- base::cat
  
  ## RSP output function
  .rout <- function(x) .base_cat(.base_paste0(x))
  
  ## RSP output function for inline RSP constructs
  .rout0 <- function(x) .base_cat(rpaste(x))
  
  ## The output of inline RSP constructs is controlled by
  ## generic function rpaste().
  rpaste <- function(...) UseMethod("rpaste")
  
  setInlineRsp <- function(class, fun, envir=parent.frame()) {
    name <- sprintf("rpaste.%s", class)
    assign(name, fun, envir=envir)
    ## FIXME: How to register an S3 method at run-time? /HB 2018-04-06
    ## registerS3method("rpaste", class = class, method = name, envir = envir)
  }
  
  ## The default is to coerce to character and collapse without
  ## a separator.  It is possible to override the default in an
  ## RSP code expression.
  setInlineRsp("default", function(x, ...) .base_paste0(x, collapse=""))
  
  ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  ## RSP source code script [BEGIN]
  ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  .rout("Counting:")
  for (i in 1:3) {
  Sys.sleep(0.5)
  .rout(" ")
  .rout0(i)
  }
  .rout(".")
  ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  ## RSP source code script [END]
  ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  > 
  > proc.time()
     user  system elapsed 
     0.57    0.12    0.68 
Running the tests in 'tests/rcompile.R' failed.
Complete output:
  > library("R.rsp")
  R.rsp v0.46.0 (2024-02-17 18:30:02 UTC) successfully loaded. See ?R.rsp for help.
  > library("R.utils") # Arguments
  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.26.0 (2024-01-24 05:12:50 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.12.3 (2023-11-18 01:00: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 <- Arguments$getVerbose(TRUE)
  > 
  > path <- system.file(package="R.rsp")
  > path <- file.path(path, "rsp_tests")
  > 
  > pathname <- file.path(path, "trimming-1.txt.rsp")
  > 
  > verbose && enter(verbose, "rcompile()")
  rcompile()...
  [1] TRUE
  > 
  > untils <- rev(eval(formals(R.rsp:::parseDocument.RspParser)$until))
  > untils <- setdiff(untils, "*")
  > 
  > for (kk in seq_along(untils)) {
  +   until <- untils[kk]
  +   verbose && enter(verbose, sprintf("Until #%d ('%s') of %d", kk, until, length(untils)))
  +   s <- rcompile(file=pathname, until=until, output=RspString(), verbose = TRUE)
  +   verbose && ruler(verbose)
  +   cat(s)
  +   verbose && ruler(verbose)
  +   verbose && exit(verbose)
  + }
   Until #1 ('comments') of 4...
  rcompile() for default...
   Compile until: 'comments'
   Workdir: .
   Output: 
   Input: D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_tests/trimming-1.txt.rsp
   Length of RSP string: 1098
   rcompile() for RspString...
    Compile until: 'comments'
    Parse RSP string...
     Parse environment: R_GlobalEnv
     Parsing RSP string...
      Compile until: 'comments'
      Return as: 'RspString'
      Dropping 'empty' RSP comments...
       Length of RSP string before: 1098
       No 'empty' RSP comments found.
      Dropping 'empty' RSP comments...done
     Parsing RSP string...done
     RspString:
     Content type: NA
     Language: NA
     Metadata to available.
     Number of characters: 1098
     Number of lines: 33
     ##############################################################################
     
     <%-- Assign a preprocessor variable a value from an R option.
          If not available, a default value is used. --%>
     <%@string version="NA" default="2.0"%>
     
     <%-- Include the value of the preprocessor variable to the document. --%>
     Current version is <%@include content="x86_64-w64-mingw32"%> (at preprocessing).
     
     <%-- Assign the value of the preprocessor variable to an R variable.
          Note how the preprocessor directive is inside a code expression --%>
     <%
     # This is an RSP code section
     ver <- "<%@include content="x86_64-w64-mingw32"%>"
     %>
     Current version is <%=ver%> (at runtime).
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifeq version="1.0"%>
     <%@foo version="1.0"%>
     v1.0!
     <%@else%>
     Not v1.0, but v<%=ver%>.
     <%@endif #@ifeq version="1.0" %>
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifneq version="2.0"%>
     <%@foo version="2.0"%>
     Not v1.0!
     <%@else%>
     Not "not v1.0", but v<%=ver%>.
     <%@endif %>
     
      RspString:
     Content type: NA
     Language: NA
     Metadata to available.
     Number of characters: 1098
     Number of lines: 33
     ##############################################################################
     
     <%-- Assign a preprocessor variable a value from an R option.
          If not available, a default value is used. --%>
     <%@string version="NA" default="2.0"%>
     
     <%-- Include the value of the preprocessor variable to the document. --%>
     Current version is <%@include content="x86_64"%> (at preprocessing).
     
     <%-- Assign the value of the preprocessor variable to an R variable.
          Note how the preprocessor directive is inside a code expression --%>
     <%
     # This is an RSP code section
     ver <- "<%@include content="x86_64"%>"
     %>
     Current version is <%=ver%> (at runtime).
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifeq version="1.0"%>
     <%@foo version="1.0"%>
     v1.0!
     <%@else%>
     Not v1.0, but v<%=ver%>.
     <%@endif #@ifeq version="1.0" %>
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifneq version="2.0"%>
     <%@foo version="2.0"%>
     Not v1.0!
     <%@else%>
     Not "not v1.0", but v<%=ver%>.
     <%@endif %>
     
      RspString:
     Content type: NA
     Language: NA
     Metadata to available.
     Number of characters: 1098
     Number of lines: 33
     ##############################################################################
     
     <%-- Assign a preprocessor variable a value from an R option.
          If not available, a default value is used. --%>
     <%@string version="NA" default="2.0"%>
     
     <%-- Include the value of the preprocessor variable to the document. --%>
     Current version is <%@include content="mingw32"%> (at preprocessing).
     
     <%-- Assign the value of the preprocessor variable to an R variable.
          Note how the preprocessor directive is inside a code expression --%>
     <%
     # This is an RSP code section
     ver <- "<%@include content="mingw32"%>"
     %>
     Current version is <%=ver%> (at runtime).
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifeq version="1.0"%>
     <%@foo version="1.0"%>
     v1.0!
     <%@else%>
     Not v1.0, but v<%=ver%>.
     <%@endif #@ifeq version="1.0" %>
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifneq version="2.0"%>
     <%@foo version="2.0"%>
     Not v1.0!
     <%@else%>
     Not "not v1.0", but v<%=ver%>.
     <%@endif %>
     
      RspString:
     Content type: NA
     Language: NA
     Metadata to available.
     Number of characters: 1098
     Number of lines: 33
     ##############################################################################
     
     <%-- Assign a preprocessor variable a value from an R option.
          If not available, a default value is used. --%>
     <%@string version="NA" default="2.0"%>
     
     <%-- Include the value of the preprocessor variable to the document. --%>
     Current version is <%@include content="ucrt"%> (at preprocessing).
     
     <%-- Assign the value of the preprocessor variable to an R variable.
          Note how the preprocessor directive is inside a code expression --%>
     <%
     # This is an RSP code section
     ver <- "<%@include content="ucrt"%>"
     %>
     Current version is <%=ver%> (at runtime).
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifeq version="1.0"%>
     <%@foo version="1.0"%>
     v1.0!
     <%@else%>
     Not v1.0, but v<%=ver%>.
     <%@endif #@ifeq version="1.0" %>
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifneq version="2.0"%>
     <%@foo version="2.0"%>
     Not v1.0!
     <%@else%>
     Not "not v1.0", but v<%=ver%>.
     <%@endif %>
     
      RspString:
     Content type: NA
     Language: NA
     Metadata to available.
     Number of characters: 1098
     Number of lines: 33
     ##############################################################################
     
     <%-- Assign a preprocessor variable a value from an R option.
          If not available, a default value is used. --%>
     <%@string version="NA" default="2.0"%>
     
     <%-- Include the value of the preprocessor variable to the document. --%>
     Current version is <%@include content="x86_64, mingw32"%> (at preprocessing).
     
     <%-- Assign the value of the preprocessor variable to an R variable.
          Note how the preprocessor directive is inside a code expression --%>
     <%
     # This is an RSP code section
     ver <- "<%@include content="x86_64, mingw32"%>"
     %>
     Current version is <%=ver%> (at runtime).
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifeq version="1.0"%>
     <%@foo version="1.0"%>
     v1.0!
     <%@else%>
     Not v1.0, but v<%=ver%>.
     <%@endif #@ifeq version="1.0" %>
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifneq version="2.0"%>
     <%@foo version="2.0"%>
     Not v1.0!
     <%@else%>
     Not "not v1.0", but v<%=ver%>.
     <%@endif %>
     
      RspString:
     Content type: NA
     Language: NA
     Metadata to available.
     Number of characters: 1098
     Number of lines: 33
     ##############################################################################
     
     <%-- Assign a preprocessor variable a value from an R option.
          If not available, a default value is used. --%>
     <%@string version="NA" default="2.0"%>
     
     <%-- Include the value of the preprocessor variable to the document. --%>
     Current version is <%@include content="Under development (unstable)"%> (at preprocessing).
     
     <%-- Assign the value of the preprocessor variable to an R variable.
          Note how the preprocessor directive is inside a code expression --%>
     <%
     # This is an RSP code section
     ver <- "<%@include content="Under development (unstable)"%>"
     %>
     Current version is <%=ver%> (at runtime).
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifeq version="1.0"%>
     <%@foo version="1.0"%>
     v1.0!
     <%@else%>
     Not v1.0, but v<%=ver%>.
     <%@endif #@ifeq version="1.0" %>
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifneq version="2.0"%>
     <%@foo version="2.0"%>
     Not v1.0!
     <%@else%>
     Not "not v1.0", but v<%=ver%>.
     <%@endif %>
     
      RspString:
     Content type: NA
     Language: NA
     Metadata to available.
     Number of characters: 1098
     Number of lines: 33
     ##############################################################################
     
     <%-- Assign a preprocessor variable a value from an R option.
          If not available, a default value is used. --%>
     <%@string version="NA" default="2.0"%>
     
     <%-- Include the value of the preprocessor variable to the document. --%>
     Current version is <%@include content="4"%> (at preprocessing).
     
     <%-- Assign the value of the preprocessor variable to an R variable.
          Note how the preprocessor directive is inside a code expression --%>
     <%
     # This is an RSP code section
     ver <- "<%@include content="4"%>"
     %>
     Current version is <%=ver%> (at runtime).
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifeq version="1.0"%>
     <%@foo version="1.0"%>
     v1.0!
     <%@else%>
     Not v1.0, but v<%=ver%>.
     <%@endif #@ifeq version="1.0" %>
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifneq version="2.0"%>
     <%@foo version="2.0"%>
     Not v1.0!
     <%@else%>
     Not "not v1.0", but v<%=ver%>.
     <%@endif %>
     
      RspString:
     Content type: NA
     Language: NA
     Metadata to available.
     Number of characters: 1098
     Number of lines: 33
     ##############################################################################
     
     <%-- Assign a preprocessor variable a value from an R option.
          If not available, a default value is used. --%>
     <%@string version="NA" default="2.0"%>
     
     <%-- Include the value of the preprocessor variable to the document. --%>
     Current version is <%@include content="4.0"%> (at preprocessing).
     
     <%-- Assign the value of the preprocessor variable to an R variable.
          Note how the preprocessor directive is inside a code expression --%>
     <%
     # This is an RSP code section
     ver <- "<%@include content="4.0"%>"
     %>
     Current version is <%=ver%> (at runtime).
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifeq version="1.0"%>
     <%@foo version="1.0"%>
     v1.0!
     <%@else%>
     Not v1.0, but v<%=ver%>.
     <%@endif #@ifeq version="1.0" %>
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifneq version="2.0"%>
     <%@foo version="2.0"%>
     Not v1.0!
     <%@else%>
     Not "not v1.0", but v<%=ver%>.
     <%@endif %>
     
      RspString:
     Content type: NA
     Language: NA
     Metadata to available.
     Number of characters: 1098
     Number of lines: 33
     ##############################################################################
     
     <%-- Assign a preprocessor variable a value from an R option.
          If not available, a default value is used. --%>
     <%@string version="NA" default="2.0"%>
     
     <%-- Include the value of the preprocessor variable to the document. --%>
     Current version is <%@include content="2024"%> (at preprocessing).
     
     <%-- Assign the value of the preprocessor variable to an R variable.
          Note how the preprocessor directive is inside a code expression --%>
     <%
     # This is an RSP code section
     ver <- "<%@include content="2024"%>"
     %>
     Current version is <%=ver%> (at runtime).
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifeq version="1.0"%>
     <%@foo version="1.0"%>
     v1.0!
     <%@else%>
     Not v1.0, but v<%=ver%>.
     <%@endif #@ifeq version="1.0" %>
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifneq version="2.0"%>
     <%@foo version="2.0"%>
     Not v1.0!
     <%@else%>
     Not "not v1.0", but v<%=ver%>.
     <%@endif %>
     
      RspString:
     Content type: NA
     Language: NA
     Metadata to available.
     Number of characters: 1098
     Number of lines: 33
     ##############################################################################
     
     <%-- Assign a preprocessor variable a value from an R option.
          If not available, a default value is used. --%>
     <%@string version="NA" default="2.0"%>
     
     <%-- Include the value of the preprocessor variable to the document. --%>
     Current version is <%@include content="03"%> (at preprocessing).
     
     <%-- Assign the value of the preprocessor variable to an R variable.
          Note how the preprocessor directive is inside a code expression --%>
     <%
     # This is an RSP code section
     ver <- "<%@include content="03"%>"
     %>
     Current version is <%=ver%> (at runtime).
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifeq version="1.0"%>
     <%@foo version="1.0"%>
     v1.0!
     <%@else%>
     Not v1.0, but v<%=ver%>.
     <%@endif #@ifeq version="1.0" %>
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifneq version="2.0"%>
     <%@foo version="2.0"%>
     Not v1.0!
     <%@else%>
     Not "not v1.0", but v<%=ver%>.
     <%@endif %>
     
      RspString:
     Content type: NA
     Language: NA
     Metadata to available.
     Number of characters: 1098
     Number of lines: 33
     ##############################################################################
     
     <%-- Assign a preprocessor variable a value from an R option.
          If not available, a default value is used. --%>
     <%@string version="NA" default="2.0"%>
     
     <%-- Include the value of the preprocessor variable to the document. --%>
     Current version is <%@include content="22"%> (at preprocessing).
     
     <%-- Assign the value of the preprocessor variable to an R variable.
          Note how the preprocessor directive is inside a code expression --%>
     <%
     # This is an RSP code section
     ver <- "<%@include content="22"%>"
     %>
     Current version is <%=ver%> (at runtime).
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifeq version="1.0"%>
     <%@foo version="1.0"%>
     v1.0!
     <%@else%>
     Not v1.0, but v<%=ver%>.
     <%@endif #@ifeq version="1.0" %>
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifneq version="2.0"%>
     <%@foo version="2.0"%>
     Not v1.0!
     <%@else%>
     Not "not v1.0", but v<%=ver%>.
     <%@endif %>
     
      RspString:
     Content type: NA
     Language: NA
     Metadata to available.
     Number of characters: 1098
     Number of lines: 33
     ##############################################################################
     
     <%-- Assign a preprocessor variable a value from an R option.
          If not available, a default value is used. --%>
     <%@string version="NA" default="2.0"%>
     
     <%-- Include the value of the preprocessor variable to the document. --%>
     Current version is <%@include content="86169"%> (at preprocessing).
     
     <%-- Assign the value of the preprocessor variable to an R variable.
          Note how the preprocessor directive is inside a code expression --%>
     <%
     # This is an RSP code section
     ver <- "<%@include content="86169"%>"
     %>
     Current version is <%=ver%> (at runtime).
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifeq version="1.0"%>
     <%@foo version="1.0"%>
     v1.0!
     <%@else%>
     Not v1.0, but v<%=ver%>.
     <%@endif #@ifeq version="1.0" %>
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifneq version="2.0"%>
     <%@foo version="2.0"%>
     Not v1.0!
     <%@else%>
     Not "not v1.0", but v<%=ver%>.
     <%@endif %>
     
      RspString:
     Content type: NA
     Language: NA
     Metadata to available.
     Number of characters: 1098
     Number of lines: 33
     ##############################################################################
     
     <%-- Assign a preprocessor variable a value from an R option.
          If not available, a default value is used. --%>
     <%@string version="NA" default="2.0"%>
     
     <%-- Include the value of the preprocessor variable to the document. --%>
     Current version is <%@include content="R"%> (at preprocessing).
     
     <%-- Assign the value of the preprocessor variable to an R variable.
          Note how the preprocessor directive is inside a code expression --%>
     <%
     # This is an RSP code section
     ver <- "<%@include content="R"%>"
     %>
     Current version is <%=ver%> (at runtime).
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifeq version="1.0"%>
     <%@foo version="1.0"%>
     v1.0!
     <%@else%>
     Not v1.0, but v<%=ver%>.
     <%@endif #@ifeq version="1.0" %>
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifneq version="2.0"%>
     <%@foo version="2.0"%>
     Not v1.0!
     <%@else%>
     Not "not v1.0", but v<%=ver%>.
     <%@endif %>
     
      RspString:
     Content type: NA
     Language: NA
     Metadata to available.
     Number of characters: 1098
     Number of lines: 33
     ##############################################################################
     
     <%-- Assign a preprocessor variable a value from an R option.
          If not available, a default value is used. --%>
     <%@string version="NA" default="2.0"%>
     
     <%-- Include the value of the preprocessor variable to the document. --%>
     Current version is <%@include content="R Under development (unstable) (2024-03-22 r86169 ucrt)"%> (at preprocessing).
     
     <%-- Assign the value of the preprocessor variable to an R variable.
          Note how the preprocessor directive is inside a code expression --%>
     <%
     # This is an RSP code section
     ver <- "<%@include content="R Under development (unstable) (2024-03-22 r86169 ucrt)"%>"
     %>
     Current version is <%=ver%> (at runtime).
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifeq version="1.0"%>
     <%@foo version="1.0"%>
     v1.0!
     <%@else%>
     Not v1.0, but v<%=ver%>.
     <%@endif #@ifeq version="1.0" %>
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifneq version="2.0"%>
     <%@foo version="2.0"%>
     Not v1.0!
     <%@else%>
     Not "not v1.0", but v<%=ver%>.
     <%@endif %>
     
      RspString:
     Content type: NA
     Language: NA
     Metadata to available.
     Number of characters: 1098
     Number of lines: 33
     ##############################################################################
     
     <%-- Assign a preprocessor variable a value from an R option.
          If not available, a default value is used. --%>
     <%@string version="NA" default="2.0"%>
     
     <%-- Include the value of the preprocessor variable to the document. --%>
     Current version is <%@include content="Unsuffered Consequences"%> (at preprocessing).
     
     <%-- Assign the value of the preprocessor variable to an R variable.
          Note how the preprocessor directive is inside a code expression --%>
     <%
     # This is an RSP code section
     ver <- "<%@include content="Unsuffered Consequences"%>"
     %>
     Current version is <%=ver%> (at runtime).
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifeq version="1.0"%>
     <%@foo version="1.0"%>
     v1.0!
     <%@else%>
     Not v1.0, but v<%=ver%>.
     <%@endif #@ifeq version="1.0" %>
     
     <%-- Include or exclude parts of an RSP document during preprocessing
          conditioned on the value of a preprocessor variable. --%>
     <%@ifneq version="2.0"%>
     <%@foo version="2.0"%>
     Not v1.0!
     <%@else%>
     Not "not v1.0", but v<%=ver%>.
     <%@endif %>
     
    Parse RSP string...done
   rcompile() for RspString...done
  rcompile() for default...done
    -------------------------------------------------------------------------
  
  <%-- Assign a preprocessor variable a value from an R option.
       If not available, a default value is used. --%>
  <%@string version="${'R.rsp/HttpDaemon/RspVersion'}" default="2.0"%>
  
  <%-- Include the value of the preprocessor variable to the document. --%>
  Current version is <%@include content="${version}"%> (at preprocessing).
  
  <%-- Assign the value of the preprocessor variable to an R variable.
       Note how the preprocessor directive is inside a code expression --%>
  <%
  # This is an RSP code section
  ver <- "<%@include content="${version}"%>"
  %>
  Current version is <%=ver%> (at runtime).
  
  <%-- Include or exclude parts of an RSP document during preprocessing
       conditioned on the value of a preprocessor variable. --%>
  <%@ifeq version="1.0"%>
  <%@foo version="1.0"%>
  v1.0!
  <%@else%>
  Not v1.0, but v<%=ver%>.
  <%@endif #@ifeq version="1.0" %>
  
  <%-- Include or exclude parts of an RSP document during preprocessing
       conditioned on the value of a preprocessor variable. --%>
  <%@ifneq version="2.0"%>
  <%@foo version="2.0"%>
  Not v1.0!
  <%@else%>
  Not "not v1.0", but v<%=ver%>.
  <%@endif %>
    -------------------------------------------------------------------------
   Until #1 ('comments') of 4...done
   Until #2 ('directives') of 4...
  rcompile() for default...
   Compile until: 'directives'
   Workdir: .
   Output: 
   Input: D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_tests/trimming-1.txt.rsp
   Length of RSP string: 1098
   rcompile() for RspString...
    Compile until: 'directives'
    Parse RSP string...
     Parse environment: R_GlobalEnv
     Parsing RSP string...
      Compile until: 'directives'
      Return as: 'RspString'
      Dropping 'empty' RSP comments...
       Length of RSP string before: 1098
       No 'empty' RSP comments found.
      Dropping 'empty' RSP comments...done
      Dropping 'paired' RSP comments...
       Length of RSP string before: 1098
       Number of hypens of first comment found: 2
       Number of 'paired' RSP comments dropped: 5
       Length of RSP string after: 500
      Dropping 'paired' RSP comments...done
     Parsing RSP string...done
     RspString:
     Content type: NA
     Language: NA
     Metadata to available.
     Number of characters: 214
     Number of lines: 24
     ##############################################################################
     
     
     
     Current version is  (at preprocessing).
     
     <%
     # This is an RSP code section
     ver <- ""
     %>
     Current version is <%=ver%> (at runtime).
     
     
     
     v1.0!
     
     Not v1.0, but v<%=ver%>.
     
     
     
     
     Not v1.0!
     
     Not "not v1.0", but v<%=ver%>.
     
     
    Parse RSP string...done
   rcompile() for RspString...done
  rcompile() for default...done
    -------------------------------------------------------------------------
  
  
  
  Current version is  (at preprocessing).
  
  <%
  # This is an RSP code section
  ver <- ""
  %>
  Current version is <%=ver%> (at runtime).
  
  
  
  v1.0!
  
  Not v1.0, but v<%=ver%>.
  
  
  
  
  Not v1.0!
  
  Not "not v1.0", but v<%=ver%>.
  
    -------------------------------------------------------------------------
   Until #2 ('directives') of 4...done
   Until #3 ('expressions') of 4...
  rcompile() for default...
   Compile until: 'expressions'
   Workdir: .
   Output: 
   Input: D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_tests/trimming-1.txt.rsp
   Length of RSP string: 1098
   rcompile() for RspString...
    Compile until: 'expressions'
    Parse RSP string...
     Parse environment: R_GlobalEnv
     Parsing RSP string...
      Compile until: 'expressions'
      Return as: 'RspString'
      Dropping 'empty' RSP comments...
       Length of RSP string before: 1098
       No 'empty' RSP comments found.
      Dropping 'empty' RSP comments...done
      Dropping 'paired' RSP comments...
       Length of RSP string before: 1098
       Number of hypens of first comment found: 2
       Number of 'paired' RSP comments dropped: 5
       Length of RSP string after: 500
      Dropping 'paired' RSP comments...done
      Processing RSP preprocessing directives...
       Length of RSP string before: 500
       Number of (unparsed) RSP preprocessing directives found: 11
       Length of RSP string after: 195
      Processing RSP preprocessing directives...done
     Parsing RSP string...done
     RspString:
     Content type: NA
     Language: NA
     Metadata to available.
     Number of characters: 195
     Number of lines: 13
     ##############################################################################
     
     
     Current version is 2.0 (at preprocessing).
     
     <%
     # This is an RSP code section
     ver <- "2.0"
     %>
     Current version is <%=ver%> (at runtime).
     
     Not v1.0, but v<%=ver%>.
     
     Not "not v1.0", but v<%=ver%>.
     
    Parse RSP string...done
   rcompile() for RspString...done
  rcompile() for default...done
    -------------------------------------------------------------------------
  
  
  Current version is 2.0 (at preprocessing).
  
  <%
  # This is an RSP code section
  ver <- "2.0"
  %>
  Current version is <%=ver%> (at runtime).
  
  Not v1.0, but v<%=ver%>.
  
  Not "not v1.0", but v<%=ver%>.
    -------------------------------------------------------------------------
   Until #3 ('expressions') of 4...done
   Until #4 ('end') of 4...
  rcompile() for default...
   Compile until: 'end'
   Workdir: .
   Output: 
   Input: D:/RCompile/CRANpkg/lib/4.4/R.rsp/rsp_tests/trimming-1.txt.rsp
   Length of RSP string: 1098
   rcompile() for RspString...
    Compile until: 'end'
    Parse RSP string...
     Parse environment: R_GlobalEnv
     Parsing RSP string...
      Compile until: 'end'
      Return as: 'RspString'
      Dropping 'empty' RSP comments...
       Length of RSP string before: 1098
       No 'empty' RSP comments found.
      Dropping 'empty' RSP comments...done
      Dropping 'paired' RSP comments...
       Length of RSP string before: 1098
       Number of hypens of first comment found: 2
       Number of 'paired' RSP comments dropped: 5
       Length of RSP string after: 500
      Dropping 'paired' RSP comments...done
      Processing RSP preprocessing directives...
       Length of RSP string before: 500
       Number of (unparsed) RSP preprocessing directives found: 11
       Length of RSP string after: 195
      Processing RSP preprocessing directives...done
      Processing RSP expressions...
       Length of RSP string before: 195
       Number of (unparsed) RSP expressions found: 4
       Length of RSP string after: 192
      Processing RSP expressions...done
     Parsing RSP string...done
     RspString:
     Content type: NA
     Language: NA
     Metadata to available.
     Number of characters: 192
     Number of lines: 10
     ##############################################################################
     
     
     Current version is 2.0 (at preprocessing).
     
     <%# This is an RSP code section
     ver <- "2.0"%>Current version is <%=ver%> (at runtime).
     
     Not v1.0, but v<%=ver%>.
     
     Not "not v1.0", but v<%=ver%>.
     
    Parse RSP string...done
   rcompile() for RspString...done
  rcompile() for default...done
    -------------------------------------------------------------------------
  
  
  Current version is 2.0 (at preprocessing).
  
  <%# This is an RSP code section
  ver <- "2.0"%>Current version is <%=ver%> (at runtime).
  
  Not v1.0, but v<%=ver%>.
  
  Not "not v1.0", but v<%=ver%>.
    -------------------------------------------------------------------------
   Until #4 ('end') of 4...done
  > 
  > verbose && exit(verbose)
  rcompile()...done
  [1] TRUE
  > 
  > proc.time()
     user  system elapsed 
     1.37    0.10    1.46 
Running the tests in 'tests/rfile.R' failed.
Complete output:
  > library("R.rsp")
  R.rsp v0.46.0 (2024-02-17 18:30:02 UTC) successfully loaded. See ?R.rsp for help.
  > 
  > path <- system.file("exData", package="R.rsp")
  > pathname <- rfile("random.txt.rsp", path=path)
  > print(pathname)
  RspFileProduct:
  Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/random.txt
  File size: 33 bytes
  Content type: text/plain
  Has processor: FALSE
  > 
  > lines <- readLines(pathname, warn=FALSE)
  > cat(lines, collapse="\n")
  A random integer in [1,100]: 86 
  > 
  > file.remove(pathname)
  [1] TRUE
  > 
  > 
  > # Passing arguments
  > path <- system.file("exData", package="R.rsp")
  > pathname <- rfile("random-args.txt.rsp", path=path, args=list(K=50))
  > print(pathname)
  RspFileProduct:
  Pathname: d:/Rcompile/CRANpkg/local/4.4/R.rsp.Rcheck/tests/random-args.txt
  File size: 32 bytes
  Content type: text/plain
  Has processor: FALSE
  > 
  > lines <- readLines(pathname, warn=FALSE)
  > cat(lines, collapse="\n")
  A random integer in [1,50]: 22 
  > 
  > file.remove(pathname)
  [1] TRUE
  > 
  > # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
  > # Various host content types
  > # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  > path <- system.file("exData", package="R.rsp")
  > filenames <- list.files(pattern="LoremIpsum.*.rsp$", path=path)
  > for (filename in filenames) {
  +   print(filename)
  +   pathname <- rfile(filename, path=path, verbose = TRUE)
  +   print(pathname)
  +   file.remove(pathname)
  + }
  > 
  > proc.time()
     user  system elapsed 
     0.57    0.12    0.64 
Running the tests in 'tests/wstring.R' failed.
Complete output:
  > library("R.rsp")
  R.rsp v0.46.0 (2024-02-17 18:30:02 UTC) successfully loaded. See ?R.rsp for help.
  > 
  > x <- sqrt(2)
  > strings <- c(character(0L), "", NA_character_, "Hello world!", "x={{x}}", "x^2={{x^2}}")
  > 
  > for (s in strings) {
  +   print(s)
  +   t <- wstring(s)
  +   print(t)
  + }
  [1] ""
  [1] ""
  [1] NA
  [1] "NA"
  [1] "Hello world!"
  [1] "Hello world!"
  [1] "x={{x}}"
  [1] "x=1.4142135623731"
  [1] "x^2={{x^2}}"
  [1] "x^2=2"
  > 
  > t <- wstring(strings)
  > print(t)
                                       NA        Hello world!             x={{x}} 
                   ""                "NA"      "Hello world!" "x=1.4142135623731" 
          x^2={{x^2}} 
              "x^2=2" 
  > 
  > proc.time()
     user  system elapsed 
     0.40    0.06    0.43