From ca3b4ba01f30771d2d45a0cc34a2e2b0c82c52dd Mon Sep 17 00:00:00 2001 From: munoztd0 Date: Wed, 21 Jan 2026 14:13:13 +0100 Subject: [PATCH 01/16] remove pycharm ide files --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 0c6f8c1..c783eee 100644 --- a/.gitignore +++ b/.gitignore @@ -104,4 +104,5 @@ debug.R launch.json CRAN-RELEASE +.idea .envrc \ No newline at end of file From 01b7df02b461f7fc9e63ed6453c6dcf5c2dc889a Mon Sep 17 00:00:00 2001 From: munoztd0 Date: Wed, 21 Jan 2026 14:34:51 +0100 Subject: [PATCH 02/16] fix: rocker/verse:devel outdated --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3539194..1e19dc2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,5 +1,5 @@ ## tic Circle CI template: linux-matrix-deploy -## revision date: 2022-08-28 +## revision date: 2026-01-21 version: 2.1 jobs: r-release: @@ -64,7 +64,7 @@ jobs: # r-devel-env environment: docker: - - image: rocker/verse:devel + - image: rocker/tidyverse steps: - checkout From 8a42f26d91c72777720e13fa2d438b0279d283a8 Mon Sep 17 00:00:00 2001 From: munoztd0 Date: Wed, 21 Jan 2026 14:48:41 +0100 Subject: [PATCH 03/16] update: add vignettes --- pkgdown/_pkgdown.yml | 7 +++++++ vignettes/circle.Rmd | 6 +++--- vignettes/tic.Rmd | 3 ++- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/pkgdown/_pkgdown.yml b/pkgdown/_pkgdown.yml index 36e47a3..aed9c14 100644 --- a/pkgdown/_pkgdown.yml +++ b/pkgdown/_pkgdown.yml @@ -33,3 +33,10 @@ reference: contents: - circle-package - list_projects +articles: + - title: Getting started + contents: + - circle + - title: CI with tic + contents: + - tic diff --git a/vignettes/circle.Rmd b/vignettes/circle.Rmd index c6cf010..6467366 100644 --- a/vignettes/circle.Rmd +++ b/vignettes/circle.Rmd @@ -10,7 +10,8 @@ vignette: > ```{r, include = FALSE} knitr::opts_chunk$set( collapse = TRUE, - comment = "#>" + comment = "#>", + eval = !identical(Sys.getenv("CI"), "true") && !identical(Sys.getenv("CRAN"), "true") ) ``` @@ -83,8 +84,7 @@ attr(,"class") `enable_repo()` also uses the GitHub token. ```r -circe::enable_repo() -βœ” Successfully enabled repo 'ropensci/circle' on Circle CI. +circle::enable_repo() ``` After the repo has been enabled, it should be returned in `circle::list_projects()`. diff --git a/vignettes/tic.Rmd b/vignettes/tic.Rmd index d3b8349..8ba504a 100644 --- a/vignettes/tic.Rmd +++ b/vignettes/tic.Rmd @@ -10,7 +10,8 @@ vignette: > ```{r, include = FALSE} knitr::opts_chunk$set( collapse = TRUE, - comment = "#>" + comment = "#>", + eval = !identical(Sys.getenv("CI"), "true") && !identical(Sys.getenv("CRAN"), "true") ) ``` From dbf3d0e35010e24e4c964e01b173d6ec083f7829 Mon Sep 17 00:00:00 2001 From: munoztd0 Date: Wed, 21 Jan 2026 14:54:03 +0100 Subject: [PATCH 04/16] update: add David a maintainer --- DESCRIPTION | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 1559d02..ffe0d39 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,7 +2,8 @@ Package: circle Title: R Client Package for Circle CI Version: 0.7.3 Authors@R: c( - person("Patrick", "Schratz", , "patrick.schratz@gmail.com", role = c("aut", "cre"), + person("David", "Munoz Tord", , "david.munoztord@mailbox.org", role = c("cre", "ctb"), + person("Patrick", "Schratz", , "patrick.schratz@gmail.com", role = c("aut"), comment = c(ORCID = "0000-0003-0748-6624")), person("Max", "Joseph", role = "rev", comment = "Max reviewed the package for ropensci, see "), From b0d8bf914e325106c736977a57c8b174e60345e3 Mon Sep 17 00:00:00 2001 From: munoztd0 Date: Wed, 21 Jan 2026 14:57:14 +0100 Subject: [PATCH 05/16] fledge: Bump version to 0.7.3.9000 --- DESCRIPTION | 2 +- NEWS.md | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index ffe0d39..4862ec6 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: circle Title: R Client Package for Circle CI -Version: 0.7.3 +Version: 0.7.3.9000 Authors@R: c( person("David", "Munoz Tord", , "david.munoztord@mailbox.org", role = c("cre", "ctb"), person("Patrick", "Schratz", , "patrick.schratz@gmail.com", role = c("aut"), diff --git a/NEWS.md b/NEWS.md index 1eca1c0..76398f9 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,28 @@ +# circle 0.7.3.9000 + +## Bug fixes + +- Rocker/verse:devel outdated. + +## Documentation + +- πŸ“ Clean up the tic badge link. + +## update + +- Add David a maintainer. + +- Add vignettes. + +## Uncategorized + +- Merge pull request #47 from ropensci/dependabot/github_actions/actions/checkout-5. + + Bump actions/checkout from 4 to 5 + + # circle 0.7.3 - Account for deprecated `usethis` functions From 5be691210fbaf7beb7a8a5e9f9b6d74ebe884700 Mon Sep 17 00:00:00 2001 From: munoztd0 Date: Wed, 21 Jan 2026 14:59:52 +0100 Subject: [PATCH 06/16] bump: version to 0.7.4 --- DESCRIPTION | 2 +- NEWS.md | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 4862ec6..f8056fd 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: circle Title: R Client Package for Circle CI -Version: 0.7.3.9000 +Version: 0.7.4 Authors@R: c( person("David", "Munoz Tord", , "david.munoztord@mailbox.org", role = c("cre", "ctb"), person("Patrick", "Schratz", , "patrick.schratz@gmail.com", role = c("aut"), diff --git a/NEWS.md b/NEWS.md index 76398f9..7183342 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,6 @@ -# circle 0.7.3.9000 +# circle 0.7.4 ## Bug fixes @@ -12,15 +12,13 @@ ## update -- Add David a maintainer. +- Change maintainer. - Add vignettes. ## Uncategorized -- Merge pull request #47 from ropensci/dependabot/github_actions/actions/checkout-5. - - Bump actions/checkout from 4 to 5 +- Bump actions/checkout from 4 to 5 # circle 0.7.3 From 789f5c5aaf4750d7288fc5d3620f5cd3042f00d4 Mon Sep 17 00:00:00 2001 From: munoztd0 Date: Wed, 21 Jan 2026 15:01:07 +0100 Subject: [PATCH 07/16] bump: version to 0.7.4 --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index f8056fd..c37b563 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,7 +2,7 @@ Package: circle Title: R Client Package for Circle CI Version: 0.7.4 Authors@R: c( - person("David", "Munoz Tord", , "david.munoztord@mailbox.org", role = c("cre", "ctb"), + person("David", "Munoz Tord", , "david.munoztord@mailbox.org", role = c("cre", "ctb")), person("Patrick", "Schratz", , "patrick.schratz@gmail.com", role = c("aut"), comment = c(ORCID = "0000-0003-0748-6624")), person("Max", "Joseph", role = "rev", From 281ac2d29ca8c5b78ea4b668c653c74df811a299 Mon Sep 17 00:00:00 2001 From: munoztd0 Date: Wed, 21 Jan 2026 15:22:57 +0100 Subject: [PATCH 08/16] fix: broken link --- vignettes/circle.Rmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vignettes/circle.Rmd b/vignettes/circle.Rmd index 6467366..b58611a 100644 --- a/vignettes/circle.Rmd +++ b/vignettes/circle.Rmd @@ -131,14 +131,14 @@ To enable deployment to a repository however, a "user-key" is needed. This key type also has "write" permissions and can be added using `use_circle_deploy()`. `use_circle_deploy()` will add a so called "user key" to the settings of the repo on Circle CI. The private key will be added to your GitHub profile under the "SSH and GPG keys" section with the title pointing to the respective repo. -See also [the Circle CI section about deployment](https://circleci.com/docs/deployment-integrations/). +See also [the Circle CI section about deployment](https://circleci.com/docs/guides/deploy/deployment-overview//). (If for some reasons you do not want to use `use_circle_deploy()` and go the manual way of adding a SSH key to Circle CI, please be aware of [this issue](https://discuss.circleci.com/t/adding-ssh-keys-fails/7747).) # Starting a Build As with almost every CI provider, a YAML configuration files is required to specify the tasks that should be executed during a build. -Currently Circle CI does not come with official support for the R language but you can add [your vote here](https://ideas.circleci.com/images/p/add-official-support-for-r). +Currently Circle CI does not come with official support for the R language but you can add [your vote here](https://ideas.circleci.com/cloud-feature-requests/p/add-official-support-for-r). Since Circle CI is heavily based on docker this is not really a problem. One can simply use the [rocker](https://github.com/rocker-org/rocker) R images to have first-class support with respect to R containers. Official support for R would mean that the images are cached on Circle CIs side and be directly available on build start. From 1484c01de87ae38dcffb89b03c96e1dfd43b90c4 Mon Sep 17 00:00:00 2001 From: munoztd0 Date: Wed, 21 Jan 2026 15:36:00 +0100 Subject: [PATCH 09/16] update: add advanced vignette close #14 --- cran-comments.md | 21 ++++--- pkgdown/_pkgdown.yml | 3 + vignettes/advanced.Rmd | 121 +++++++++++++++++++++++++++++++++++++++++ vignettes/circle.Rmd | 26 ++++++--- vignettes/tic.Rmd | 8 +-- 5 files changed, 155 insertions(+), 24 deletions(-) create mode 100644 vignettes/advanced.Rmd diff --git a/cran-comments.md b/cran-comments.md index dcd5e72..133d71d 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,23 +1,22 @@ -circle 0.7.3 +circle 0.7.4 -## Cran Repository Policy - -- [x] Reviewed CRP last edited 2024-04-04. - -See changes at https://github.com/eddelbuettel/crp/compare/master@%7B2022-07-26%7D...master@%7B2024-04-04%7D ## R CMD check results -- [x] Checked locally, R 4.4.1 -- [x] Checked on CI system, R 4.4.1 +- [x] Checked locally, R 4.5.0 +- [x] Checked on CI system, R 4.5.0 - [x] Checked on win-builder, R devel Check the boxes above after successful execution and remove this line. Then run `fledge::release()`. ## Current CRAN check results -- [x] Checked on 2024-07-31, problems found: https://cran.r-project.org/web/checks/check_results_circle.html -- [x] WARN: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64 - Missing or unexported object: β€˜usethis::github_token’ +- [x] Checked on 2026-01-21, problems found: https://cran.r-project.org/web/checks/check_results_circle.html +- [x] Note: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64 + +New maintainer: + David Munoz Tord +Old maintainer(s): + Patrick Schratz Check results at: https://cran.r-project.org/web/checks/check_results_circle.html diff --git a/pkgdown/_pkgdown.yml b/pkgdown/_pkgdown.yml index aed9c14..f728a0f 100644 --- a/pkgdown/_pkgdown.yml +++ b/pkgdown/_pkgdown.yml @@ -37,6 +37,9 @@ articles: - title: Getting started contents: - circle + - title: Advanced usage + contents: + - advanced - title: CI with tic contents: - tic diff --git a/vignettes/advanced.Rmd b/vignettes/advanced.Rmd new file mode 100644 index 0000000..3b4589a --- /dev/null +++ b/vignettes/advanced.Rmd @@ -0,0 +1,121 @@ +--- +title: "Advanced usage and {tic} integration" +output: rmarkdown::html_vignette +vignette: > + %\VignetteIndexEntry{advanced} + %\VignetteEngine{knitr::rmarkdown} + %\VignetteEncoding{UTF-8} +--- + +```{r, include = FALSE} +knitr::opts_chunk$set( + collapse = TRUE, + comment = "#>", + eval = !identical(Sys.getenv("CI"), "true") && !identical(Sys.getenv("CRAN"), "true") +) +``` + +# Overview + +This vignette covers advanced workflows with {circle} and how to integrate them with {tic}. +It assumes you have completed the basics in the "Getting Started" vignette. + +# Advanced API usage + +## Pipelines, workflows, and jobs + +Use the high-level helpers to browse recent activity and drill down into details. + +```r +# list recent pipelines for a repo +circle::get_pipelines(owner = "ropensci", repo = "circle") + +# list workflows of a given pipeline id +# (replace with a pipeline id from the previous result) +circle::get_workflows(pipeline_id = "") + +# list jobs of a workflow +circle::get_jobs(workflow_id = "") +``` + +## Restarting and retrying + +```r +# trigger a new build (pipeline) for a branch +circle::new_build(branch = "main") + +# retry a workflow (if supported by the API) +circle::retry_workflow(workflow_id = "") +``` + +## Artifacts and logs + +```r +# list and download build artifacts +arts <- circle::get_build_artifacts(job_number = 123) +arts +``` + +## Environment variables + +```r +# read and set environment variables in a project context +circle::get_env_vars(owner = "ropensci", repo = "circle") +circle::set_env_var(owner = "ropensci", repo = "circle", name = "MY_TOKEN", value = "***") +``` + +# Deep integration with {tic} + +The [{tic}](https://docs.ropensci.org/tic/) package provides a CI-agnostic DSL and ready-made +templates for CircleCI. Combine {circle} (API client) with {tic} (workflow setup) to automate +checks and deployments. + +## Initialize CircleCI with {tic} + +```r +# writes .circleci/config.yml and a tic.R with sensible defaults +tic::use_circle_yml() + +# or go through the interactive wizard +tic::use_tic() +``` + +## Customize stages + +Edit `tic.R` to add or modify stages. For example, enable pkgdown deployment only on tags: + +```r +if (ci_has_env("BUILD_PKGDOWN") && tic::on_tag()) { + get_stage("deploy") %>>% { + tic::step_do_call("pkgdown::build_site") + tic::step_do_call("tic::do_pkgdown") + } +} +``` + +## Authentication and permissions + +For deployments, set up a user key once using {circle}: + +```r +circle::use_circle_deploy() +``` + +This adds a user key on CircleCI and registers the corresponding key in your GitHub account, +so that `tic::deploy()` can push the pkgdown site to `gh-pages`. + +## Making vignettes robust on CI/CRAN + +Ensure vignettes build in non-interactive environments by guarding heavy code (already enabled +at the top of this vignette): + +```r +knitr::opts_chunk$set( + eval = !identical(Sys.getenv("CI"), "true") && !identical(Sys.getenv("CRAN"), "true") +) +``` + +# See also + +- Getting Started (introductory guide) +- Using {circle} with {tic} (step-by-step setup walkthrough) diff --git a/vignettes/circle.Rmd b/vignettes/circle.Rmd index b58611a..07a1d81 100644 --- a/vignettes/circle.Rmd +++ b/vignettes/circle.Rmd @@ -51,10 +51,13 @@ By querying information about the user and enabling a project one can check if e `get_circle_user()` makes uses of the Circle CI API key. - -```r +```{r, eval=FALSE} circle::get_circle_user() +``` + +Example output: +``` $content $content$name [1] "Patrick Schratz" @@ -65,25 +68,23 @@ $content$login $content$id [1] "9c373331-d0f7-45e1-afe6-4a5c75e00d10" - $path [1] "/me" $response -Response [https://circleci.com/api/v2/me?circle-token=39d697f345d8d8a92ab07c333405d9b0092d116c] +Response [https://circleci.com/api/v2/me?circle-token=***] Date: 2021-01-07 20:07 Status: 200 Content-Type: application/json;charset=utf-8 Size: 86 B - attr(,"class") [1] "circle_user" ``` `enable_repo()` also uses the GitHub token. -```r +```{r, eval=FALSE} circle::enable_repo() ``` @@ -96,10 +97,14 @@ Configuring build deployments can be a bit tedious with respect to permissions. Here `circle::use_circle_deploy()` helps as it creates a SSH key pair which will enable deployment. The private key will be stored in GitHub (under "Settings -> SSH and GPG keys") and the public key on Circle CI (on the respective project page in "SSH Keys"). -```r +```{r, eval=FALSE} circle::use_circle_deploy() +``` + +Example output: + +``` βœ– No 'user-key' found. -────────────────────────────────────────────────────────────────────────────────────────────────── βœ” Added a 'user key' to project '' on Circle CI. This enables deployment from builds. ``` @@ -147,3 +152,8 @@ Currently, `rocker` images need to be downloaded in every build again. {circle} does not come with a template for running R builds as it focuses on API and build metadata functionality. Instead, have a look at [ropensci/tic](https://docs.ropensci.org/tic/) and its functions `tic::use_tic()` and `tic::use_circle_yml()` to quickly get R builds running on Circle CI. Alternatively you can borrow the config that is being used [in this repo](https://github.com/ropensci/circle/blob/main/.circleci/config.yml) - which was also created via {tic}. + +# See also + +- Using {circle} with {tic}: https://docs.ropensci.org/circle/articles/tic.html +- Advanced usage and {tic} integration: https://docs.ropensci.org/circle/articles/advanced.html diff --git a/vignettes/tic.Rmd b/vignettes/tic.Rmd index 8ba504a..2e0b975 100644 --- a/vignettes/tic.Rmd +++ b/vignettes/tic.Rmd @@ -17,13 +17,11 @@ knitr::opts_chunk$set( This vignette explains how {circle} can be used in conjunction with {tic} to set up a working CI environment to check an R package and build a pkgdown site. -All following points assume you are in the project root of the R package. +Prerequisites: Please read the Getting Started vignette first for setup, authentication, and basic workflows: -## Enabling the repository on Circle CI +- Getting Started: https://docs.ropensci.org/circle/articles/circle.html -The first step is to enable/register your repository on Circle CI. -To do this, `enable_repo()` can be called. -Assuming you already have an account on Circle CI (authenticating with GitHub is recommended), this "follows" your repository on Circle CI so that builds can be triggered by pushes to the repository. +All following points assume you are in the project root of the R package and have already enabled your repository on CircleCI and configured credentials as described in Getting Started. ## Creating the Circle CI YAML configuration file From 8da41a870ad9e00f0c65ca2ca79f103cb5dbe7c1 Mon Sep 17 00:00:00 2001 From: munoztd0 Date: Wed, 21 Jan 2026 15:50:02 +0100 Subject: [PATCH 10/16] fix: windows warnings --- tic.R | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tic.R b/tic.R index d8d30e3..59dd6ad 100644 --- a/tic.R +++ b/tic.R @@ -1,5 +1,11 @@ do_package_checks(codecov = FALSE) +get_stage("script") %>% + add_step(step_rcmdcheck( + args = c("--as-cran", "--no-manual"), + error_on = "warning" + )) + if (ci_on_circle()) { get_stage("before_deploy") %>% add_step(step_install_github("ropensci/rotemplate")) From deb924a99b99d81a9e96789d720c64d69daee652 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mu=C3=B1oz=20Tord?= Date: Wed, 21 Jan 2026 15:55:44 +0100 Subject: [PATCH 11/16] Update tic.R --- tic.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tic.R b/tic.R index 59dd6ad..79f452c 100644 --- a/tic.R +++ b/tic.R @@ -3,7 +3,7 @@ do_package_checks(codecov = FALSE) get_stage("script") %>% add_step(step_rcmdcheck( args = c("--as-cran", "--no-manual"), - error_on = "warning" + error_on = "error" )) if (ci_on_circle()) { From af4dfc40a8d780513042b9905da2b0140833e4f7 Mon Sep 17 00:00:00 2001 From: munoztd0 Date: Wed, 21 Jan 2026 15:57:21 +0100 Subject: [PATCH 12/16] fix: windows warnings --- tic.R | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/tic.R b/tic.R index 59dd6ad..5b52fec 100644 --- a/tic.R +++ b/tic.R @@ -1,10 +1,9 @@ -do_package_checks(codecov = FALSE) - -get_stage("script") %>% - add_step(step_rcmdcheck( - args = c("--as-cran", "--no-manual"), - error_on = "warning" - )) +do_package_checks( + codecov = FALSE, + args = c("--as-cran"), + build_args = "--force", + error_on = "warning" +) if (ci_on_circle()) { get_stage("before_deploy") %>% From ec3987b744c401179aae8bb46225ed17d528bf19 Mon Sep 17 00:00:00 2001 From: munoztd0 Date: Wed, 21 Jan 2026 16:10:57 +0100 Subject: [PATCH 13/16] fix: windows warnings --- .github/workflows/tic.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/tic.yml b/.github/workflows/tic.yml index b6fef21..b13f758 100644 --- a/.github/workflows/tic.yml +++ b/.github/workflows/tic.yml @@ -93,6 +93,9 @@ jobs: path: ${{ env.R_LIBS_USER }} key: ${{ runner.os }}-r-${{ matrix.config.r }}-${{steps.date.outputs.date}} + - name: "[Debug] Show resolved tic DSL" + run: Rscript -e "print(tic::dsl_get())" + - name: "[Stage] Script" run: Rscript -e 'tic::script()' From 34d93ef4a203bd4be526c7e6439a854454010586 Mon Sep 17 00:00:00 2001 From: munoztd0 Date: Wed, 21 Jan 2026 16:13:32 +0100 Subject: [PATCH 14/16] fix: windows warnings --- tic.R | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/tic.R b/tic.R index 5b52fec..6f3c8be 100644 --- a/tic.R +++ b/tic.R @@ -1,9 +1,16 @@ -do_package_checks( - codecov = FALSE, - args = c("--as-cran"), - build_args = "--force", - error_on = "warning" -) +dsl_init() + +get_stage("install") %>% + add_step(step_install_deps(dependencies = TRUE)) %>% + add_step(step_session_info()) + +get_stage("script") %>% + add_step(step_rcmdcheck( + args = c("--as-cran", "--no-manual"), + build_args = "--force", + error_on = "warning", + check_dir = "check" + )) if (ci_on_circle()) { get_stage("before_deploy") %>% From d9bd5e3568feead93431aaec9ef982d665b5d604 Mon Sep 17 00:00:00 2001 From: munoztd0 Date: Wed, 21 Jan 2026 16:16:32 +0100 Subject: [PATCH 15/16] fix: windows warnings --- .github/workflows/tic.yml | 3 --- tic.R | 19 ++++++------------- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/.github/workflows/tic.yml b/.github/workflows/tic.yml index b13f758..b6fef21 100644 --- a/.github/workflows/tic.yml +++ b/.github/workflows/tic.yml @@ -93,9 +93,6 @@ jobs: path: ${{ env.R_LIBS_USER }} key: ${{ runner.os }}-r-${{ matrix.config.r }}-${{steps.date.outputs.date}} - - name: "[Debug] Show resolved tic DSL" - run: Rscript -e "print(tic::dsl_get())" - - name: "[Stage] Script" run: Rscript -e 'tic::script()' diff --git a/tic.R b/tic.R index 6f3c8be..70fcc5c 100644 --- a/tic.R +++ b/tic.R @@ -1,16 +1,9 @@ -dsl_init() - -get_stage("install") %>% - add_step(step_install_deps(dependencies = TRUE)) %>% - add_step(step_session_info()) - -get_stage("script") %>% - add_step(step_rcmdcheck( - args = c("--as-cran", "--no-manual"), - build_args = "--force", - error_on = "warning", - check_dir = "check" - )) +do_package_checks( + codecov = FALSE, + args = c("--as-cran", "--no-manual"), + build_args = "--force", + error_on = "warning" +) if (ci_on_circle()) { get_stage("before_deploy") %>% From 7a636646ab62ca9a88890ceef4fadb5b9658d966 Mon Sep 17 00:00:00 2001 From: munoztd0 Date: Thu, 22 Jan 2026 09:28:07 +0100 Subject: [PATCH 16/16] fix: windows warnings --- .Rbuildignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.Rbuildignore b/.Rbuildignore index 38899f7..c61c611 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -23,4 +23,5 @@ knitreadme.sh ^debug\.R$ ^CRAN-RELEASE$ ^cran-comments\.md$ -.envrc \ No newline at end of file +.envrc +^\.idea$ \ No newline at end of file