-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathspelling.Rd
161 lines (149 loc) · 4.71 KB
/
spelling.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/spelling_class.R
\name{spelling}
\alias{spelling}
\title{The spelling R6 class}
\description{
A class with the configuration for spell checking
}
\seealso{
Other class:
\code{\link{checklist}},
\code{\link{citation_meta}},
\code{\link{organisation}}
}
\concept{class}
\section{Active bindings}{
\if{html}{\out{<div class="r6-active-bindings">}}
\describe{
\item{\code{default}}{The default language of the project.}
\item{\code{get_md}}{The markdown files within the project.}
\item{\code{get_r}}{The R files within the project.}
\item{\code{get_rd}}{The Rd files within the project.}
\item{\code{settings}}{A list with current spell checking settings.}
}
\if{html}{\out{</div>}}
}
\section{Methods}{
\subsection{Public methods}{
\itemize{
\item \href{#method-spelling-new}{\code{spelling$new()}}
\item \href{#method-spelling-print}{\code{spelling$print()}}
\item \href{#method-spelling-set_default}{\code{spelling$set_default()}}
\item \href{#method-spelling-set_exceptions}{\code{spelling$set_exceptions()}}
\item \href{#method-spelling-set_ignore}{\code{spelling$set_ignore()}}
\item \href{#method-spelling-set_other}{\code{spelling$set_other()}}
\item \href{#method-spelling-clone}{\code{spelling$clone()}}
}
}
\if{html}{\out{<hr>}}
\if{html}{\out{<a id="method-spelling-new"></a>}}
\if{latex}{\out{\hypertarget{method-spelling-new}{}}}
\subsection{Method \code{new()}}{
Initialize a new \code{spelling} object.
\subsection{Usage}{
\if{html}{\out{<div class="r">}}\preformatted{spelling$new(language, base_path = ".")}\if{html}{\out{</div>}}
}
\subsection{Arguments}{
\if{html}{\out{<div class="arguments">}}
\describe{
\item{\code{language}}{the default language.}
\item{\code{base_path}}{the base path of the project}
}
\if{html}{\out{</div>}}
}
}
\if{html}{\out{<hr>}}
\if{html}{\out{<a id="method-spelling-print"></a>}}
\if{latex}{\out{\hypertarget{method-spelling-print}{}}}
\subsection{Method \code{print()}}{
Print the \code{spelling} object.
\subsection{Usage}{
\if{html}{\out{<div class="r">}}\preformatted{spelling$print(...)}\if{html}{\out{</div>}}
}
\subsection{Arguments}{
\if{html}{\out{<div class="arguments">}}
\describe{
\item{\code{...}}{currently ignored.}
}
\if{html}{\out{</div>}}
}
}
\if{html}{\out{<hr>}}
\if{html}{\out{<a id="method-spelling-set_default"></a>}}
\if{latex}{\out{\hypertarget{method-spelling-set_default}{}}}
\subsection{Method \code{set_default()}}{
Define which files to ignore or to spell check in a
different language.
\subsection{Usage}{
\if{html}{\out{<div class="r">}}\preformatted{spelling$set_default(language)}\if{html}{\out{</div>}}
}
\subsection{Arguments}{
\if{html}{\out{<div class="arguments">}}
\describe{
\item{\code{language}}{The language.}
}
\if{html}{\out{</div>}}
}
}
\if{html}{\out{<hr>}}
\if{html}{\out{<a id="method-spelling-set_exceptions"></a>}}
\if{latex}{\out{\hypertarget{method-spelling-set_exceptions}{}}}
\subsection{Method \code{set_exceptions()}}{
Define which files to ignore or to spell check in a
different language.
\subsection{Usage}{
\if{html}{\out{<div class="r">}}\preformatted{spelling$set_exceptions()}\if{html}{\out{</div>}}
}
}
\if{html}{\out{<hr>}}
\if{html}{\out{<a id="method-spelling-set_ignore"></a>}}
\if{latex}{\out{\hypertarget{method-spelling-set_ignore}{}}}
\subsection{Method \code{set_ignore()}}{
Manually set the ignore vector.
Only use this if you known what you are doing.
\subsection{Usage}{
\if{html}{\out{<div class="r">}}\preformatted{spelling$set_ignore(ignore)}\if{html}{\out{</div>}}
}
\subsection{Arguments}{
\if{html}{\out{<div class="arguments">}}
\describe{
\item{\code{ignore}}{The character vector with ignore file patterns.}
}
\if{html}{\out{</div>}}
}
}
\if{html}{\out{<hr>}}
\if{html}{\out{<a id="method-spelling-set_other"></a>}}
\if{latex}{\out{\hypertarget{method-spelling-set_other}{}}}
\subsection{Method \code{set_other()}}{
Manually set the other list.
Only use this if you known what you are doing.
\subsection{Usage}{
\if{html}{\out{<div class="r">}}\preformatted{spelling$set_other(other)}\if{html}{\out{</div>}}
}
\subsection{Arguments}{
\if{html}{\out{<div class="arguments">}}
\describe{
\item{\code{other}}{a list with file patterns per additional language.}
}
\if{html}{\out{</div>}}
}
}
\if{html}{\out{<hr>}}
\if{html}{\out{<a id="method-spelling-clone"></a>}}
\if{latex}{\out{\hypertarget{method-spelling-clone}{}}}
\subsection{Method \code{clone()}}{
The objects of this class are cloneable with this method.
\subsection{Usage}{
\if{html}{\out{<div class="r">}}\preformatted{spelling$clone(deep = FALSE)}\if{html}{\out{</div>}}
}
\subsection{Arguments}{
\if{html}{\out{<div class="arguments">}}
\describe{
\item{\code{deep}}{Whether to make a deep clone.}
}
\if{html}{\out{</div>}}
}
}
}