R/internal.R

Defines functions release_questions inspect_equality

inspect_equality <- function(x, y, tol = .Machine$double.eps ^ 0.5) {
  abs(x - y) < tol
}

# nocov start

release_questions <- function() {
  c(
    "Have you updated the version number in inst/CITATION (two fields)?",
    "Have you run all the tests listed in cran-comments.md?",
    "Have you evaluated the impact on downstream dependencies?",
    "Have you updated the 'downstream dependencies' section of cran-comments?"
  )
}

# nocov end

Try the inspector package in your browser

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

inspector documentation built on June 18, 2021, 1:06 a.m.