R Under development (unstable) (2025-01-06 r87534 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(worcs) Welcome to WORCS: Workflow for Open Reproducible Code in Science. Please read the tutorial before using this package, and consider citing it: Van Lissa and colleagues (2020)  > > test_check("worcs") "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS manuscript.knit.md --to gfm+tex_math_dollars-yaml_metadata_block --from markdown+autolink_bare_uris+tex_math_single_backslash --output manuscript.md --template "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\templates\github_document\resources\default.md" "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS manuscript.md --to html4 --from gfm+tex_math_dollars --output manuscript.html --embed-resources --standalone --highlight-style pygments --template "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\templates\github_document\resources\preview.html" --variable "github-markdown-css:D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\templates\github_document\resources\github.css" --metadata pagetitle=PREVIEW --mathjax | | | 0% | |============== | 20% | |============================ | 40% | |========================================== | 60% | |======================================================== | 80% | |======================================================================| 100% | | | 0% | |=================================== | 50% | |======================================================================| 100% | | | 0% | |============== | 20% | |============================ | 40% | |========================================== | 60% | |======================================================== | 80% | |======================================================================| 100% | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100% | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100% [1] "writeLines(test, test.txt)" | | | 0% | |============== | 20% | |============================ | 40% | |========================================== | 60% | |======================================================== | 80% | |======================================================================| 100% | | | 0% | |======================= | 33% | |=============================================== | 67% | |======================================================================| 100% | | | 0% | |=================================== | 50% | |======================================================================| 100% | | | 0% | |============== | 20% | |============================ | 40% | |========================================== | 60% | |======================================================== | 80% | |======================================================================| 100% | | | 0% | |======================= | 33% | |=============================================== | 67% | |======================================================================| 100% | | | 0% | |======================= | 33% | |=============================================== | 67% | |======================================================================| 100% | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100% | | | 0% | |=================================== | 50% | |======================================================================| 100% | | | 0% | |======================= | 33% | |=============================================== | 67% | |======================================================================| 100% | | | 0% | |============== | 20% | |============================ | 40% | |========================================== | 60% | |======================================================== | 80% | |======================================================================| 100% | | | 0% | |============== | 20% | |============================ | 40% | |========================================== | 60% | |======================================================== | 80% | |======================================================================| 100% | | | 0% | |======================= | 33% | |=============================================== | 67% | |======================================================================| 100% | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100% | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100% | | | 0% | |====== | 8% | |============ | 17% | |================== | 25% | |======================= | 33% | |============================= | 42% | |=================================== | 50% | |========================================= | 58% | |=============================================== | 67% | |==================================================== | 75% | |========================================================== | 83% | |================================================================ | 92% | |======================================================================| 100% | | | 0% | |============== | 20% | |============================ | 40% | |========================================== | 60% | |======================================================== | 80% | |======================================================================| 100% | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100% | | | 0% | |========== | 14% | |==================== | 29% | |============================== | 43% | |======================================== | 57% | |================================================== | 71% | |============================================================ | 86% | |======================================================================| 100% | | | 0% | |============ | 17% | |======================= | 33% | |=================================== | 50% | |=============================================== | 67% | |========================================================== | 83% | |======================================================================| 100% | | | 0% | |============ | 17% | |======================= | 33% | |=================================== | 50% | |=============================================== | 67% | |========================================================== | 83% | |======================================================================| 100% | | | 0% | |========= | 12% | |================== | 25% | |========================== | 38% | |=================================== | 50% | |============================================ | 62% | |==================================================== | 75% | |============================================================= | 88% | |======================================================================| 100% | | | 0% | |============== | 20% | |============================ | 40% | |========================================== | 60% | |======================================================== | 80% | |======================================================================| 100% | | | 0% | |========== | 14% | |==================== | 29% | |============================== | 43% | |======================================== | 57% | |================================================== | 71% | |============================================================ | 86% | |======================================================================| 100% | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100% | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100% | | | 0% | |=================================== | 50% | |======================================================================| 100% | | | 0% | |=================================== | 50% | |======================================================================| 100% | | | 0% | |======================= | 33% | |=============================================== | 67% | |======================================================================| 100% | | | 0% | |============== | 20% | |============================ | 40% | |========================================== | 60% | |======================================================== | 80% | |======================================================================| 100% | | | 0% | |====== | 9% | |============= | 18% | |=================== | 27% | |========================= | 36% | |================================ | 45% | |====================================== | 55% | |============================================= | 64% | |=================================================== | 73% | |========================================================= | 82% | |================================================================ | 91% | |======================================================================| 100% | | | 0% | |=================================== | 50% | |======================================================================| 100% | | | 0% | |============== | 20% | |============================ | 40% | |========================================== | 60% | |======================================================== | 80% | |======================================================================| 100% | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100% | | | 0% | |========= | 12% | |================== | 25% | |========================== | 38% | |=================================== | 50% | |============================================ | 62% | |==================================================== | 75% | |============================================================= | 88% | |======================================================================| 100% | | | 0% | |============== | 20% | |============================ | 40% | |========================================== | 60% | |======================================================== | 80% | |======================================================================| 100% | | | 0% | |========== | 14% | |==================== | 29% | |============================== | 43% | |======================================== | 57% | |================================================== | 71% | |============================================================ | 86% | |======================================================================| 100% | | | 0% | |======================= | 33% | |=============================================== | 67% | |======================================================================| 100% | | | 0% | |====== | 9% | |============= | 18% | |=================== | 27% | |========================= | 36% | |================================ | 45% | |====================================== | 55% | |============================================= | 64% | |=================================================== | 73% | |========================================================= | 82% | |================================================================ | 91% | |======================================================================| 100% | | | 0% | |============== | 20% | |============================ | 40% | |========================================== | 60% | |======================================================== | 80% | |======================================================================| 100% | | | 0% | |=================================== | 50% | |======================================================================| 100% | | | 0% | |============== | 20% | |============================ | 40% | |========================================== | 60% | |======================================================== | 80% | |======================================================================| 100% | | | 0% | |======================= | 33% | |=============================================== | 67% | |======================================================================| 100% | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100% | | | 0% | |======================= | 33% | |=============================================== | 67% | |======================================================================| 100% | | | 0% | |======================= | 33% | |=============================================== | 67% | |======================================================================| 100% | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100% | | | 0% | |========= | 12% | |================== | 25% | |========================== | 38% | |=================================== | 50% | |============================================ | 62% | |==================================================== | 75% | |============================================================= | 88% | |======================================================================| 100% | | | 0% | |============ | 17% | |======================= | 33% | |=================================== | 50% | |=============================================== | 67% | |========================================================== | 83% | |======================================================================| 100% | | | 0% | |======================= | 33% | |=============================================== | 67% | |======================================================================| 100% | | | 0% | |= | 2% | |== | 3% | |=== | 5% | |===== | 7% | |====== | 8% | |======= | 10% | |======== | 11% | |========= | 13% | |========== | 15% | |=========== | 16% | |============= | 18% | |============== | 20% | |=============== | 21% | |================ | 23% | |================= | 25% | |================== | 26% | |==================== | 28% | |===================== | 30% | |====================== | 31% | |======================= | 33% | |======================== | 34% | |========================= | 36% | |========================== | 38% | |============================ | 39% | |============================= | 41% | |============================== | 43% | |=============================== | 44% | |================================ | 46% | |================================= | 48% | |================================== | 49% | |==================================== | 51% | |===================================== | 52% | |====================================== | 54% | |======================================= | 56% | |======================================== | 57% | |========================================= | 59% | |========================================== | 61% | |============================================ | 62% | |============================================= | 64% | |============================================== | 66% | |=============================================== | 67% | |================================================ | 69% | |================================================= | 70% | |================================================== | 72% | |==================================================== | 74% | |===================================================== | 75% | |====================================================== | 77% | |======================================================= | 79% | |======================================================== | 80% | |========================================================= | 82% | |=========================================================== | 84% | |============================================================ | 85% | |============================================================= | 87% | |============================================================== | 89% | |=============================================================== | 90% | |================================================================ | 92% | |================================================================= | 93% | |=================================================================== | 95% | |==================================================================== | 97% | |===================================================================== | 98% | |======================================================================| 100% | | | 0% | |======================= | 33% | |=============================================== | 67% | |======================================================================| 100% | | | 0% | |=================================== | 50% | |======================================================================| 100% ▶ dispatched target data ● completed target data [0 seconds, 1.742 kilobytes] ▶ dispatched target model Quitting from lines 7-15 [setup] (manuscript.Rmd) ● completed target model [0 seconds, 107 bytes] ▶ dispatched target manuscript ▶ recorded workspace manuscript ✖ errored target manuscript ✖ errored pipeline [1.08 seconds] "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS manuscript.knit.md --to gfm+tex_math_dollars-yaml_metadata_block --from markdown+autolink_bare_uris+tex_math_single_backslash --output manuscript.md --template "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\templates\github_document\resources\default.md" "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS manuscript.md --to html4 --from gfm+tex_math_dollars --output manuscript.html --embed-resources --standalone --highlight-style pygments --template "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\templates\github_document\resources\preview.html" --variable "github-markdown-css:D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\templates\github_document\resources\github.css" --metadata pagetitle=PREVIEW --mathjax # Created by use_targets(). # Follow the comments below to fill in this target script. # Then follow the manual to check and run the pipeline: # https://books.ropensci.org/targets/walkthrough.html#inspect-the-pipeline # Load packages required to define the pipeline: library(targets) # library(tarchetypes) # Load other packages as needed. # Set target options: tar_option_set( packages = c("tibble") # Packages that your targets need for their tasks. # format = "qs", # Optionally set the default storage format. qs is fast. # # Pipelines that take a long time to run may benefit from # optional distributed computing. To use this capability # in tar_make(), supply a {crew} controller # as discussed at https://books.ropensci.org/targets/crew.html. # Choose a controller that suits your needs. For example, the following # sets a controller that scales up to a maximum of two workers # which run as local R processes. Each worker launches when there is work # to do and exits if 60 seconds pass with no tasks to run. # # controller = crew::crew_controller_local(workers = 2, seconds_idle = 60) # # Alternatively, if you want workers to run on a high-performance computing # cluster, select a controller from the {crew.cluster} package. # For the cloud, see plugin packages like {crew.aws.batch}. # The following example is a controller for Sun Grid Engine (SGE). # # controller = crew.cluster::crew_controller_sge( # # Number of workers that the pipeline can scale up to: # workers = 10, # # It is recommended to set an idle time so workers can shut themselves # # down if they are not running tasks. # seconds_idle = 120, # # Many clusters install R as an environment module, and you can load it # # with the script_lines argument. To select a specific verison of R, # # you may need to include a version string, e.g. "module load R/4.3.2". # # Check with your system administrator if you are unsure. # script_lines = "module load R" # ) # # Set other options as needed. ) # Run the R scripts in the R/ folder with your custom functions: tar_source() # tar_source("other_functions.R") # Source other scripts as needed. # Set default priority to 1 to ensure all results are completed before manuscript. tar_option_set(priority = 1) # Replace the target list below with your own: list( tar_target( name = data, command = tibble(x = rnorm(100), y = rnorm(100)) # format = "qs" # Efficient storage for general data objects. ), tar_target( name = model, command = coefficients(lm(y ~ x, data = data)) ), tarchetypes::tar_render(manuscript, "manuscript/manuscript.Rmd", priority = 0, cue = tar_cue(mode = 'always')) # Set priority to 0 to ensure the manuscript is rendered after other results are available )[1] "_targets.yaml" "manuscript.Rmd" "manuscript.md" "manuscript_files" ▶ dispatched target data ● completed target data [0.02 seconds, 1.742 kilobytes] ▶ dispatched target model ● completed target model [0 seconds, 107 bytes] ▶ dispatched target manuscript ● completed target manuscript [1.23 seconds, 5.546 kilobytes] ▶ ended pipeline [1.33 seconds] "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS _targets.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output _targets.html --lua-filter "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\lua\latex-div.lua" --embed-resources --standalone --variable bs3=TRUE --section-divs --template "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmd\h\default.html" --no-highlight --variable highlightjs=1 --variable theme=bootstrap --mathjax --variable "mathjax-url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" --include-in-header "D:\temp\2025_01_07_12_50_17_16940\Rtmpi6PLhm\rmarkdown-strb50072372c3f.html" "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS _targets.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output _targets.html --lua-filter "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmarkdown\lua\latex-div.lua" --embed-resources --standalone --variable bs3=TRUE --section-divs --template "D:\RCompile\CRANpkg\lib\4.5\rmarkdown\rmd\h\default.html" --no-highlight --variable highlightjs=1 --variable theme=bootstrap --mathjax --variable "mathjax-url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" --include-in-header "D:\temp\2025_01_07_12_50_17_16940\Rtmpi6PLhm\rmarkdown-strb5007c7b7ad1.html" Variables to impute: Species, Sepal.Length, Sepal.Width, Petal.Length, Petal.Width Variables used to impute: Sepal.Length, Sepal.Width, Petal.Length, Petal.Width, Species iter 1 | | | 0% | |============== | 20% | |============================ | 40% | |========================================== | 60% | |======================================================== | 80% | |======================================================================| 100% iter 2 | | | 0% | |============== | 20% | |============================ | 40% | |========================================== | 60% | |======================================================== | 80% | |======================================================================| 100% iter 3 | | | 0% | |============== | 20% | |============================ | 40% | |========================================== | 60% | |======================================================== | 80% | |======================================================================| 100% | | | 0% | |============== | 20% | |============================ | 40% | |========================================== | 60% | |======================================================== | 80% | |======================================================================| 100% [ FAIL 0 | WARN 0 | SKIP 0 | PASS 160 ] > > proc.time() user system elapsed 14.92 2.40 55.11