Skip to content

Commit 748cb9d

Browse files
Upkeep 2025 04 (#205)
1 parent 8324e83 commit 748cb9d

File tree

109 files changed

+937
-852
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+937
-852
lines changed

.Rbuildignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@
1313
^cran-comments\.md$
1414
^CRAN-SUBMISSION$
1515
^revdep$
16+
^[\.]?air\.toml$
17+
^\.vscode$

.github/workflows/R-CMD-check.yaml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ on:
88
push:
99
branches: [main, master]
1010
pull_request:
11-
branches: [main, master]
12-
workflow_dispatch:
1311

1412
name: R-CMD-check.yaml
1513

@@ -36,14 +34,11 @@ jobs:
3634
- {os: ubuntu-latest, r: 'oldrel-1'}
3735
- {os: ubuntu-latest, r: 'oldrel-2'}
3836
- {os: ubuntu-latest, r: 'oldrel-3'}
39-
#- {os: ubuntu-latest, r: 'oldrel-4'}
37+
- {os: ubuntu-latest, r: 'oldrel-4'}
4038

4139
env:
4240
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
4341
R_KEEP_PKG_SOURCE: yes
44-
CXX14: g++
45-
CXX14STD: -std=c++1y
46-
CXX14FLAGS: -Wall -g -02
4742

4843
steps:
4944
- uses: actions/checkout@v4
@@ -64,8 +59,4 @@ jobs:
6459
- uses: r-lib/actions/check-r-package@v2
6560
with:
6661
upload-snapshots: true
67-
68-
- name: Show testthat output
69-
if: always()
70-
run: find check -name 'testthat.Rout*' -exec cat '{}' \; || true
71-
shell: bash
62+
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'

.github/workflows/pkgdown.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches: [main, master]
66
pull_request:
7-
branches: [main, master]
87
release:
98
types: [published]
109
workflow_dispatch:

.github/workflows/test-coverage.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches: [main, master]
66
pull_request:
7-
branches: [main, master]
87

98
name: test-coverage.yaml
109

@@ -35,14 +34,16 @@ jobs:
3534
clean = FALSE,
3635
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package")
3736
)
37+
print(cov)
3838
covr::to_cobertura(cov)
3939
shell: Rscript {0}
4040

41-
- uses: codecov/codecov-action@v4
41+
- uses: codecov/codecov-action@v5
4242
with:
43-
fail_ci_if_error: ${{ github.event_name != 'pull_request' && true || false }}
44-
file: ./cobertura.xml
45-
plugin: noop
43+
# Fail if error if not on PR, or if on PR and token is given
44+
fail_ci_if_error: ${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN }}
45+
files: ./cobertura.xml
46+
plugins: noop
4647
disable_search: true
4748
token: ${{ secrets.CODECOV_TOKEN }}
4849

.vscode/extensions.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"recommendations": [
3+
"Posit.air-vscode"
4+
]
5+
}

.vscode/settings.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"[r]": {
3+
"editor.formatOnSave": true,
4+
"editor.defaultFormatter": "Posit.air-vscode"
5+
}
6+
}

DESCRIPTION

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,18 @@ Authors@R: c(
55
person("Emil", "Hvitfeldt", , "[email protected]", role = c("aut", "cre"),
66
comment = c(ORCID = "0000-0002-0679-1945")),
77
person("Kelly", "Bodwin", , "[email protected]", role = "aut"),
8-
person(given = "Posit Software, PBC", role = c("cph", "fnd"))
8+
person("Posit Software, PBC", role = c("cph", "fnd"),
9+
comment = c(ROR = "03wc8by49"))
910
)
1011
Description: A common interface to specifying clustering models, in the
1112
same style as 'parsnip'. Creates unified interface across different
1213
functions and computational engines.
1314
License: MIT + file LICENSE
14-
URL: https://github.com/tidymodels/tidyclust, https://tidyclust.tidymodels.org/
15+
URL: https://github.com/tidymodels/tidyclust,
16+
https://tidyclust.tidymodels.org/
1517
BugReports: https://github.com/tidymodels/tidyclust/issues
1618
Depends:
17-
R (>= 3.6)
19+
R (>= 4.1)
1820
Imports:
1921
cli (>= 3.0.0),
2022
dials (>= 1.3.0),
@@ -52,6 +54,7 @@ Suggests:
5254
Config/Needs/website: pkgdown, tidymodels, tidyverse, palmerpenguins,
5355
patchwork, ggforce, tidyverse/tidytemplate
5456
Config/testthat/edition: 3
57+
Config/usethis/last-upkeep: 2025-04-24
5558
Encoding: UTF-8
5659
Roxygen: list(markdown = TRUE)
5760
RoxygenNote: 7.3.2

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
YEAR: 2023
1+
YEAR: 2025
22
COPYRIGHT HOLDER: tidyclust authors

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MIT License
22

3-
Copyright (c) 2023 tidyclust authors
3+
Copyright (c) 2025 tidyclust authors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

R/append.R

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ append_metrics <- function(
4343
return(collection)
4444
}
4545

46-
params <- predictions %>%
47-
dplyr::select(dplyr::all_of(param_names)) %>%
46+
params <- predictions |>
47+
dplyr::select(dplyr::all_of(param_names)) |>
4848
dplyr::distinct()
4949

5050
tmp_est <- metrics(workflow, new_data = rsample::analysis(split))
@@ -67,13 +67,13 @@ append_extracts <- function(
6767
.config = NULL
6868
) {
6969
extracts <-
70-
grid %>%
71-
dplyr::bind_cols(labels(split)) %>%
72-
dplyr::mutate(
73-
.extracts = list(
74-
extract_details(workflow, ctrl$extract)
75-
)
70+
grid |>
71+
dplyr::bind_cols(labels(split)) |>
72+
dplyr::mutate(
73+
.extracts = list(
74+
extract_details(workflow, ctrl$extract)
7675
)
76+
)
7777

7878
if (!rlang::is_null(.config)) {
7979
extracts <- cbind(extracts, .config)

0 commit comments

Comments
 (0)