#!/usr/bin/R -f
# This piece of code will test the package on main platforms
#
# Clone then
pkgdir <- "/tmp/ramdisk/Rtesting"
git_address <-
system(paste0("git clone https://github.com/spatial-ews/spatialwarnings ",
pkgdir))
# Check on local computer
devtools::check(pkg = pkgdir, cran = TRUE)
# Check on windows
devtools::check_win_devel(pkg = pkgdir)
devtools::check_win_release(pkg = pkgdir)
devtools::check_win_oldrelease(pkg = pkgdir)
# Check on Solaris
rhub::check_on_solaris(pkgdir)
# Check on common platforms for CRAN
rhub::check_for_cran(pkgdir)
# => Results are sent by email
# Cleanup
unlink(pkgdir, recursive = TRUE)
# file.remove(dir(".", full.names = TRUE))
# file.remove(dir(".", full.names = TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.