/usr/lib/R/site-library/gdata/perl/supportedFormats.pl is in r-cran-gdata 2.18.0-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #!/usr/bin/perl
BEGIN {
use File::Basename;
# Add current path to perl library search path
use lib dirname($0);
}
require 'module_tools.pl';
my( $HAS_Spreadsheet_ParseExcel,
$HAS_Compress_Raw_Zlib,
$HAS_Spreadsheet_ParseXLSX) = check_modules(0);
$XLS_Support = $HAS_Spreadsheet_ParseExcel;
$XLSX_Support = $HAS_Spreadsheet_ParseExcel &&
$HAS_Compress_Raw_Zlib &&
$HAS_Spreadsheet_ParseXLSX;
printf "Supported formats: ";
printf "XLS " if ( $XLS_Support );
printf "XLSX" if ( $XLSX_Support );
printf "\n";
|