# NOT RUN {
r <- "write.csv(mtcars,file = 'artifact.csv')"
ba <- cr_build_yaml(
steps = cr_buildstep_r(r),
artifacts = cr_build_yaml_artifact('artifact.csv', bucket = "my-bucket")
)
ba
# }
# NOT RUN {
build <- cr_build(ba)
built <- cr_build_wait(build)
cr_build_artifacts(built)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab