Skip to content

Commit a3e01c9

Browse files
committed
Use conditional markup for \ge with pkgdown
1 parent 514c785 commit a3e01c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

man/setorder.Rd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ when \code{b} is of type \code{character} as well. }
4848
\code{order} must be either \code{1} or equal to that of \code{cols}. If
4949
\code{length(order) == 1}, it is recycled to \code{length(cols)}. }
5050
\item{na.last}{ \code{logical}. If \code{TRUE}, missing values in the data are placed last; if \code{FALSE}, they are placed first; if \code{NA} they are removed.
51-
\code{na.last=NA} is valid only for \code{x[order(., na.last)]} and related \code{sort_by(x, .)} (\R \eqn{\ge} 4.4.0) and its
51+
\code{na.last=NA} is valid only for \code{x[order(., na.last)]} and related \code{sort_by(x, .)} (\R \ifelse{html}{\out{≥}}{\eqn{\ge}} 4.4.0) and its
5252
default is \code{TRUE}. \code{setorder} and \code{setorderv} only accept
5353
\code{TRUE}/\code{FALSE} with default \code{FALSE}. }
5454
}
@@ -73,7 +73,7 @@ sets the \code{sorted} attribute.
7373

7474
\code{na.last} argument, by default, is \code{FALSE} for \code{setorder} and
7575
\code{setorderv} to be consistent with \code{data.table}'s \code{setkey} and
76-
is \code{TRUE} for \code{x[order(.)]} and \code{sort_by(x, .)} (\eqn{\R \ge 4.4.0}) to be consistent with \code{base::order}.
76+
is \code{TRUE} for \code{x[order(.)]} and \code{sort_by(x, .)} (\R \ifelse{html}{\out{≥}}{\eqn{\ge}} 4.4.0) to be consistent with \code{base::order}.
7777
Only \code{x[order(.)]} (and related \code{sort_by(x, .)}) can have \code{na.last = NA} as it is a subset operation
7878
as opposed to \code{setorder} or \code{setorderv} which reorders the data.table
7979
by reference.

0 commit comments

Comments
 (0)