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

2020-03-15 Thread R. Mark Sharp
I have been asked to provide examples within the Rd files of my package 
(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
rmsh...@me.com












[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] packaging biosig for R

2020-03-15 Thread Duncan Murdoch
I suspect the question in this case depends on the availability of 
libbiosig.  If CRAN test machines don't have that and its source isn't 
included in the R package, then it will fail on initial install.  CRAN 
doesn't have a lot of resources to install difficult libraries; I have 
no idea if that applies in this case.


I believe the most robust way to handle this sort of package is to have 
a configure script that looks for the lib on the installing machine, and 
uses that copy if found, otherwise compiles it from source.


Duncan Murdoch



On 15/03/2020 3:41 p.m., Jeff Newmiller wrote:

I am just a lurker (not representing CRAN) but I am having a hard time 
understanding your question.

Binary packages are a convenience for users, not a method for submitting 
packages. When you have an R package accepted it is accepted in source format.
If it doesn't exclude support for Windows or MacOSX then it will (in time) be 
compiled into a binary form for distribution in addition to being distributed 
is source form.

As the maintainer, your responsibility is merely to confirm that your source 
package is properly configured to be built in binary form before you submit it 
to CRAN. This is normally accomplished by successfully building it as binary in 
a testing environment. There are various guides out there that can be helpful 
in accomplishing this, e.g. [1].

[1] https://kbroman.org/pkg_primer/pages/cran.htm


On March 15, 2020 1:07:41 AM PDT, "Alois Schlögl"  
wrote:


Dear R packagers,


the Biosig project [1] supports reading of about 50 different data
format [2]. Recently, a language binding to R was added, because a user
of Biosig asked for it.


I've read the policy [3], and it seems the biosig would qualify as
binary package. The underlying library (libbiosig) can be installed

- on linux from source, or through debian/ubuntu package

- on MacOSX through Homebrew.

- for Windows I'm using MXE mingw-cross-compiler environment to build
libbiosig.dll


Would it be feasible to provide a package of biosig on cran ? What need
to be considered ?


Kind regards

    Alois



[1] http://biosig.sourceforge.net/download.html

[2] http://pub.ist.ac.at/~schloegl/biosig/TESTED

[3] https://cran.r-project.org/web/packages/policies.html

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel




__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


[R-pkg-devel] Warning in dir.create(vd2 <- "vign_test"): 'vign_test' already exists

2020-03-15 Thread Spencer Graves

Hello, All:


  Under Windows 10, "R CMD check sos_2.0-1.tar.gz" cloned from 
"https://github.com/sbgraves237/sos; ends with:



* checking rebuild of vignettes outputs ...Warning in dir.create(vd2 <- 
"vign_test"):  'vign_test' already exists



  Under macOS 10.15.3 it finishes fine.


  "grep 'vign_test'" failed to find anything.


  ???
  Thanks,
  Spencer Graves


p.s.  Running R 3.6.3 on both machines with "update.packates()" clean.

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] packaging biosig for R

2020-03-15 Thread Jeff Newmiller
I am just a lurker (not representing CRAN) but I am having a hard time 
understanding your question.

Binary packages are a convenience for users, not a method for submitting 
packages. When you have an R package accepted it is accepted in source format.
If it doesn't exclude support for Windows or MacOSX then it will (in time) be 
compiled into a binary form for distribution in addition to being distributed 
is source form.

As the maintainer, your responsibility is merely to confirm that your source 
package is properly configured to be built in binary form before you submit it 
to CRAN. This is normally accomplished by successfully building it as binary in 
a testing environment. There are various guides out there that can be helpful 
in accomplishing this, e.g. [1].

[1] https://kbroman.org/pkg_primer/pages/cran.html


On March 15, 2020 1:07:41 AM PDT, "Alois Schlögl"  
wrote:
>
>Dear R packagers,
>
>
>the Biosig project [1] supports reading of about 50 different data
>format [2]. Recently, a language binding to R was added, because a user
>of Biosig asked for it. 
>
>
>I've read the policy [3], and it seems the biosig would qualify as
>binary package. The underlying library (libbiosig) can be installed
>
>- on linux from source, or through debian/ubuntu package
>
>- on MacOSX through Homebrew.
>
>- for Windows I'm using MXE mingw-cross-compiler environment to build
>libbiosig.dll 
>
>
>Would it be feasible to provide a package of biosig on cran ? What need
>to be considered ?
>
>
>Kind regards
>
>   Alois
>
>
>
>[1] http://biosig.sourceforge.net/download.html
>
>[2] http://pub.ist.ac.at/~schloegl/biosig/TESTED
>
>[3] https://cran.r-project.org/web/packages/policies.html
>
>__
>R-package-devel@r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-package-devel

-- 
Sent from my phone. Please excuse my brevity.

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


[R-pkg-devel] packaging biosig for R

2020-03-15 Thread Alois Schlögl


Dear R packagers,


the Biosig project [1] supports reading of about 50 different data
format [2]. Recently, a language binding to R was added, because a user
of Biosig asked for it. 


I've read the policy [3], and it seems the biosig would qualify as
binary package. The underlying library (libbiosig) can be installed

- on linux from source, or through debian/ubuntu package

- on MacOSX through Homebrew.

- for Windows I'm using MXE mingw-cross-compiler environment to build
libbiosig.dll 


Would it be feasible to provide a package of biosig on cran ? What need
to be considered ?


Kind regards

   Alois



[1] http://biosig.sourceforge.net/download.html

[2] http://pub.ist.ac.at/~schloegl/biosig/TESTED

[3] https://cran.r-project.org/web/packages/policies.html

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel