Rstan check

Hello Community,

I would like to know whether anyone had similar problems with Rstan before in CHECKing a package using Rstan.

I need to get rid of these warning to be able to submit. I can’t find the cause.

── R CMD check results ────────────────────────────────── ppcseq 0.0.0.9000 ────
Duration: 13m 37.8s

> checking S3 generic/method consistency ... WARNING
  Found more than one class "Rcpp_model_negBinomial_MPI" in cache; using the first, from namespace 'ppcseq'
  Also defined by ‘ppcSeq’
  Found more than one class "Rcpp_model_negBinomial_MPI" in cache; using the first, from namespace 'ppcseq'
  Also defined by ‘ppcSeq’
  See section ‘Generic functions and methods’ in the ‘Writing R
  Extensions’ manual.

> checking for missing documentation entries ... WARNING
  Found more than one class "Rcpp_model_negBinomial_MPI" in cache; using the first, from namespace 'ppcseq'
  Also defined by ‘ppcSeq’
  Found more than one class "Rcpp_model_negBinomial_MPI" in cache; using the first, from namespace 'ppcseq'
  Also defined by ‘ppcSeq’
  All user-level objects in a package should have documentation entries.
  See chapter ‘Writing R documentation files’ in the ‘Writing R
  Extensions’ manual.

> checking for code/documentation mismatches ... WARNING
  Found more than one class "Rcpp_model_negBinomial_MPI" in cache; using the first, from namespace 'ppcseq'
  Also defined by ‘ppcSeq’
  Found more than one class "Rcpp_model_negBinomial_MPI" in cache; using the first, from namespace 'ppcseq'
  Also defined by ‘ppcSeq’

I’ve never seen such an error, and google doesn’t seem to help either. It’s a long shot, but the first line of R CMD check mentions ppcseq, while the error messages use ppcSeq: is it possible you have two versions around with different capitalization?

1 Like