r-cran-yardstick 1.4.0-1
Package Information
| Description | Tidy Characterizations of Model Performance Tidy tools for quantifying how well model fits to a data set such as confusion matrices, class probability curve summaries, and regression metrics (e.g., RMSE). |
|---|---|
| Maintainer | Debian R Packages Maintainers <r-pkg-team@alioth-lists.debian.net> |
| Changed By | Charles Plessy <plessy@debian.org> |
| Sponsor | plessy@debian.org |
| Distribution | unstable |
| Architecture | any |
| VCS | git: https://salsa.debian.org/r-pkg-team/r-cran-yardstick.git (browse) |
| Tracker | https://tracker.debian.org/pkg/r-cran-yardstick |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Changed-By | Charles Plessy <plessy@debian.org> |
|---|---|
| Architecture | source amd64 |
| Distribution | unstable |
| Date | Tue, 17 Nov 2026 11:01:07 +0900 |
| Source | r-cran-yardstick |
| Version | 1.4.0-1 |
Changelog
r-cran-yardstick (1.4.0-1) unstable; urgency=medium . * Initial release (needed by r-cran-caret)
.dsc
| Section | gnu-r |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | r-cran-yardstick deb gnu-r optional arch=any |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: yardstick Upstream-Contact: Emil Hvitfeldt <emil.hvitfeldt@posit.co> Source: https://cran.r-project.org/package=yardstick Files: * Copyright: 2025-2026 yardstick authors, Max Kuhn, Davis Vaughan, Emil Hvitfeldt (ORCID: <https://orcid.org/0000-0002-0679-1945>), Posit Software, PBC (ROR: <https://ror.org/03wc8by49>) License: MIT Files: debian/* Copyright: Debian R Packages Maintainers <r-pkg-team@alioth-lists.debian.net> License: MIT License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
DFSG Assistant LLM REVIEW 1 blocker, 0 important, 0 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 1 hour ago.
Report
DFSG NEW review for r-cran-yardstick version 1.4.0-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: Yes
- Issues: 1 blocker, 0 important, 0 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: 42 found
Licensing
Everything in the package is DFSG-free: the bulk is MIT per DESCRIPTION, LICENSE and debian/copyright, and the three vendored R/import-standalone-*.R files are under the Unlicense (public-domain dedication), which is also free. debian/copyright is nevertheless inaccurate: its Files: * stanza declares MIT for those three files, whose own headers say license: https://unlicense.org, and it contains no Unlicense stanza or text. Data, images and test fixtures carry no contradictory terms.
Packaging
The packaging is sound and follows current Debian R practice: 3.0 (quilt) with no patches, debhelper compat 14, dh $@ --buildsystem R with dh-r, a complete dependency set mirroring DESCRIPTION Imports, an autopkgtest that installs the test suite via debian/docs and runs it, upstream/metadata, Vcs-* and Homepage, and Standards-Version 4.7.4 against Policy 4.7.4.1. The binary-data files are documented in debian/README.source. The only defect found is the licence misstatement in debian/copyright, reported under licensing.
Issues
blocker licensing 1. Files: * declares MIT for the three R/import-standalone-*.R files, which are Unlicense ◂
- Files:
R/import-standalone-obj-type.R:10,R/import-standalone-survival.R:9,R/import-standalone-types-check.R:10,debian/copyright:7-13 - Basis: checked, in the package or with a reference tool
- Evidence: Each file header says
# license: https://unlicense.org(obj-type and types-check are generated from r-lib/rlang, survival from tidymodels/parsnip), whiledebian/copyrighthas onlyFiles: *...License: MIT. - Problem: These vendored files are not MIT-licensed: they are dedicated to the public domain under the Unlicense, and the MIT grant in debian/copyright does not describe them. They are R code installed into the binary package, so the copyright file must state their actual licence; the Unlicense text is not in /usr/share/common-licenses, so it must be reproduced. The files are free, so this is not a DFSG problem, but the copyright file is factually wrong (Policy 2.3).
- Fix: Add a
Files: R/import-standalone-*.Rstanza naming the holders (rlang and parsnip authors, Posit Software, PBC),License: Unlicense, and a stand-aloneLicense: Unlicenseparagraph with the full Unlicense text; keepFiles: *as MIT for the rest.
Verified ◂
- Read in full: debian/copyright (DEP-5, correct Format URL, Files: * then Files: debian/*, MIT text), control, rules, changelog, README.source, docs, tests/control, tests/run-unit-test, salsa-ci.yml, upstream/metadata, source/format.
- Inventoried the tree (374 files) directory by directory: DESCRIPTION, MD5, LICENSE, NAMESPACE, NEWS.md, README.md, R/, man/, man/figures/, data/, vignettes/, inst/doc/, src/ (init.c, mcc-multiclass.c, yardstick.h), tests/, build/; there is no LICENSE/COPYING/NOTICE/AUTHORS file below the top level.
- Licence evidence across the tree: only the MIT template LICENSE (
YEAR: 2025,COPYRIGHT HOLDER: yardstick authors) and the three# license: https://unlicense.orgheaders; no other Copyright, (C), ©, SPDX or licence notices in R/, src/, man/, tests/ or vignettes/. - data/hpc_cv.rda, data/lung_surv.rda, data/pathology.rda, data/solubility_test.rda and data/two_class_example.rda are R datasets, documented by man/hpc_cv.Rd, man/lung_surv.Rd, man/pathology.Rd, man/solubility_test.Rd and man/two_class_example.Rd and all five listed in debian/README.source; they are data, not built artifacts.
- build/vignette.rds is the vignette index generated by R CMD build from vignettes/metric-types.Rmd, vignettes/grouping.Rmd and vignettes/multiclass.Rmd, which are present; inst/doc/{metric-types,grouping,multiclass}.{R,html} are the rendered output of those same sources.
- tests/testthat/data/helper-pROC-two-class-example-curve.rds, helper-soybean.rds, helper-three-class-helpers.rds, test_autoplot.rds, weights-hpc-cv.rds, weights-solubility-test.rds and weights-two-class-example.rds are test fixtures read by helper-data.R, helper-pROC.R and helper-weights.R; tests/testthat/data/auc_churn_res.rds, brier_churn_res.rds, ref_roc_auc_survival.rds, ref_roc_curve_survival.rds, rr_churn_data.rds and tidy_churn.rds are fixtures read by test-surv-brier_survival.R, test-surv-roc_auc_survival.R and test-surv-roc_curve_survival.R.
- tests/testthat/py-data/py-accuracy.rds, py-average-precision.rds, py-bal-accuracy.rds, py-brier-survival.rds, py-demographic_parity.rds, py-equal_opportunity.rds, py-equalized_odds.rds, py-f_meas.rds, py-f_meas_beta_.5.rds, py-kap.rds, py-mae.rds, py-mape.rds, py-mcc.rds, py-mn_log_loss.rds, py-npv.rds, py-ppv.rds, py-pr-curve.rds, py-precision.rds, py-recall.rds, py-rmse.rds, py-roc-auc.rds, py-roc-curve.rds and py-rsq-trad.rds are reference values generated by the shipped script tests/pycompare/generate-pycompare.R (
saveRDS(..., test_path("py-data", ...))); they are test fixtures. - man/figures/README-roc-curves-1.png is the plot used in README.md, man/figures/logo.png the package logo, and man/figures/lifecycle-*.svg the r-lib lifecycle badges; not opened, all covered by the MIT Files: * stanza.
- md5sums, not licence material; MD5 is CRAN's checksum list.
- Packaging: no patches and no debian/patches/; compat 14; dh-r's R buildsystem; autopkgtest test installed through debian/docs and executed by run-unit-test; Standards-Version 4.7.4 matches Policy 4.7.4.1's first two components; changelog for unstable, initial upload 1.4.0-1; Vcs-Git/Vcs-Browser/Homepage present.
- apt-cache confirms r-pkg-team-core-architecture exists (binary of dh-r 20260707), so its use in Build-Depends and Depends is not a dangling dependency.
- Tests that use probably are guarded with skip_if_not_installed("probably"); r-cran-probably is not in the archive and is not in debian/tests/control, so those tests skip rather than fail.
- uscan found the packaged version as the newest upstream release (upstream
1.4.0, packaged1.4.0).
Not confirmed ◂
- dh-r is not installed on the reviewing system, so I could not read its R buildsystem to confirm whether it rebuilds vignettes or runs the test suite during the build; Build-Depends mirrors DESCRIPTION Imports while the Suggests needed by the tests are in debian/tests/control.
- No R runtime was available, so the package was not built or its tests run; binary .rda/.rds files were judged from the documentation and test code that reference them, not opened.
Proposed changes ◂
None.
Uploader's response to the LLM review
Good catch!
I am pushing this to the package's repo. Maybe we can defer the upload fix to the next upstream update, since the Unlicense is so permissive?
diff --git a/debian/copyright b/debian/copyright
index ad69319..2743379 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -12,6 +12,34 @@ Copyright: 2025-2026 yardstick authors,
Posit Software, PBC (ROR: https://ror.org/03wc8by49)
License: MIT
+Files: R/import-standalone*
+Copyright: none declared
+License: Unlicense
- This is free and unencumbered software released into the public domain.
- .
- Anyone is free to copy, modify, publish, use, compile, sell, or
- distribute this software, either in source code form or as a compiled
- binary, for any purpose, commercial or non-commercial, and by any
- means.
- .
- In jurisdictions that recognize copyright laws, the author or authors
- of this software dedicate any and all copyright interest in the
- software to the public domain. We make this dedication for the benefit
- of the public at large and to the detriment of our heirs and
- successors. We intend this dedication to be an overt act of
- relinquishment in perpetuity of all present and future rights to this
- software under copyright law.
- .
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
- OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
- ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- OTHER DEALINGS IN THE SOFTWARE.
- .
- For more information, please refer to https://unlicense.org/
+
Files: debian/*
Copyright: Debian R Packages Maintainers r-pkg-team@alioth-lists.debian.net
License: MIT
— Charles Plessy (plessy), 0 hours ago