# pacman::p_load(tidyverse, psych, haven, knitr, caret, conflicted) knitr::opts_chunk$set( message = FALSE, warning = FALSE, class.source = "foldable", include = FALSE ) knitr::opts_chunk$set(class.source = "foldable") # conflict_prefer("filter", "dplyr")
Everything concerning Rstudio Build and Check
Note: Timestamps
See also stackoverflow
Unable to verify
checking for future file timestamps ... NOTE
Sys.setenv('_R_CHECK_SYSTEM_CLOCK_' = 0)
To be written
to be written
Adding files or dirs to the .Rbuildignore
This is e.g., necessary for pkgdown files
usethis::use_build_ignore("filetobe.ignored")
See also, this blog
Because rendering vignettes can be extremely ressource (time) intensive it sometimes is helpful, to prohibit their rendering during build.
Steps
--no-build-vignettes
to build options --ignore-vignettes
to check optionsFor reference see stackoverflow
A good reference list can be found here: r-pkgs.org
Instead of Building the complete package you can preview docstrings by following these steps.
Steps
ctrl + shift + d
devtools::load_all()
?function_name
?get_number_of_decimals
The advantage of just updating the index / main is that is way faster than building everything up again. Follow these steps in order to update only the main page of the github pages
README.rmd
according to your wishesctrl + umsch + k
)pkgdown::build_home()
usethis::use_pkgdown_github_pages()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.