vt_path | R Documentation |
vt_path() allows access of files relative to the working directory,which is identified by the config file. It is also required to be used in the validation report for cases where validation of installed packages is intended as it will shift access to the correct location for the installed package for access.
vt_path(...)
vt_find_config()
... |
|
vt_find_config() locates the config file in the working directory, and returns the full path to it.
withr::with_tempdir({callr::r(function(){
valtools::vt_use_validation()
valtools::vt_path()
valtools::vt_path("some", "reqs", "req01.md")
valtools::vt_path("some/reqs/req01.md")
valtools::vt_find_config()
})})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.