Skip to content

[R-pkg-devel] Examples for functions called by Shiny server

2 messages · Mark Sharp, Uwe Ligges

#
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
#
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: