Created attachment 244053 [details] patch Simple update to 0.5.6
Sugestions: - Switch to DISTVERSION as described in porter's handbook - Add test dependencies to get results from `make test`: +TEST_DEPENDS= R-cran-testthat>0:devel/R-cran-testthat \ + R-cran-markdown>0:textproc/R-cran-markdown I'm new to R packages, besides `make test` is there a simple way to test package? Thanks
Created attachment 244211 [details] PORTVERSION -> DISTVERSION
(In reply to Nuno Teixeira from comment #1) These tests are part of TTD (https://en.wikipedia.org/wiki/Test-driven_development). I think shouldn't add it into ports because it tests only the source code not the compiled package.
(In reply to Zsolt Udvari from comment #3) I've found that tests are usefull sometimes like in security/R-cran-openssl that exposed a possible bug with base openssl3 from 14 current: security/R-cran-openssl: Test fails with OpenSSL3: https://github.com/jeroen/openssl/issues/119
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7e33c2050532f45ae230b06057e78855a0cc690f commit 7e33c2050532f45ae230b06057e78855a0cc690f Author: Zsolt Udvari <uzsolt@uzsolt.hu> AuthorDate: 2023-08-19 12:47:58 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2023-08-19 12:49:13 +0000 textproc/R-cran-htmltools: Update to 0.5.6 - Switch to DISTVERSION ChangeLog: https://cran.r-project.org/web/packages/htmltools/news/news.html PR: 273104 textproc/R-cran-htmltools/Makefile | 4 ++-- textproc/R-cran-htmltools/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)
Committed, thanks!