Functions to get resources and example data built into autoCV.
get_template(
name = "Leonardo da Vinci",
tagline = "Simplicity is the ultimate sophistication.",
extra = list("### Studio of Andrea del Verrocchio",
"### Painter, draughtsman, engineer, scientist", "### MD, PhD"),
logo = get_logo(img = system.file("img", "davinci.png", package = "autoCV"), width =
"60px"),
wd = get_data(),
template = "CV.Rmd",
save_dir = "./",
force_new = FALSE
)
get_data(
dir_only = TRUE,
dir_manual = NULL,
save_dir = NULL,
subdir = c("cv_data", "img", "css"),
verbose = TRUE
)
get_data_list(wd, full.names = FALSE)
get_css()
get_logo(
width = "40px",
id = "header_img",
text_before = NULL,
text_after = NULL,
link = "https://github.com/bschilder/autoCV",
img = system.file("hex", "hex.png", package = "autoCV"),
style = "border-radius:5%;"
)
Image name.
Tagline to use.
Extra HTML/markdown elements to append.
Logo to use.
Directory where "cv_data" and "img" subdirectories are stored.
Template to use.
If not NULL, copy example data ("cv_data/"), images ("img/"), and CSS ("css/") to this directory.
Overwrite existing template file.
Only return the directory.
Specify the directory to find the files in manually.
Subdirectories to return (when dir_only=FALSE
).
Print messages.
a logical value. If TRUE
, the directory
path is prepended to the file names to give a relative file path.
If FALSE
, the file names (rather than paths) are returned.
Image width.
HTML element id.
HTML element text before image.
HTML element text after image.
URL to use.
Path or URL to image.
HTML element style.
Resources.
get_template()
: get_
get_data()
: get_
get_data_list()
: get_
get_css()
: get_
get_logo()
: get_