From 16b0b1cf53ead8cdbb6bf62c133b1a66556f1ea3 Mon Sep 17 00:00:00 2001 From: Sebastian Fischer Date: Mon, 25 Aug 2025 16:47:54 +0200 Subject: [PATCH 1/2] release 0.3.1 --- DESCRIPTION | 2 +- NEWS.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index e64cc169c..a5a2d7431 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: mlr3torch Title: Deep Learning with 'mlr3' -Version: 0.3.0.9000 +Version: 0.3.1 Authors@R: c(person(given = "Sebastian", family = "Fischer", diff --git a/NEWS.md b/NEWS.md index 181eafa14..537fc0880 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,13 +1,13 @@ -# mlr3torch (development version) +# mlr3torch 0.3.1 -## Bug Fixes: +## Bug Fixes * FT Transformer can now be (un-)marshaled after being trained on categorical data (#412). * Parameters (batch)-sampler now work (#420, thanks @tdhock) -## Features: +## Features -* Better error messages for some cases. +* Better error messages. # mlr3torch 0.3.0 From 3f146e92949fd6714c6911c97e8cdd55cf002bc5 Mon Sep 17 00:00:00 2001 From: Sebastian Fischer Date: Tue, 26 Aug 2025 10:16:39 +0200 Subject: [PATCH 2/2] rhub check --- .github/workflows/rhub.yaml | 95 +++++++++++++++++++++++++++++++++++++ cran-comments.md | 11 +---- man/mlr_tasks_cifar.Rd | 2 +- 3 files changed, 97 insertions(+), 11 deletions(-) create mode 100644 .github/workflows/rhub.yaml diff --git a/.github/workflows/rhub.yaml b/.github/workflows/rhub.yaml new file mode 100644 index 000000000..74ec7b051 --- /dev/null +++ b/.github/workflows/rhub.yaml @@ -0,0 +1,95 @@ +# R-hub's generic GitHub Actions workflow file. It's canonical location is at +# https://github.com/r-hub/actions/blob/v1/workflows/rhub.yaml +# You can update this file to a newer version using the rhub2 package: +# +# rhub::rhub_setup() +# +# It is unlikely that you need to modify this file manually. + +name: R-hub +run-name: "${{ github.event.inputs.id }}: ${{ github.event.inputs.name || format('Manually run by {0}', github.triggering_actor) }}" + +on: + workflow_dispatch: + inputs: + config: + description: 'A comma separated list of R-hub platforms to use.' + type: string + default: 'linux,windows,macos' + name: + description: 'Run name. You can leave this empty now.' + type: string + id: + description: 'Unique ID. You can leave this empty now.' + type: string + +jobs: + + setup: + runs-on: ubuntu-latest + outputs: + containers: ${{ steps.rhub-setup.outputs.containers }} + platforms: ${{ steps.rhub-setup.outputs.platforms }} + + steps: + # NO NEED TO CHECKOUT HERE + - uses: r-hub/actions/setup@v1 + with: + config: ${{ github.event.inputs.config }} + id: rhub-setup + + linux-containers: + needs: setup + if: ${{ needs.setup.outputs.containers != '[]' }} + runs-on: ubuntu-latest + name: ${{ matrix.config.label }} + strategy: + fail-fast: false + matrix: + config: ${{ fromJson(needs.setup.outputs.containers) }} + container: + image: ${{ matrix.config.container }} + + steps: + - uses: r-hub/actions/checkout@v1 + - uses: r-hub/actions/platform-info@v1 + with: + token: ${{ secrets.RHUB_TOKEN }} + job-config: ${{ matrix.config.job-config }} + - uses: r-hub/actions/setup-deps@v1 + with: + token: ${{ secrets.RHUB_TOKEN }} + job-config: ${{ matrix.config.job-config }} + - uses: r-hub/actions/run-check@v1 + with: + token: ${{ secrets.RHUB_TOKEN }} + job-config: ${{ matrix.config.job-config }} + + other-platforms: + needs: setup + if: ${{ needs.setup.outputs.platforms != '[]' }} + runs-on: ${{ matrix.config.os }} + name: ${{ matrix.config.label }} + strategy: + fail-fast: false + matrix: + config: ${{ fromJson(needs.setup.outputs.platforms) }} + + steps: + - uses: r-hub/actions/checkout@v1 + - uses: r-hub/actions/setup-r@v1 + with: + job-config: ${{ matrix.config.job-config }} + token: ${{ secrets.RHUB_TOKEN }} + - uses: r-hub/actions/platform-info@v1 + with: + token: ${{ secrets.RHUB_TOKEN }} + job-config: ${{ matrix.config.job-config }} + - uses: r-hub/actions/setup-deps@v1 + with: + job-config: ${{ matrix.config.job-config }} + token: ${{ secrets.RHUB_TOKEN }} + - uses: r-hub/actions/run-check@v1 + with: + job-config: ${{ matrix.config.job-config }} + token: ${{ secrets.RHUB_TOKEN }} diff --git a/cran-comments.md b/cran-comments.md index 8e12287bf..20257fd06 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,12 +1,3 @@ ## R CMD check results -0 errors | 0 warnings | 1 note - -Maintainer: 'Sebastian Fischer ' - -Days since last update: 6 - -I am sorry for another upload in such a short timeframe. -However, because I am going on vacation, I would like to submit a new release -with important bugfixes before that and have already discussed this -with Uwe Ligges per e-mail. +0 errors | 0 warnings | 0 note diff --git a/man/mlr_tasks_cifar.Rd b/man/mlr_tasks_cifar.Rd index 838c8cf71..6bce7c386 100644 --- a/man/mlr_tasks_cifar.Rd +++ b/man/mlr_tasks_cifar.Rd @@ -18,7 +18,7 @@ CIFAR-10 contains 10 classes. CIFAR-100 contains 100 classes, which may be parti The CIFAR-10 and CIFAR-100 classes are mutually exclusive. See Chapter 3.1 of \href{https://www.cs.toronto.edu/~kriz/learning-features-2009-TR.pdf}{the technical report} for more details. -The data is obtained from \code{\link[torchvision:cifar10_dataset]{torchvision::cifar10_dataset()}} (or \code{torchvision::cifar100_dataset()}). +The data is obtained from \code{\link[torchvision:cifar_datasets]{torchvision::cifar10_dataset()}} (or \code{torchvision::cifar100_dataset()}). } \section{Construction}{