Displaying 3 results from an estimated 3 matches for "applyinhelp1".
Did you mean:
applyinhelp2
2020 May 22
3
Compatibility issues caused by new simplify argument in apply function
...a \usage block"
Does anybody have an idea how to proceed. The full code is available below.
Thanks
Lukas
*1. Code for full usage section:*
..
\description{
Apply function over all spectra or a subset of spectra in a \code{Speclib}.
}
\Sexpr[echo=TRUE,results=rd,stage=install]{
hsdar:::.applyInHelp1("Speclib", usage = TRUE)
}
\arguments{
..
*Function .applyInHelp1*
.applyInHelp1 <- function(fun_name, usage)
{
if (usage)
{
if ("simplify" %in% names(formals(base::apply)))
{
return(paste0("\\usage{\n",
"\\S4method{appl...
2020 May 22
2
Compatibility issues caused by new simplify argument in apply function
...gt; > Lukas
> >
> >
> > *1. Code for full usage section:*
> > ..
> > \description{
> > Apply function over all spectra or a subset of spectra in a \code{Speclib}.
> > }
> >
> > \Sexpr[echo=TRUE,results=rd,stage=install]{
> > hsdar:::.applyInHelp1("Speclib", usage = TRUE)
> > }
> >
> > \arguments{
> > ..
> >
> > *Function .applyInHelp1*
> > .applyInHelp1 <- function(fun_name, usage)
> > {
> > if (usage)
> > {
> > if ("simplify" %in% names(form...
2020 May 22
0
Compatibility issues caused by new simplify argument in apply function
...l code is available below.
>
> Thanks
>
> Lukas
>
>
> *1. Code for full usage section:*
> ..
> \description{
> Apply function over all spectra or a subset of spectra in a \code{Speclib}.
> }
>
> \Sexpr[echo=TRUE,results=rd,stage=install]{
> hsdar:::.applyInHelp1("Speclib", usage = TRUE)
> }
>
> \arguments{
> ..
>
> *Function .applyInHelp1*
> .applyInHelp1 <- function(fun_name, usage)
> {
> if (usage)
> {
> if ("simplify" %in% names(formals(base::apply)))
> {
> return(pas...