From 88027b7a70510b48bd7525ffcd536f0808d263e7 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 3 Jul 2026 11:51:32 +0200 Subject: Improve description with README text Also, read the description into the Readme to have them in sync and update docs with roxygen 8. --- man/ppp.Rd | 101 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 50 insertions(+), 51 deletions(-) (limited to 'man/ppp.Rd') diff --git a/man/ppp.Rd b/man/ppp.Rd index a01b3bb..9942b36 100644 --- a/man/ppp.Rd +++ b/man/ppp.Rd @@ -11,78 +11,77 @@ Contains basic information about the active ingredients in the product } \section{Public fields}{ -\if{html}{\out{
}} -\describe{ -\item{\code{name}}{The name of the product} + \if{html}{\out{
}} + \describe{ + \item{\code{name}}{The name of the product} -\item{\code{ais}}{A list of active ingredients} + \item{\code{ais}}{A list of active ingredients} -\item{\code{concentrations}}{The concentration of the ais} + \item{\code{concentrations}}{The concentration of the ais} -\item{\code{concentration_units}}{Defaults to g/L} + \item{\code{concentration_units}}{Defaults to g/L} -\item{\code{density}}{The density of the product} + \item{\code{density}}{The density of the product} -\item{\code{density_units}}{Defaults to g/L} -} -\if{html}{\out{
}} + \item{\code{density_units}}{Defaults to g/L} + } + \if{html}{\out{
}} } \section{Methods}{ \subsection{Public methods}{ -\itemize{ -\item \href{#method-ppp-new}{\code{ppp$new()}} -\item \href{#method-ppp-clone}{\code{ppp$clone()}} -} + \itemize{ + \item \href{#method-ppp-initialize}{\code{ppp$new()}} + \item \href{#method-ppp-clone}{\code{ppp$clone()}} + } } \if{html}{\out{
}} -\if{html}{\out{}} -\if{latex}{\out{\hypertarget{method-ppp-new}{}}} -\subsection{Method \code{new()}}{ -Creates a new instance of this \link[R6:R6Class]{R6} class. -\subsection{Usage}{ -\if{html}{\out{
}}\preformatted{ppp$new( +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-ppp-initialize}{}}} +\subsection{\code{ppp$new()}}{ + Creates a new instance of this \link[R6:R6Class]{R6} class. + \subsection{Usage}{ + \if{html}{\out{
}} + \preformatted{ppp$new( name, ..., concentrations, concentration_units = "g/L", density = 1000, density_units = "g/L" -)}\if{html}{\out{
}} +)} + \if{html}{\out{
}} + } + \subsection{Arguments}{ + \if{html}{\out{
}} + \describe{ + \item{\code{name}}{The name of the product} + \item{\code{...}}{Identifiers of the active ingredients} + \item{\code{concentrations}}{Concentrations of the active ingredients} + \item{\code{concentration_units}}{Defaults to g/L} + \item{\code{density}}{The density} + \item{\code{density_units}}{Defaults to g/L} + } + \if{html}{\out{
}} + } } -\subsection{Arguments}{ -\if{html}{\out{
}} -\describe{ -\item{\code{name}}{The name of the product} - -\item{\code{...}}{Identifiers of the active ingredients} - -\item{\code{concentrations}}{Concentrations of the active ingredients} - -\item{\code{concentration_units}}{Defaults to g/L} - -\item{\code{density}}{The density} - -\item{\code{density_units}}{Defaults to g/L} -} -\if{html}{\out{
}} -} -} \if{html}{\out{
}} \if{html}{\out{}} \if{latex}{\out{\hypertarget{method-ppp-clone}{}}} -\subsection{Method \code{clone()}}{ -The objects of this class are cloneable with this method. -\subsection{Usage}{ -\if{html}{\out{
}}\preformatted{ppp$clone(deep = FALSE)}\if{html}{\out{
}} +\subsection{\code{ppp$clone()}}{ + The objects of this class are cloneable with this method. + \subsection{Usage}{ + \if{html}{\out{
}} + \preformatted{ppp$clone(deep = FALSE)} + \if{html}{\out{
}} + } + \subsection{Arguments}{ + \if{html}{\out{
}} + \describe{ + \item{\code{deep}}{Whether to make a deep clone.} + } + \if{html}{\out{
}} + } } -\subsection{Arguments}{ -\if{html}{\out{
}} -\describe{ -\item{\code{deep}}{Whether to make a deep clone.} -} -\if{html}{\out{
}} -} -} } -- cgit v1.2.3