Nothing
Code
after_creation_message_generic("mypkg", "inst/app/www", "myjs")
Output
* File myjs created
Code
after_creation_message_js("mypkg", "inst/app/www", "myjs")
after_creation_message_css("mypkg", "inst/app/www", "mycss")
after_creation_message_sass("mypkg", "inst/app/www", "mysass")
after_creation_message_html_template("mypkg", "inst/app/www", "myhtml")
Output
To use this html file as a template, add the following code in your UI:
htmlTemplate(
app_sys("app/www/myhtml.html"),
body = tagList()
# add here other template arguments
)
Code
testthat::with_mocked_bindings(fs_path_abs = paste, {
after_creation_message_any_file("mypkg", "inst/app/www", "myhtml")
})
Output
File downloaded at inst/app/www/myhtml
Code
file_created_dance("inst/app/www", after_creation_message_sass, "mypkg",
"inst/app/www", "mysass", open_file = FALSE, open_or_go_to = FALSE)
Output
v File created at inst/app/www
Code
file_already_there_dance("inst/app/www", open_file = FALSE)
Output
v File already exists.
* Go to inst/app/www
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.