[R-pkg-devel] Submission did not pass incoming checks
    Serguei Sokol 
    @ergue|@@oko| @end|ng |rom gm@||@com
       
    Mon Feb 28 15:17:03 CET 2022
    
    
  
Le 27/02/2022 à 19:15, spsanderson using gmail.com a écrit :
> Hi everyone, I have submitted my package healthyR.au to you CRAN it passes all the Arhubb checks properly but when I submit the CRAN I get an error at the following link
> 
> https://win-builder.r-project.org/incoming_pretest/healthyR.ai_0.0.6_20220227_175008/
> 
> I’m a little confused.
I don't see any error, only notes and warning.
For notes, they are pretty explicit, saying
Found if() conditions comparing class() to string:
File ‘healthyR.ai/R/vec-hai-fourier-discrete.R’: if (class(.x) == 
"Date") ...
As class(x) can be a vector of strings, not just a string, it is much 
safer to use constructs like 'if (inherits(.x, "Date")) ...'
As to the warning, it says that you did not increment the package 
version which should be done on every new submission.
Best,
Serguei.
> 
> 
> Sent from my iPhone
> www.spsanderson.com
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
    
    
More information about the R-package-devel
mailing list