testPerl: Test Perl installation and required modules for WriteXLS()

Description Usage Arguments Details Value Note Author(s) See Also

View source: R/testPerl.R

Description

Test Perl installation and required modules for WriteXLS()

Usage

1
  testPerl(perl = "perl", verbose = TRUE)

Arguments

perl

Name of the perl executable to be called.

verbose

Output test result messages.

Details

This function will test your current system to be sure that Perl is installed and if so, whether or not all of the Perl modules required for WriteXLS() are present.

Success and/or error messages as appropriate will be output.

Value

A boolean value (TRUE or FALSE). TRUE if Perl and ALL required modules are found

Note

Please be sure to read the included INSTALL file (in the main package installation directory) for additional details on meeting the requirements for Perl and the additional Perl modules that are necessary for WriteXLS to work properly. The file includes platform specific recommendations for common scenarios. The path to the package installation directory can be located using .path.package("WriteXLS") after using library(WriteXLS).

A working installed version of Perl must be present in the current system searchpath or the exact path of the perl executable must be provided via the perl argument. Perl modules required for this function that may not be part of a default Perl installation are included with this package. These modules include:

OLE::Storage_Lite, Parse::RecDescent, Getopt::Long, File::Basename and Spreadsheet::WriteExcel

Note that the required Perl modules Encode and Text::CSV_XS are not included with this package. They are platform specific, requiring local compilation and installation from CPAN or via your OS package manager.

Author(s)

Marc Schwartz marc_schwartz@me.com

Many thanks to Prof. Brian Ripley for his assistance in the testing of this package.

See Also

WriteXLS


WriteXLS documentation built on May 2, 2019, 4:41 p.m.

Related to testPerl in WriteXLS...