library(devtools)
library(usethis)
library(testthat)
# use_build_ignore("dev_history.R")
# use_gpl3_license("Antoine Bichat")
# use_r("zscores")
# use_r("vectorized_tests")
# use_r("algebra")
# use_testthat()
# use_spell_check()
# use_test("algebra")
# use_github_links()
# use_r("optim_internal")
# use_test("unidirectionnal")
# use_r("optim_functions")
# use_test("compute_functions")
# use_readme_rmd()
# badgecreatr::badge_last_change()
# use_data_raw("alcohol")
# use_r("datasets")
# # Add Depends: R (>= 2.10) in decription
# use_test("vectorized_tests")
# use_test("zscores")
# use_test("model_selection")
# chameleon::build_pkgdown()
# chameleon::open_pkgdown_function()
# badgecreatr::badge_packageversion()
# use_r("optim_global")
# use_r("incidence_matrix")
# use_test("incidence_matrix")
# use_vignette("simulations")
# use_r("covar")
# use_r("plot_shifts")
# use_r("shiftestim")
# use_r("tree_helpers")
# use_test("tree_helpers")
# use_r("simulations")
# use_vignette("comparisons")
# # Add biocViews: ggtree in Description
# use_vignette("alcohol")
# use_data_raw("chlamydiae")
# use_vignette("chlamydiae")
# use_r("bic")
# use_test("shiftestim")
# # Change some test names
# use_r("extraction")
# use_r("clusters")
# use_test("clusters")
# use_r("optim_scaled")
# use_r("optim_desparsified")
# use_test("desparsified_internal")
# use_test("desparsified_midlevel")
# use_vignette("constraints")
# use_test("shiftestim")
# use_r("optim_lbfgsb")
# use_test("previous_outputs")
# dir.create("tests/testthat/previous_outputs")
# use_r("score_system")
# use_test("score_system")
# use_test("desparsified_simulations")
# file.remove("tests/testthat/test-desparsified_midlevel.R")
# use_r("shiftestim_utils")
# use_r("shiftconf")
# use_r("confint_desparsified")
# use_r("confint_global")
# use_package_doc()
# use_r("extract_leaves")
# use_r("method_colwiseinverse")
# use_test("method_colwiseinverse")
# use_r("confint_colwiseinverse")
# use_r("generate_hyperparameters")
# use_github_action_check_release("R-CMD-check-dev.yaml")
# use_github_action_check_standard()
# use_dev_package("evabic")
# use_r("smooth_pvalues")
# use_r("pull_pvalues")
# use_test("correct_pvalues")
# use_data_raw("age")
# use_r("correction")
####
document()
load_all()
attachment::att_amend_desc()
use_tidy_description()
spell_check()
# spelling::update_wordlist()
test()
run_examples(fresh = TRUE); unlink("Rplots.pdf")
covr::report()
check()
goodpractice::gp()
# pkgdown::template_articles()
# pkgdown::template_reference()
####
install(upgrade = "never")
rmarkdown::render("README.Rmd"); file.remove("README.html")
# chameleon::build_pkgdown(yml = "_pkgdown.yml")
install(upgrade = "never")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.