#403 Add the enviromental variable to check for URIs.

Open Lluís llrs

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 1 of 12 files from the diff.

@@ -9,8 +9,8 @@
Loading
9 9
#' * It checks the package on R-release and R-devel.
10 10
#' * It uses the `--as-cran` argument to `R CMD check`.
11 11
#' * It requires all dependencies, including suggested ones.
12 -
#' 
13 -
#' @details This function is wrapped by `devtools::check_rhub()` which you 
12 +
#'
13 +
#' @details This function is wrapped by `devtools::check_rhub()` which you
14 14
#' might find useful if you load `devtools` via your .Rprofile (see `usethis::use_devtools()`).
15 15
#'
16 16
#' @param check_args Arguments for `R CMD check`. By default `--as-cran`
@@ -19,6 +19,8 @@
Loading
19 19
#'   `_R_CHECK_FORCE_SUGGESTS_=true` is set, to require all packages used.
20 20
#'   `_R_CHECK_CRAN_INCOMING_USE_ASPELL_=true` is also set, to use the
21 21
#'   spell checker.
22 +
#'  `_R_CHECK_CRAN_INCOMING_CHECK_FILE_URIS_=true` is set to check for valid
23 +
#'  url.
22 24
#' @param platforms Character vector of platform ids to use
23 25
#'   (see [platforms()]), or `NULL`. If `NULL`, then a set of default
24 26
#'   platforms will be selected, see below.
@@ -37,7 +39,8 @@
Loading
37 39
check_for_cran <- function(
38 40
  path = ".", email = NULL, check_args = "--as-cran",
39 41
  env_vars = c("_R_CHECK_FORCE_SUGGESTS_" = "true",
40 -
    "_R_CHECK_CRAN_INCOMING_USE_ASPELL_" = "true"), platforms = NULL,
42 +
    "_R_CHECK_CRAN_INCOMING_USE_ASPELL_" = "true",
43 +
    "_R_CHECK_CRAN_INCOMING_CHECK_FILE_URIS_" = "true"), platforms = NULL,
41 44
  ...) {
42 45
43 46
  path <- normalizePath(path)

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
R 28.03%
Project Totals (26 files) 28.03%
Loading