Re: [R-pkg-devel] ORCID disappearing in auto-generated Authors: field?

2019-03-05 Thread Uwe Ligges
Yes, older versions of R do not know about ORCID, hence do not get the comparison correct. Best, Uwe Ligges On 05.03.2019 20:56, Ben Bolker wrote: PS. This was for R 3.4.4: maybe that's relevant? (OTOH the CRAN oldrel checks aren't triggering this NOTE, and I can't find anything at all re

[R-pkg-devel] Handling ERROR on Solaris

2019-03-05 Thread Ralf Stubner
Dear List, my recent upload of dqrng v0.1.0 has triggered an ERROR on Solaris:¹ One of the new tests results in a segmentation fault. During this test some C++ code is compiled using Rcpp::sourceCpp and the resulting functions are being called for different input. Unfortunately I cannot reproduce

Re: [R-pkg-devel] ORCID disappearing in auto-generated Authors: field?

2019-03-05 Thread Ben Bolker
PS. This was for R 3.4.4: maybe that's relevant? (OTOH the CRAN oldrel checks aren't triggering this NOTE, and I can't find anything at all recent in R's NEWS file ... I may invoke Clarke's third law ("any sufficiently advanced technology is indistinguishable from magic"

[R-pkg-devel] ORCID disappearing in auto-generated Authors: field?

2019-03-05 Thread Ben Bolker
I'm getting this NOTE on r-hub's linux-x86_64-ubuntu-gcc platform. It seems weird because the Author field was automatically derived from Authors@R (there is no Author: field in the DESCRIPTION file ...) I think I'm going to write this off as a glitch (I haven't seen it on my own Linux or Ma

Re: [R-pkg-devel] CRAN submission examples don't run

2019-03-05 Thread Uwe Ligges
On 05.03.2019 12:59, Horia Yeb wrote: Hi and thank you Joris for the response, Seeing as my functions are interactive, wouldn't the CRAN check (on submission) return errors seins that it won't run any of the examples because they are interactive? Well it did in a way as the check was not

Re: [R-pkg-devel] CRAN submission examples don't run

2019-03-05 Thread Horia Yeb
Hi and thank you Joris for the response, Seeing as my functions are interactive, wouldn't the CRAN check (on submission) return errors seins that it won't run any of the examples because they are interactive? Sorry if the questions sound dumb! Regards, Timothy On Tue, 5 Mar 2019 at 12:56, Joris

Re: [R-pkg-devel] CRAN submission examples don't run

2019-03-05 Thread Joris Meys
Dear Timothy, Uwe meant to include that code in the _examples_, not in your actual functions. Whenever an example is expected to open a web page, use if(interactive()) to avoid it from being run by the test infrastructure. On a sidenote: It would make sense to add this as a first check to functio

Re: [R-pkg-devel] CRAN submission examples don't run

2019-03-05 Thread Horia Yeb
Thank Uwe for the answer, But the purpose of the package is –when the input data is dealt with– open a .html page. Does that mean in my R code I should write : [] if(interactive()) { .Call(C++ code) } In my c++ code the interactive part is a*system(html_path);*is there an equivalent

Re: [R-pkg-devel] CRAN submission examples don't run

2019-03-05 Thread Uwe Ligges
Apparently your checks wait for the brower beeing closed. Do not expect interactions in the examples. Please only run non interactive functionality in the examples and enclose ingteractice parts within if(interactive()){ ...} Best, Uwe Ligges On 05.03.2019 11:10, Horia Yeb wrote: Hi all

[R-pkg-devel] CRAN submission examples don't run

2019-03-05 Thread Horia Yeb
Hi all, I am still trying to submit my first package, I've corrected a few bibs and bobs and submitted with running examples. On my computer running check --as-cran, the examples run perfectly, but on submission they don't seem to run for some reason. Here is the return from submission, 3 NOTEs ( t