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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: Sweave2knitr
> ### Title: Convert Sweave to knitr documents
> ### Aliases: Sweave2knitr
> 
> ### ** Examples
> 
> Sweave2knitr(text = "<<echo=TRUE>>=")  # this is valid
[1] "<<echo=TRUE>>="
> Sweave2knitr(text = "<<png=true>>=")  # dev='png'
capitalizing true/false to TRUE/FALSE:
    * png=true
replacing pdf/jpeg/png/tikz=TRUE with dev='pdf'/'jpeg'/'png'/'tikz':
    * png=TRUE
[1] "<<dev='png'>>="
> Sweave2knitr(text = "<<eps=TRUE, pdf=FALSE, results=tex, width=5, prefix.string=foo>>=")
removing pdf/jpeg/png/eps/tikz=FALSE:
    * eps=TRUE, pdf=FALSE, results=tex, width=5, prefix.string=foo
replacing eps=TRUE with dev='postscript':
    * eps=TRUE, , results=tex, width=5, prefix.string=foo
replacing results=tex with results=asis:
    * dev='postscript', , results=tex, width=5, prefix.string=foo
quoting the results option:
    * dev='postscript', , results=asis, width=5, prefix.string=foo
replacing width/height with fig.width/fig.height:
    * dev='postscript', , results='asis', width=5, prefix.string=foo
replacing prefix.string=foo with fig.path='foo':
    * dev='postscript', , results='asis', fig.width=5,
      prefix.string=foo
[1] "<<dev='postscript', results='asis', fig.width=5, fig.path='foo'>>="
> Sweave2knitr(text = "<<,png=false,fig=TRUE>>=")
capitalizing true/false to TRUE/FALSE:
    * ,png=false,fig=TRUE
removing the unnecessary option fig=TRUE:
    * ,png=FALSE,fig=TRUE
removing pdf/jpeg/png/eps/tikz=FALSE:
    * ,png=FALSE,
[1] "<<>>="
> Sweave2knitr(text = "\\SweaveOpts{echo=false}")
capitalizing true/false to TRUE/FALSE:
    * echo=false
changing \SweaveOpts{} to opts_chunk$set():
    * \SweaveOpts{echo=false}
[1] "\n<<include=FALSE>>=\nlibrary(knitr)\nopts_chunk$set(\necho=FALSE\n)\n@\n"
> Sweave2knitr(text = "\\SweaveInput{hello.Rnw}")
replacing \SweaveInput{...} with <<child='...'>>=:
    * \SweaveInput{hello.Rnw}
[1] "\n<<'child-hello.Rnw', child='hello.Rnw'>>=\n@\n"
> # Sweave example in utils
> testfile = system.file("Sweave", "Sweave-test-1.Rnw", package = "utils")
> Sweave2knitr(testfile, output = "Sweave-test-knitr.Rnw")
capitalizing true/false to TRUE/FALSE:
    * fig=true
removing the unnecessary option fig=TRUE:
    * fig=TRUE
    * fig=TRUE
quoting the results option:
    * results=hide
removing options 'print', 'term', 'prefix':
    * print=TRUE
    * echo=TRUE,print=TRUE
capitalizing true/false to TRUE/FALSE:
    * echo=true
changing \SweaveOpts{} to opts_chunk$set():
    * \SweaveOpts{echo=FALSE}
    * \SweaveOpts{echo=true}
removing extra lines (#n shows line numbers):
    * (#69) @
> knit("Sweave-test-knitr.Rnw")  # or knit2pdf() directly


processing file: Sweave-test-knitr.Rnw
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/stringi/libs/stringi.so':
  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/stringi/libs/stringi.so: failed to map segment from shared object
Calls: knit ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted