This R/Shiny app is a companion to the
targets R package. It helps new
users learn targets, and it
helps new and experienced users set up new
targets-powered projects.
Simply provide a _targets.R
script, and
targetsketch will show you the end-to-end dependency graph of your
workflow, a manifest of the pipeline, and produce a downloadable
_targets.R script to get your project started.
This app is available online at https://wlandau.shinyapps.io/targetsketch. If you cannot access it, you can install it locally in an R session.
install.packages("remotes")
remotes::install_github("wlandau/targetsketch")Then run it on your own machine.
targetsketch::targetsketch()- Navigate to the
Pipelineview (left sidebar). - Write your
_targets.Rscript in the_targets.Rbox. The code must return a valid list oftar_target()objects at the end. If you want the app to analyze custom functions called in the commands of the targets, define them in the_targets.Rbox as well. See thetar_script()help file for more details. - Click
Updatebutton in theControlbox. - If you want to download the code in the
_targets.Rbox as an R script file, click theDownloadbutton in theControlbox.
Contributions are welcome. If you plan to file an issue or submit a pull request, please first read the code of conduct and rules for contributing.