[R-pkg-devel] documentation warning when using \deqn for equations
Jeff Newmiller
jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Fri Mar 25 19:28:20 CET 2022
Where is the second part of your deqn?
The syntax is
\deqn{}{}
not
\deqn{}
On March 25, 2022 11:19:55 AM PDT, Gillian Sharer <gillian using iris.washington.edu> wrote:
>My package submission has just started generating a NOTE for HTML check warnings in my .Rd documentation files when using \deqn to document equations, although it has been successful in the past. It passes all checks on the rhub package machines, but the Debian build for actual submissions is reporting for each use of \deqn:
>
>
>Warning: inserting implicit <p>
>Warning: trimming empty <p>
>
>
>The reported line numbers don't match, but this is only occurring in files with \deqn and the number of warnings matches the number of \deqn uses.
>
>An example is:
>\details {
>Before calculating the envelope, the seismic trace is 'cleaned up' by removing the mean,
>the trend and by applying a cosine taper. See \link{DDT} for more details.
>
>The seismic envelope is defined as:
>
>
>
>
>\deqn{ E(t) = \sqrt{T^2(t) + H^2(t)} }
>
>
>
>
>where \eqn{T(t)} is the seismic trace and \eqn{H(t)} is the Hilbert transform of \eqn{T(t)}.
>
>}
>
>
>
>
>Is there anything obviously wrong with this?
>
>
>
>
>Thanks,
>
>Gillian Sharer
>
>IRIS DMC
>
>gillian using iris.washington.edu
>
>
>
> [[alternative HTML version deleted]]
>
>______________________________________________
>R-package-devel using r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-package-devel
--
Sent from my phone. Please excuse my brevity.
More information about the R-package-devel
mailing list