[R-pkg-devel] Installing Tests with R Build
Joshua Ulrich
josh.m.ulrich at gmail.com
Thu Nov 23 15:07:55 CET 2017
On Wed, Nov 22, 2017 at 4:21 PM, Bill Denney <bill at denney.ws> wrote:
> Hi,
>
> I have a package that I'm trying to make a validation vignette for. The validation vignette is intended to assist users with documentation that the tests work.
>
> When running R BUILD now (via Travis CI), I get an error that the build failed trying to build the vignettes. For R CMD install, I can add --install-tests. Is there a way to control R BUILD so that the installation includes test installation?
>
Put the tests you want to install into a directory inside the inst/
directory (e.g. inst/tests/). That directory will be copied to the
top-level of the installed package directory.
> Thanks,
>
> Bill
> ______________________________________________
> R-package-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
R/Finance 2017 | www.rinfinance.com
More information about the R-package-devel
mailing list