The R Project SVN R

Rev

Rev 47416 | Rev 47462 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 47416 Rev 47442
Line 33... Line 33...
33
use Text::Wrap;
33
use Text::Wrap;
34
 
34
 
35
## Don't buffer output.
35
## Don't buffer output.
36
$| = 1;
36
$| = 1;
37
 
37
 
38
my $revision = ' $Rev: 47416 $ ';
38
my $revision = ' $Rev: 47442 $ ';
39
my $version;
39
my $version;
40
my $name;
40
my $name;
41
$revision =~ / ([\d\.]*) /;
41
$revision =~ / ([\d\.]*) /;
42
$version = $1;
42
$version = $1;
43
($name = $0) =~ s|.*/||;
43
($name = $0) =~ s|.*/||;
Line 2745... Line 2745...
2745
 
2745
 
2746
}
2746
}
2747
 
2747
 
2748

2748

2749
sub usage {
2749
sub usage {
2750
    print STDERR <<END;
2750
    print <<END;
2751
Usage: R CMD $name [options] pkgs
2751
Usage: R CMD $name [options] pkgs
2752
 
2752
 
2753
Check R packages from package sources, which can be directories or
2753
Check R packages from package sources, which can be directories or
2754
gzipped package 'tar' archives with extension '.tar.gz' or '.tgz'.
2754
gzipped package 'tar' archives with extension '.tar.gz' or '.tgz'.
2755
 
2755
 
Line 2760... Line 2760...
2760
examples and tests provided by the package are tested to see if they
2760
examples and tests provided by the package are tested to see if they
2761
run successfully.
2761
run successfully.
2762
 
2762
 
2763
Options:
2763
Options:
2764
  -h, --help            print short help message and exit
2764
  -h, --help            print short help message and exit
2765
  -v, --version         print 'check' version info and exit
2765
  -v, --version         print version info and exit
2766
  -l, --library=LIB     library directory used for test installation
2766
  -l, --library=LIB     library directory used for test installation
2767
                        of packages (default is outdir)
2767
                        of packages (default is outdir)
2768
  -o, --outdir=DIR      directory used for logfiles, R output, etc.
2768
  -o, --outdir=DIR      directory used for logfiles, R output, etc.
2769
                        (default is 'pkg.Rcheck' in current directory,
2769
                        (default is 'pkg.Rcheck' in current directory,
2770
			where 'pkg' is the name of the package checked)
2770
			where 'pkg' is the name of the package checked)
Line 2782... Line 2782...
2782
			(default is yes for a tarball, no otherwise)
2782
			(default is yes for a tarball, no otherwise)
2783
      --rcfile=FILE     read configuration values from FILE
2783
      --rcfile=FILE     read configuration values from FILE
2784
 
2784
 
2785
By default, all test sections are turned on.
2785
By default, all test sections are turned on.
2786
 
2786
 
2787
Email bug reports to <r-bugs\@r-project.org>.
2787
Report bugs to <r-bugs\@r-project.org>.
2788
END
2788
END
2789
    exit 0;
2789
    exit 0;
2790
}
2790
}