Displaying 4 results from an estimated 4 matches for "dummyfun".
2018 May 14
3
Rd parser throws error for user macros invoked with empty argument
...\CRANpkg{}. In this example it doesn't make sense to use empty argument but the error is not specific to this particular macro.
------
Georgi Boshnakov
Create an Rd file containing system macro \CRANpkg{bibtex}, parse_Rd() is ok:
=================
fn <- tempfile()
writeLines("\\name{dummyfun}
\\alias{dummyfun}
\\title{Dummy title}
\\description{Dummy description}
\\usage{
dummyfun(x, ...)
}
\\arguments{
\\item{x}{a value.}
\\item{\\dots}{further arguments.}
}
\\details{
\\CRANpkg{bibtex}
}
", fn)
> tools::parse_Rd(fn)
...
\details{
\href{{https://CRAN.R-project.org...
2018 May 25
2
Rd parser throws error for user macros invoked with empty argument
...e sense to use empty argument but the error is not specific to this particular macro.
>
> ------
> Georgi Boshnakov
>
>
> Create an Rd file containing system macro \CRANpkg{bibtex}, parse_Rd() is ok:
>
> =================
> fn <- tempfile()
> writeLines("\\name{dummyfun}
> \\alias{dummyfun}
> \\title{Dummy title}
> \\description{Dummy description}
> \\usage{
> dummyfun(x, ...)
> }
> \\arguments{
> \\item{x}{a value.}
> \\item{\\dots}{further arguments.}
> }
> \\details{
> \\CRANpkg{bibtex}
> }
> ", fn)
>...
2018 May 25
0
Rd parser throws error for user macros invoked with empty argument
...e sense to use empty argument but the error is not specific to this particular macro.
>
> ------
> Georgi Boshnakov
>
>
> Create an Rd file containing system macro \CRANpkg{bibtex}, parse_Rd() is ok:
>
> =================
> fn <- tempfile()
> writeLines("\\name{dummyfun}
> \\alias{dummyfun}
> \\title{Dummy title}
> \\description{Dummy description}
> \\usage{
> dummyfun(x, ...)
> }
> \\arguments{
> \\item{x}{a value.}
> \\item{\\dots}{further arguments.}
> }
> \\details{
> \\CRANpkg{bibtex}
> }
> ", fn)
>...
2018 Jun 01
0
user macros with multi-line arguments in Rd (was Re: Rd parser throws error for user macros invoked with empty argument)
...ror is not specific to this particular macro.
>>
>> ------
>> Georgi Boshnakov
>>
>>
>> Create an Rd file containing system macro \CRANpkg{bibtex}, parse_Rd() is ok:
>>
>> =================
>> fn <- tempfile()
>> writeLines("\\name{dummyfun}
>> \\alias{dummyfun}
>> \\title{Dummy title}
>> \\description{Dummy description}
>> \\usage{
>> dummyfun(x, ...)
>> }
>> \\arguments{
>> \\item{x}{a value.}
>> \\item{\\dots}{further arguments.}
>> }
>> \\details{
>>...