[R-sig-Debian] running unit tests on the stringr package

kamaraju kusumanchi raju.mailinglists at gmail.com
Thu Apr 23 03:46:39 CEST 2015


On Mon, Apr 20, 2015 at 5:36 AM, Johannes Ranke <jranke at uni-bremen.de> wrote:
> Dear Raju
>
> I agree to Dirk that this is not really the best place for these matters, but
> as I got curious, I checked and found you should use test_package() and not
> test_dir(), as the latter does not load unexported functions of the package
> (such as check_string()) that may occur in the tests.
>
> For packaging of r-cran-stringr, it is probably most efficient to file a bug
> report there because of the missing Suggests for r-cran-testthat.
>
> Kind regards,
>
> Johannes

Thanks Johannes. I will check out your suggestions.

raju



More information about the R-SIG-Debian mailing list