powered by
Creates a text file with arbitrary contents
step_write_text_file(..., path)
[character] Contents of the text file.
[character]
[string] Path to the new text file.
[string]
Other steps: step_add_to_drat(), step_add_to_known_hosts(), step_build_pkgdown(), step_do_push_deploy(), step_hello_world(), step_install_pkg, step_install_ssh_keys(), step_push_deploy(), step_run_code(), step_setup_push_deploy(), step_setup_ssh(), step_test_ssh()
step_add_to_drat()
step_add_to_known_hosts()
step_build_pkgdown()
step_do_push_deploy()
step_hello_world()
step_install_pkg
step_install_ssh_keys()
step_push_deploy()
step_run_code()
step_setup_push_deploy()
step_setup_ssh()
step_test_ssh()
# NOT RUN { dsl_init() get_stage("script") %>% add_step(step_write_text_file("Hi!", path = "hello.txt")) dsl_get() # }
Run the code above in your browser using DataLab