Skip to content
Back to formatted view

Raw Message

Message-ID: <CANROs4e_KE0RsQ7Sh1PNrOgGKWinzssnyg5QbsKHed91D7m93A@mail.gmail.com>
Date: 2012-05-01T15:01:17Z
From: Yihui Xie
Subject: Usage line in .pdf version of manual is truncated
In-Reply-To: <CANz9Z_Ji5obwjrgQaXrm-G4kQ1yj2MMpsvsEy0RwDXc_kSqgoA@mail.gmail.com>

There is actually another approach which can do the job automatically;
see the function reformat_code() in R2roxygen (remember to back up
your Rd files before you use it).

If you document your package with roxygen2, things can be even easier
-- just call the function rab() to roxygenize and reformat code. This
is what I do with all my packages.

Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA


On Mon, Apr 30, 2012 at 10:37 PM, Joshua Wiley <jwiley.psych at gmail.com> wrote:
> Break the line :)
>
> On Mon, Apr 30, 2012 at 12:34 PM, Zeeberg, Barry (NIH/NCI) [E]
> <zeebergb at mail.nih.gov> wrote:
>> I am creating a package, and a rather long usage line for one function becomes truncated in the generated .pdf manual. Is there a way that I can prevent that truncation?