inst/examples/c4c.r

#!/usr/bin/env r
#
# Minimal rhub::check_for_cran() wrapper
#
# Copyright (C) 2016 - 2020  Dirk Eddelbuettel
#
# Released under GPL (>= 2)

checkargs <- "--no-manual --no-vignettes"
checkfile <- function(f) if (file.exists(f)) rhub::check_for_cran(f, check_args=checkargs)
if (length(argv) == 0) argv <- "."
sapply(argv, checkfile)

Try the littler package in your browser

Any scripts or data that you put into this service are public.

littler documentation built on March 31, 2023, 6:49 p.m.