[R-pkg-devel] inconsistent between windows and debian

2018-04-24 Thread Xubo Yue
Hey I just got feedback from CRAN auto-checking and find a wired thing package brainKCCA_0.1.0.tar.gz does not pass the incoming checks automatically, please see the following pre-tests: Windows:

Re: [R-pkg-devel] inconsistent between windows and debian

2018-04-24 Thread Uwe Ligges
On 24.04.2018 06:01, Xubo Yue wrote: Hey I just got feedback from CRAN auto-checking and find a wired thing package brainKCCA_0.1.0.tar.gz does not pass the incoming checks automatically, please see the following pre-tests: Windows:

[R-pkg-devel] some notes

2018-04-24 Thread Xubo Yue
Hey I just got feedback from CRAN auto-checking and here are some notes I cannot resolve: * checking CRAN incoming feasibility ... NOTE Maintainer: 'Jian Kang ' New submission Possibly mis-spelled words in DESCRIPTION: Kang (7:196) I am not sure how to solve this. Also, here are some runnin

Re: [R-pkg-devel] some notes

2018-04-24 Thread Duncan Murdoch
On 24/04/2018 10:29 AM, Xubo Yue wrote: Hey I just got feedback from CRAN auto-checking and here are some notes I cannot resolve: * checking CRAN incoming feasibility ... NOTE Maintainer: 'Jian Kang ' New submission Possibly mis-spelled words in DESCRIPTION: Kang (7:196) I am not sure how

Re: [R-pkg-devel] vignette via devtools: sometimes found, sometimes not (same package)

2018-04-24 Thread Alexandre Courtiol
Dear all, I have finally understood why my package installed from GitHub (via devtools or drat) would display pre-built vignettes after a call to browseVignettes() on most but not all computers (despite the vignettes being physically present in all): if the package is installed on a computer that

Re: [R-pkg-devel] some notes

2018-04-24 Thread Spencer Graves
On 2018-04-24 09:50, Duncan Murdoch wrote: On 24/04/2018 10:29 AM, Xubo Yue wrote: Hey I just got feedback from CRAN auto-checking and here are some notes I cannot resolve: * checking CRAN incoming feasibility ... NOTE Maintainer: 'Jian Kang ' New submission Possibly mis-spelled words in D

Re: [R-pkg-devel] some notes

2018-04-24 Thread Uwe Ligges
On 24.04.2018 18:45, Spencer Graves wrote: On 2018-04-24 09:50, Duncan Murdoch wrote: On 24/04/2018 10:29 AM, Xubo Yue wrote: Hey I just got feedback from CRAN auto-checking and here are some notes I cannot resolve: * checking CRAN incoming feasibility ... NOTE Maintainer: 'Jian Kang ' N

Re: [R-pkg-devel] some notes

2018-04-24 Thread Duncan Murdoch
On 24/04/2018 12:48 PM, Uwe Ligges wrote: On 24.04.2018 18:45, Spencer Graves wrote: [... deleting irrelevant stuff...]   If it becomes infeasible to find smaller datasets, etc., you can cut out certain tests with a construct like the following: if(!fda::CRAN()){ # ... tests to run

Re: [R-pkg-devel] some notes

2018-04-24 Thread Xubo Yue
Everyone, I appreciate for your help! Hey Uwe Ligges: There are four examples in my package: read data, calculate correlation, plot, and summarize connection network. The plot is the slowest one and I have to use donttest{} to avoid testing it on CRAN. All other examples are fast and take less th

Re: [R-pkg-devel] some notes

2018-04-24 Thread Spencer Graves
On 2018-04-24 12:01, Duncan Murdoch wrote: On 24/04/2018 12:48 PM, Uwe Ligges wrote: On 24.04.2018 18:45, Spencer Graves wrote: [... deleting irrelevant stuff...]     If it becomes infeasible to find smaller datasets, etc., you can cut out certain tests with a construct like the fo

Re: [R-pkg-devel] some notes

2018-04-24 Thread Uwe Ligges
On 24.04.2018 19:15, Spencer Graves wrote: On 2018-04-24 12:01, Duncan Murdoch wrote: On 24/04/2018 12:48 PM, Uwe Ligges wrote: On 24.04.2018 18:45, Spencer Graves wrote: [... deleting irrelevant stuff...]     If it becomes infeasible to find smaller datasets, etc., you can cut

Re: [R-pkg-devel] some notes

2018-04-24 Thread Uwe Ligges
On 24.04.2018 19:07, Xubo Yue wrote: Everyone, I appreciate for your help! Hey Uwe Ligges: There are four examples in my package: read data, calculate correlation, plot, and summarize connection network. The plot is the slowest one and I have to use donttest{} to avoid testing it on CRAN. A

Re: [R-pkg-devel] some notes

2018-04-24 Thread Xubo Yue
Yes! Thank you very much! On Tue, Apr 24, 2018 at 1:24 PM, Uwe Ligges wrote: > > > On 24.04.2018 19:07, Xubo Yue wrote: > >> Everyone, I appreciate for your help! >> >> Hey Uwe Ligges: >> >> There are four examples in my package: read data, calculate correlation, >> plot, and summarize conne

Re: [R-pkg-devel] some notes

2018-04-24 Thread Duncan Murdoch
On 24/04/2018 1:07 PM, Xubo Yue wrote: Everyone, I appreciate for your help! Hey Uwe Ligges: There are four examples in my package: read data, calculate correlation, plot, and summarize connection network. The plot is the slowest one and I have to use donttest{} to avoid testing it on CRAN. A

Re: [R-pkg-devel] some notes

2018-04-24 Thread Uwe Ligges
On 24.04.2018 19:40, Duncan Murdoch wrote: On 24/04/2018 1:07 PM, Xubo Yue wrote: Everyone, I appreciate for your help! Hey Uwe Ligges: There are four examples in my package: read data, calculate correlation, plot, and summarize connection network. The plot is the slowest one and I have to

Re: [R-pkg-devel] some notes

2018-04-24 Thread Xubo Yue
Hey I am a little bit confused. Must I use vignette to show example of plot? Or I can simple ignore vignette? Thank you! On Tue, Apr 24, 2018 at 1:44 PM, Uwe Ligges wrote: > > > On 24.04.2018 19:40, Duncan Murdoch wrote: > >> On 24/04/2018 1:07 PM, Xubo Yue wrote: >> >>> Everyone, I appreciate

Re: [R-pkg-devel] some notes

2018-04-24 Thread Uwe Ligges
On 24.04.2018 19:50, Xubo Yue wrote: Hey I am a little bit confused. Must I use vignette to show example of plot? Or I can simple ignore vignette? You can ignore the vignette suggestion, it was just a proposal to present longer runing stuff more elaborated as in your examples. Best, Uwe

Re: [R-pkg-devel] some notes

2018-04-24 Thread Xubo Yue
Oh thanks for clarification. You are so nice! On Tue, Apr 24, 2018 at 1:53 PM, Uwe Ligges wrote: > > > On 24.04.2018 19:50, Xubo Yue wrote: > >> Hey >> >> I am a little bit confused. Must I use vignette to show example of plot? >> Or I can simple ignore vignette? >> > > You can ignore the vignet

Re: [R-pkg-devel] some notes

2018-04-24 Thread Spencer Graves
On 2018-04-24 12:23, Uwe Ligges wrote: > > > On 24.04.2018 19:15, Spencer Graves wrote: >> >> >> On 2018-04-24 12:01, Duncan Murdoch wrote: >>> On 24/04/2018 12:48 PM, Uwe Ligges wrote: On 24.04.2018 18:45, Spencer Graves wrote: >>> [... deleting irrelevant stuff...] > > >>

Re: [R-pkg-devel] vignette via devtools: sometimes found, sometimes not (same package)

2018-04-24 Thread Hadley Wickham
On Fri, Apr 20, 2018 at 12:59 AM, Martin Maechler wrote: >> Thierry Onkelinx >> on Fri, 20 Apr 2018 09:14:44 +0200 writes: > > > Dear Alex, Another idea is to use pkgdown > > (http://pkgdown.r-lib.org) to convert all the > > documentation of your package (include the vigne