Re: [R-pkg-devel] updating my package to fix if () condition has length > 1

2018-05-04 Thread peter dalgaard
Um, what are you saying here? You are (AFAIK) not going to get that Error unless "method" has length > 1. It is not a synthetic check inserted by the CRAN nitpickers... Rather than "break the thermometer" by doing method[1], perhaps you should diagnose the problem, say by inserting something lik

Re: [R-pkg-devel] updating my package to fix if () condition has length > 1

2018-05-04 Thread Maxime Turgeon
Hi John, I think you misread the check output. You got a WARNING because you didn't change the package version (the current 0.1.0 is the same as the incoming 0.1.0). At the end of the output, you also get the results of R CMD check on the current version (i.e. the one on CRAN). Of course, the

[R-pkg-devel] updating my package to fix if () condition has length > 1

2018-05-04 Thread Lawrence, John P
I received the following message from CRAN team autocheck service after updating my package: " package SurvDisc_0.1.0.tar.gz does not pass the incoming checks automatically, please see the following pre-tests: Windows: