check_cran

0th

Percentile

Deprecated Functions

These functions are Deprecated in this release of devtools, they will be marked as Defunct and removed in a future version.

Keywords
internal
Usage
check_cran(pkgs, libpath = file.path(tempdir(), "R-lib"),
  srcpath = libpath, check_libpath = libpath, bioconductor = FALSE,
  type = getOption("pkgType"), threads = getOption("Ncpus", 1),
  check_dir = tempfile("check_cran"),
  install_dir = tempfile("check_cran_install"), env_vars = NULL,
  quiet_check = TRUE)

build_win(pkg = ".", version = c("R-devel", "R-release"))

create(path, description = getOption("devtools.desc"), check = FALSE, rstudio = TRUE, quiet = FALSE)

setup(path = ".", description = getOption("devtools.desc"), check = FALSE, rstudio = TRUE, quiet = FALSE)

create_description(path = ".", extra = getOption("devtools.desc"), quiet = FALSE)

use_git(message = "Initial commit", pkg = ".")

use_github(auth_token = github_pat(), private = FALSE, pkg = ".", host = "https://api.github.com", protocol = c("ssh", "https"), credentials = NULL, ...)

use_git_hook(hook, script, pkg = ".")

use_github_links(pkg = ".", auth_token = github_pat(), host = "https://api.github.com")

use_testthat(pkg = ".")

use_test(name, pkg = ".")

use_rstudio(pkg = ".")

use_vignette(name, pkg = ".")

use_rcpp(pkg = ".")

use_travis(pkg = ".", browse = interactive())

use_coverage(pkg = ".", type = c("codecov", "coveralls"))

use_appveyor(pkg = ".")

use_package_doc(pkg = ".")

use_package(package, type = "Imports", pkg = ".")

use_data(..., pkg = ".", internal = FALSE, overwrite = FALSE, compress = "bzip2")

use_data_raw(pkg = ".")

use_build_ignore(files, escape = TRUE, pkg = ".")

use_readme_rmd(pkg = ".")

use_readme_md(pkg = ".")

use_news_md(pkg = ".")

use_revdep(pkg = ".")

use_cran_comments(pkg = ".")

use_code_of_conduct(pkg = ".")

use_cran_badge(pkg = ".")

use_mit_license(pkg = ".", copyright_holder = getOption("devtools.name", ""))

use_gpl3_license(pkg = ".")

use_dev_version(pkg = ".")

revdep_email(pkg = ".", date, version, author = getOption("devtools.name"), draft = TRUE, unsent = NULL, template = "revdep/email.md", only_problems = TRUE)

revdep_check_save_summary(pkg = ".")

revdep_check_print_problems(pkg = ".")

revdep_check(pkg = ".", recursive = FALSE, ignore = NULL, dependencies = c("Depends", "Imports", "Suggests", "LinkingTo"), skip = character(), libpath = getOption("devtools.revdep.libpath"), srcpath = libpath, bioconductor = FALSE, type = getOption("pkgType"), threads = getOption("Ncpus", 1), env_vars = NULL, check_dir = NULL, install_dir = NULL, quiet_check = TRUE)

revdep_check_resume(pkg = ".", ...)

revdep_check_reset(pkg = ".")

Details

Instead of the use_xyz functions from devtools use use_testthat.

Instead of the revdep functions in devtools a better alternative is ‘revdepcheck::revdep_check()’.

Aliases
  • check_cran
  • build_win
  • create
  • setup
  • create_description
  • use_git
  • use_github
  • use_git_hook
  • use_github_links
  • use_testthat
  • use_test
  • use_rstudio
  • use_vignette
  • use_rcpp
  • use_travis
  • use_coverage
  • use_appveyor
  • use_package_doc
  • use_package
  • use_data
  • use_data_raw
  • use_build_ignore
  • use_readme_rmd
  • use_readme_md
  • use_news_md
  • use_revdep
  • use_cran_comments
  • use_code_of_conduct
  • use_cran_badge
  • use_mit_license
  • use_gpl3_license
  • use_dev_version
  • revdep_email
  • revdep_check_save_summary
  • revdep_check_print_problems
  • revdep_check
  • revdep_check_resume
  • revdep_check_reset
  • devtools-deprecated
Documentation reproduced from package devtools, version 2.0.1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.