Skip to content
Back to formatted view

Raw Message

Message-ID: <68d0e7c9-4fbd-8945-d361-e997ab6542c4@statistik.tu-dortmund.de>
Date: 2020-03-16T13:13:16Z
From: Uwe Ligges
Subject: [R-pkg-devel] Examples for functions called by Shiny server
In-Reply-To: <3294C38C-AA81-4FDB-8687-99AE3BF23162@me.com>

In general:

- You need examples for exported functions.
- You should test s much of the package as possible, of course.
- For shiny you have code on ./inst, but there should only be code for 
shiny, not additional fdiunctionaliyt that should be striiped out and 
made availabe via functions defined in ./R.

I haven't looked at the details, but if you fullfilled tjhe above, 
please simply resubmit or in case you do not need to change anytrhing, 
simply say so and respond to the CRAN team member CCing 
cran-submissions at ...


Best,
Uwe Ligges





On 16.03.2020 05:22, R. Mark Sharp wrote:
> I have been asked to provide examples within the Rd files of my package (github.com/rmsharp/nprcgenekeepr <http://github.com/rmsharp/nprcgenekeepr>) by the CRAN package reviewer. I have to export those functions called by the server.R script (or use ::: notation), which in turn generates an Rd file that is to have the example.
> 
> I cannot think of a meaningful example for a function that creates the content of a new Shiny tabpanel when an error is detected.
> 
> Suggestions are eagerly sought.
> 
> Mark
> R. Mark Sharp, Ph.D.
> Data Scientist and Biomedical Statistical Consultant
> 7526 Meadow Green St.
> San Antonio, TX 78251
> mobile: 210-218-2868
> rmsharp at me.com
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-package-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>