| Line 1... |
Line 1... |
| 1 |
% File src/library/tools/man/testInstalledPackage.Rd
|
1 |
% File src/library/tools/man/testInstalledPackage.Rd
|
| 2 |
% Part of the R package, https://www.R-project.org
|
2 |
% Part of the R package, https://www.R-project.org
|
| 3 |
% Copyright 2009-2023 R Core Team
|
3 |
% Copyright 2009-2025 R Core Team
|
| 4 |
% Distributed under GPL 2 or later
|
4 |
% Distributed under GPL 2 or later
|
| 5 |
|
5 |
|
| 6 |
\name{testInstalledPackage}
|
6 |
\name{testInstalledPackage}
|
| 7 |
\alias{testInstalledPackage}
|
7 |
\alias{testInstalledPackage}
|
| 8 |
\alias{testInstalledPackages}
|
8 |
\alias{testInstalledPackages}
|
| Line 77... |
Line 77... |
| 77 |
Except on Windows, if the environment variable \env{TEST_MC_CORES} is
|
77 |
Except on Windows, if the environment variable \env{TEST_MC_CORES} is
|
| 78 |
set to an integer greater than one, \code{testInstalledPackages} will
|
78 |
set to an integer greater than one, \code{testInstalledPackages} will
|
| 79 |
run the package tests in parallel using its value as the maximum
|
79 |
run the package tests in parallel using its value as the maximum
|
| 80 |
number of parallel processes.
|
80 |
number of parallel processes.
|
| 81 |
|
81 |
|
| 82 |
#ifdef unix
|
- |
|
| 83 |
The package-specific tests for the base and recommended packages are
|
82 |
The package-specific tests for the base and recommended packages are
|
| 84 |
not normally installed, but \command{make install-tests} is provided
|
83 |
an optional part of the install, where on unix-alikes, i.e., not on Windows,
|
| 85 |
to do so (as well as the basic tests).
|
84 |
\command{make install-tests} is provided to do so (as well as the basic tests).
|
| 86 |
#endif
|
85 |
|
| 87 |
#ifdef windows
|
- |
|
| 88 |
The package-specific tests for the base and recommended packages are
|
- |
|
| 89 |
an optional part of the install.
|
- |
|
| 90 |
Currently testing requires a Unix-like \code{diff} for a full report
|
86 |
On Windows, currently testing requires a Unix-like \command{diff} for a
|
| 91 |
if more than simple differences are found.
|
87 |
full report if more than simple differences are found.
|
| 92 |
#endif
|
- |
|
| 93 |
}
|
88 |
}
|
| 94 |
\value{
|
89 |
\value{
|
| 95 |
Invisibly \code{0L} for success, \code{1L} for failure.
|
90 |
Invisibly \code{0L} for success, \code{1L} for failure.
|
| 96 |
|
91 |
|
| 97 |
\code{standard_package_names()} returns a \code{\link{list}} with
|
92 |
\code{standard_package_names()} returns a \code{\link{list}} with
|