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