| Line 46... |
Line 46... |
| 46 |
dictionaries.
|
46 |
dictionaries.
|
| 47 |
|
47 |
|
| 48 |
The currently available built-in filters are \code{"Rd"}
|
48 |
The currently available built-in filters are \code{"Rd"}
|
| 49 |
(corresponding to \code{\link{RdTextFilter}}), \code{"Sweave"}
|
49 |
(corresponding to \code{\link{RdTextFilter}}), \code{"Sweave"}
|
| 50 |
(corresponding to \code{\link{SweaveTeXFilter}}), \code{"R"},
|
50 |
(corresponding to \code{\link{SweaveTeXFilter}}), \code{"R"},
|
| 51 |
\code{"pot"} and \code{"dcf"}.
|
51 |
\code{"pot"}, \code{"dcf"} and \code{"md"}.
|
| 52 |
|
52 |
|
| 53 |
Filter \code{"R"} is for R code and extracts the message string
|
53 |
Filter \code{"R"} is for R code and extracts the message string
|
| 54 |
constants in calls to \code{\link{message}}, \code{\link{warning}},
|
54 |
constants in calls to \code{\link{message}}, \code{\link{warning}},
|
| 55 |
\code{\link{stop}}, \code{\link{packageStartupMessage}},
|
55 |
\code{\link{stop}}, \code{\link{packageStartupMessage}},
|
| 56 |
\code{\link{gettext}}, \code{\link{gettextf}}, and
|
56 |
\code{\link{gettext}}, \code{\link{gettextf}}, and
|
| 57 |
\code{\link{ngettext}} (the unnamed string constants for the first
|
57 |
\code{\link{ngettext}} (the unnamed string constants for the first
|
| 58 |
five, and \code{fmt} and \code{msg1}/\code{msg2} string constants,
|
58 |
five, and \code{fmt} and \code{msg1}/\code{msg2} string constants,
|
| 59 |
respectively, for the latter two).
|
59 |
respectively, for the latter two).
|
| - |
|
60 |
|
| 60 |
Filter \code{"pot"} is for message string catalog \file{.pot} files.
|
61 |
Filter \code{"pot"} is for message string catalog \file{.pot} files.
|
| 61 |
Both have an argument \code{ignore} allowing to give regular
|
62 |
Both have an argument \code{ignore} allowing to give regular
|
| 62 |
expressions for parts of message strings to be ignored for spell
|
63 |
expressions for parts of message strings to be ignored for spell
|
| 63 |
checking: e.g., using \code{"[ \t]'[^']*'[ \t[:punct:]]"} ignores all
|
64 |
checking: e.g., using \code{"[ \t]'[^']*'[ \t[:punct:]]"} ignores all
|
| 64 |
text inside single quotes.
|
65 |
text inside single quotes.
|
| Line 66... |
Line 67... |
| 66 |
Filter \code{"dcf"} is for files in Debian Control File format.
|
67 |
Filter \code{"dcf"} is for files in Debian Control File format.
|
| 67 |
The fields to keep can be controlled by argument \code{keep} (a
|
68 |
The fields to keep can be controlled by argument \code{keep} (a
|
| 68 |
character vector with the respective field names). By default,
|
69 |
character vector with the respective field names). By default,
|
| 69 |
\samp{Title} and \samp{Description} fields are kept.
|
70 |
\samp{Title} and \samp{Description} fields are kept.
|
| 70 |
|
71 |
|
| - |
|
72 |
Filter \code{"md"} is for files in
|
| - |
|
73 |
\href{https://en.wikipedia.org/wiki/Markdown}{Markdown} format
|
| - |
|
74 |
(\file{.md} and \file{.Rmd} files), and needs packages
|
| - |
|
75 |
\CRANpkg{commonmark} and \CRANpkg{xml2} to be available.
|
| - |
|
76 |
|
| 71 |
The print method for the objects returned by \code{aspell} has an
|
77 |
The print method for the objects returned by \code{aspell} has an
|
| 72 |
\code{indent} argument controlling the indentation of the positions of
|
78 |
\code{indent} argument controlling the indentation of the positions of
|
| 73 |
possibly mis-spelled words. The default is 2; Emacs users may find it
|
79 |
possibly mis-spelled words. The default is 2; Emacs users may find it
|
| 74 |
useful to use an indentation of 0 and visit output in grep-mode. It
|
80 |
useful to use an indentation of 0 and visit output in grep-mode. It
|
| 75 |
also has a \code{verbose} argument: when this is true, suggestions for
|
81 |
also has a \code{verbose} argument: when this is true, suggestions for
|