😎 Give your xaringan slides some style
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

30 lines
1.4KB

  1. # tic documentation: https://docs.ropensci.org/tic/dev/
  2. # Download script file from GitHub
  3. init:
  4. ps: |
  5. $ErrorActionPreference = "Stop"
  6. Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"
  7. Import-Module '..\appveyor-tool.ps1'
  8. install:
  9. - ps: Bootstrap
  10. - cmd: Rscript -e "writeLines('options(repos = \'https://cloud.r-project.org\')', '~/.Rprofile')"
  11. - cmd: Rscript -e "getOption('repos')"
  12. - cmd: Rscript -e "if (!requireNamespace('remotes')) install.packages('remotes', type = 'binary')"
  13. - cmd: Rscript -e "if (getRversion() < '3.2' && !requireNamespace('curl')) install.packages('curl', type = 'binary')"
  14. - cmd: Rscript -e "options(pkgType = 'binary'); remotes::install_github('ropensci/tic', upgrade = 'always'); print(tic::dsl_load()); tic::prepare_all_stages()"
  15. before_build: Rscript -e "tic::before_install()"
  16. build_script: Rscript -e "tic::install()"
  17. after_build: Rscript -e "tic::after_install()"
  18. before_test: Rscript -e "tic::before_script()"
  19. test_script: Rscript -e "tic::script()"
  20. on_success: Rscript -e "try(tic::after_success(), silent = TRUE)"
  21. on_failure: Rscript -e "tic::after_failure()"
  22. before_deploy: Rscript -e "tic::before_deploy()"
  23. deploy_script: Rscript -e "tic::deploy()"
  24. after_deploy: Rscript -e "tic::after_deploy()"
  25. on_finish: Rscript -e "tic::after_script()"
  26. # Custom user code -------------------------------------------------------------