diff --git a/DESCRIPTION b/DESCRIPTION
index 7d2061e..2bd7f9a 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -4,7 +4,7 @@ Title: Build 'data.table' Expressions with Data Manipulation Verbs
Description: A specialization of 'dplyr' data manipulation verbs that parse and build expressions
which are ultimately evaluated by 'data.table', letting it handle all optimizations. A set of
additional verbs is also provided to facilitate some common operations on a subset of the data.
-Version: 0.4.0.9000
+Version: 0.4.1
Depends:
R (>= 3.2.0)
Imports:
diff --git a/NEWS.md b/NEWS.md
index 2d7783a..9d36cbe 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,6 +1,7 @@
# table.express 0.4.1
- Avoid potential deep copies in `left_join` with `data.table` as input (#22).
+- Fix HTML documentation.
# table.express 0.4.0
diff --git a/cran-comments.md b/cran-comments.md
index 5a34c1f..f936c7c 100644
--- a/cran-comments.md
+++ b/cran-comments.md
@@ -1,6 +1,6 @@
-## Update to version 0.4.0
-* Improvements to support more dplyr idioms.
+## Update to version 0.4.1
+* Fix documentation for HTML Tidy and fix a bug.
## Test environments
* Local GNU/Linux, R release
diff --git a/man/EagerExprBuilder.Rd b/man/EagerExprBuilder.Rd
index ce6ff3d..617c3a2 100644
--- a/man/EagerExprBuilder.Rd
+++ b/man/EagerExprBuilder.Rd
@@ -13,28 +13,28 @@ Like \link{ExprBuilder}, but eager in some regards. This shouldn't be used direc
\section{Methods}{
\subsection{Public methods}{
\itemize{
-\item \href{#method-new}{\code{EagerExprBuilder$new()}}
-\item \href{#method-chain}{\code{EagerExprBuilder$chain()}}
-\item \href{#method-chain_if_set}{\code{EagerExprBuilder$chain_if_set()}}
-\item \href{#method-clone}{\code{EagerExprBuilder$clone()}}
-}
-}
-\if{html}{
-\out{Inherited methods
}
-\itemize{
-\item \out{}\href{../../table.express/html/ExprBuilder.html#method-eval}{\code{table.express::ExprBuilder$eval()}}\out{}
-\item \out{}\href{../../table.express/html/ExprBuilder.html#method-print}{\code{table.express::ExprBuilder$print()}}\out{}
-\item \out{}\href{../../table.express/html/ExprBuilder.html#method-seek_and_nestroy}{\code{table.express::ExprBuilder$seek_and_nestroy()}}\out{}
-\item \out{}\href{../../table.express/html/ExprBuilder.html#method-set_by}{\code{table.express::ExprBuilder$set_by()}}\out{}
-\item \out{}\href{../../table.express/html/ExprBuilder.html#method-set_i}{\code{table.express::ExprBuilder$set_i()}}\out{}
-\item \out{}\href{../../table.express/html/ExprBuilder.html#method-set_j}{\code{table.express::ExprBuilder$set_j()}}\out{}
-\item \out{}\href{../../table.express/html/ExprBuilder.html#method-tidy_select}{\code{table.express::ExprBuilder$tidy_select()}}\out{}
-}
-\out{ }
-}
+\item \href{#method-EagerExprBuilder-new}{\code{EagerExprBuilder$new()}}
+\item \href{#method-EagerExprBuilder-chain}{\code{EagerExprBuilder$chain()}}
+\item \href{#method-EagerExprBuilder-chain_if_set}{\code{EagerExprBuilder$chain_if_set()}}
+\item \href{#method-EagerExprBuilder-clone}{\code{EagerExprBuilder$clone()}}
+}
+}
+\if{html}{\out{
+Inherited methods
+
+
+}}
\if{html}{\out{
}}
-\if{html}{\out{}}
-\if{latex}{\out{\hypertarget{method-new}{}}}
+\if{html}{\out{}}
+\if{latex}{\out{\hypertarget{method-EagerExprBuilder-new}{}}}
\subsection{Method \code{new()}}{
Constructor.
\subsection{Usage}{
@@ -52,8 +52,8 @@ Constructor.
}
}
\if{html}{\out{
}}
-\if{html}{\out{}}
-\if{latex}{\out{\hypertarget{method-chain}{}}}
+\if{html}{\out{}}
+\if{latex}{\out{\hypertarget{method-EagerExprBuilder-chain}{}}}
\subsection{Method \code{chain()}}{
Override to abort if chaining is attempted.
\subsection{Usage}{
@@ -69,8 +69,8 @@ Override to abort if chaining is attempted.
}
}
\if{html}{\out{
}}
-\if{html}{\out{}}
-\if{latex}{\out{\hypertarget{method-chain_if_set}{}}}
+\if{html}{\out{}}
+\if{latex}{\out{\hypertarget{method-EagerExprBuilder-chain_if_set}{}}}
\subsection{Method \code{chain_if_set()}}{
Override to abort if chaining is attempted.
\subsection{Usage}{
@@ -86,8 +86,8 @@ Override to abort if chaining is attempted.
}
}
\if{html}{\out{
}}
-\if{html}{\out{}}
-\if{latex}{\out{\hypertarget{method-clone}{}}}
+\if{html}{\out{}}
+\if{latex}{\out{\hypertarget{method-EagerExprBuilder-clone}{}}}
\subsection{Method \code{clone()}}{
The objects of this class are cloneable with this method.
\subsection{Usage}{
diff --git a/man/ExprBuilder.Rd b/man/ExprBuilder.Rd
index f189483..c50c99a 100644
--- a/man/ExprBuilder.Rd
+++ b/man/ExprBuilder.Rd
@@ -24,22 +24,22 @@ shouldn't be used directly.
\section{Methods}{
\subsection{Public methods}{
\itemize{
-\item \href{#method-new}{\code{ExprBuilder$new()}}
-\item \href{#method-set_i}{\code{ExprBuilder$set_i()}}
-\item \href{#method-set_j}{\code{ExprBuilder$set_j()}}
-\item \href{#method-set_by}{\code{ExprBuilder$set_by()}}
-\item \href{#method-chain}{\code{ExprBuilder$chain()}}
-\item \href{#method-chain_if_set}{\code{ExprBuilder$chain_if_set()}}
-\item \href{#method-seek_and_nestroy}{\code{ExprBuilder$seek_and_nestroy()}}
-\item \href{#method-eval}{\code{ExprBuilder$eval()}}
-\item \href{#method-tidy_select}{\code{ExprBuilder$tidy_select()}}
-\item \href{#method-print}{\code{ExprBuilder$print()}}
-\item \href{#method-clone}{\code{ExprBuilder$clone()}}
+\item \href{#method-ExprBuilder-new}{\code{ExprBuilder$new()}}
+\item \href{#method-ExprBuilder-set_i}{\code{ExprBuilder$set_i()}}
+\item \href{#method-ExprBuilder-set_j}{\code{ExprBuilder$set_j()}}
+\item \href{#method-ExprBuilder-set_by}{\code{ExprBuilder$set_by()}}
+\item \href{#method-ExprBuilder-chain}{\code{ExprBuilder$chain()}}
+\item \href{#method-ExprBuilder-chain_if_set}{\code{ExprBuilder$chain_if_set()}}
+\item \href{#method-ExprBuilder-seek_and_nestroy}{\code{ExprBuilder$seek_and_nestroy()}}
+\item \href{#method-ExprBuilder-eval}{\code{ExprBuilder$eval()}}
+\item \href{#method-ExprBuilder-tidy_select}{\code{ExprBuilder$tidy_select()}}
+\item \href{#method-ExprBuilder-print}{\code{ExprBuilder$print()}}
+\item \href{#method-ExprBuilder-clone}{\code{ExprBuilder$clone()}}
}
}
\if{html}{\out{
}}
-\if{html}{\out{}}
-\if{latex}{\out{\hypertarget{method-new}{}}}
+\if{html}{\out{}}
+\if{latex}{\out{\hypertarget{method-ExprBuilder-new}{}}}
\subsection{Method \code{new()}}{
Constructor.
\subsection{Usage}{
@@ -64,8 +64,8 @@ Constructor.
}
}
\if{html}{\out{
}}
-\if{html}{\out{}}
-\if{latex}{\out{\hypertarget{method-set_i}{}}}
+\if{html}{\out{}}
+\if{latex}{\out{\hypertarget{method-ExprBuilder-set_i}{}}}
\subsection{Method \code{set_i()}}{
Set the \code{i} clause expression(s), starting a new frame if the current
one already has said expression set.
@@ -84,8 +84,8 @@ one already has said expression set.
}
}
\if{html}{\out{
}}
-\if{html}{\out{}}
-\if{latex}{\out{\hypertarget{method-set_j}{}}}
+\if{html}{\out{}}
+\if{latex}{\out{\hypertarget{method-ExprBuilder-set_j}{}}}
\subsection{Method \code{set_j()}}{
Like \code{set_i} but for the \code{j} clause.
\subsection{Usage}{
@@ -103,8 +103,8 @@ Like \code{set_i} but for the \code{j} clause.
}
}
\if{html}{\out{
}}
-\if{html}{\out{}}
-\if{latex}{\out{\hypertarget{method-set_by}{}}}
+\if{html}{\out{}}
+\if{latex}{\out{\hypertarget{method-ExprBuilder-set_by}{}}}
\subsection{Method \code{set_by()}}{
Set the \code{by} clause expression.
\subsection{Usage}{
@@ -122,8 +122,8 @@ Set the \code{by} clause expression.
}
}
\if{html}{\out{
}}
-\if{html}{\out{}}
-\if{latex}{\out{\hypertarget{method-chain}{}}}
+\if{html}{\out{}}
+\if{latex}{\out{\hypertarget{method-ExprBuilder-chain}{}}}
\subsection{Method \code{chain()}}{
By default, start a new expression with the current one as its
parent. If \code{type = "pronoun"}, \code{dt} is used to start a new expression
@@ -149,8 +149,8 @@ new chain}
}
}
\if{html}{\out{
}}
-\if{html}{\out{}}
-\if{latex}{\out{\hypertarget{method-chain_if_set}{}}}
+\if{html}{\out{}}
+\if{latex}{\out{\hypertarget{method-ExprBuilder-chain_if_set}{}}}
\subsection{Method \code{chain_if_set()}}{
Chain if any clause values are already set.
\subsection{Usage}{
@@ -166,8 +166,8 @@ Chain if any clause values are already set.
}
}
\if{html}{\out{
}}
-\if{html}{\out{}}
-\if{latex}{\out{\hypertarget{method-seek_and_nestroy}{}}}
+\if{html}{\out{}}
+\if{latex}{\out{\hypertarget{method-ExprBuilder-seek_and_nestroy}{}}}
\subsection{Method \code{seek_and_nestroy()}}{
Helper for \code{nest_expr}.
\subsection{Usage}{
@@ -183,8 +183,8 @@ Helper for \code{nest_expr}.
}
}
\if{html}{\out{
}}
-\if{html}{\out{}}
-\if{latex}{\out{\hypertarget{method-eval}{}}}
+\if{html}{\out{}}
+\if{latex}{\out{\hypertarget{method-ExprBuilder-eval}{}}}
\subsection{Method \code{eval()}}{
Evaluate the final expression with \code{parent_env} as the enclosing
environment. If \code{by_ref = FALSE}, \code{\link[data.table:copy]{data.table::copy()}} is called
@@ -207,8 +207,8 @@ evaluation environment.
}
}
\if{html}{\out{
}}
-\if{html}{\out{}}
-\if{latex}{\out{\hypertarget{method-tidy_select}{}}}
+\if{html}{\out{}}
+\if{latex}{\out{\hypertarget{method-ExprBuilder-tidy_select}{}}}
\subsection{Method \code{tidy_select()}}{
Evaluate a \code{tidyselect} call using the currently captured table.
\subsection{Usage}{
@@ -224,8 +224,8 @@ Evaluate a \code{tidyselect} call using the currently captured table.
}
}
\if{html}{\out{
}}
-\if{html}{\out{}}
-\if{latex}{\out{\hypertarget{method-print}{}}}
+\if{html}{\out{}}
+\if{latex}{\out{\hypertarget{method-ExprBuilder-print}{}}}
\subsection{Method \code{print()}}{
Prints the built \code{expr}.
\subsection{Usage}{
@@ -241,8 +241,8 @@ Prints the built \code{expr}.
}
}
\if{html}{\out{
}}
-\if{html}{\out{}}
-\if{latex}{\out{\hypertarget{method-clone}{}}}
+\if{html}{\out{}}
+\if{latex}{\out{\hypertarget{method-ExprBuilder-clone}{}}}
\subsection{Method \code{clone()}}{
The objects of this class are cloneable with this method.
\subsection{Usage}{