| Line 35... |
Line 35... |
| 35 |
\details{
|
35 |
\details{
|
| 36 |
The \R core development team and the very active community of package
|
36 |
The \R core development team and the very active community of package
|
| 37 |
authors have invested a lot of time and effort in creating \R as it is
|
37 |
authors have invested a lot of time and effort in creating \R as it is
|
| 38 |
today. Please give credit where credit is due and cite \R and \R
|
38 |
today. Please give credit where credit is due and cite \R and \R
|
| 39 |
packages when you use them for data analysis.
|
39 |
packages when you use them for data analysis.
|
| 40 |
|
40 |
|
| 41 |
Execute function \code{citation()} for information on how to cite the
|
41 |
Execute function \code{citation()} for information on how to cite the
|
| 42 |
base R system in publications. If the name of a non-base package is
|
42 |
base R system in publications. If the name of a non-base package is
|
| 43 |
given, the function either returns the information contained in the
|
43 |
given, the function either returns the information contained in the
|
| 44 |
\file{CITATION} file of the package or auto-generates citation
|
44 |
\file{CITATION} file of the package or auto-generates citation
|
| 45 |
information. In the latter case the package \file{DESCRIPTION} file
|
45 |
information. In the latter case the package \file{DESCRIPTION} file
|
| Line 62... |
Line 62... |
| 62 |
The \file{CITATION} file of an R package should be placed in the
|
62 |
The \file{CITATION} file of an R package should be placed in the
|
| 63 |
\file{inst} subdirectory of the package source. The file is an R
|
63 |
\file{inst} subdirectory of the package source. The file is an R
|
| 64 |
source file and may contain arbitrary R commands including
|
64 |
source file and may contain arbitrary R commands including
|
| 65 |
conditionals and computations. Function \code{readCitationFile()} is
|
65 |
conditionals and computations. Function \code{readCitationFile()} is
|
| 66 |
used by \code{citation()} to extract the information in
|
66 |
used by \code{citation()} to extract the information in
|
| 67 |
\file{CITATION} files. The file is \code{source()}ed by the R
|
67 |
\file{CITATION} files. The file is \code{source()}ed by the R
|
| 68 |
parser in a temporary environment and all resulting bibliographic
|
68 |
parser in a temporary environment and all resulting bibliographic
|
| 69 |
objects (specifically, of class \code{"\link{bibentry}"}) are
|
69 |
objects (specifically, of class \code{"\link{bibentry}"}) are
|
| 70 |
collected.
|
70 |
collected.
|
| 71 |
|
71 |
|
| 72 |
Traditionally, the \file{CITATION} file contained zero or more calls
|
72 |
Traditionally, the \file{CITATION} file contained zero or more calls
|