Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Reduced verbosity of LaTeX startup message

The results of running:

 `latexPath --version`

Are now filtered through head( ,2) as the first two lines of output from pdftex,
luatex, xetex and texexec (ConTeXt) contain all the pertinent information we
are looking for in bug reports.
  • Loading branch information...
commit 644edc7995576c048fb4c911f40ef61ed18b2151 1 parent 53edaaf
@Sharpie authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  R/zzz.R
2  R/zzz.R
@@ -79,7 +79,7 @@ function(libname, pkgname) {
if( foundLatex ){
packageStartupMessage( checked )
p <- pipe( paste( latexPath, '--version' ) )
- packageStartupMessage( paste( readLines( p ), '\n', sep='' ) , sep='\n' )
+ packageStartupMessage( paste( utils:::head(readLines( p ), 2), '\n', sep='' ) , sep='\n' )
stop("\n\nAn appropriate LaTeX compiler could not be found.\n",
Please sign in to comment.
Something went wrong with that request. Please try again.