Hi All, Just want to flag a few packages: MatrixLDA: https://cran.r-project.org/web/packages/MatrixLDA/index.html The URL is technically valid - ajmolstad at github.io/ - but returns a 404. Almost certainly a typo. redistmetrics: https://cran.r-project.org/web/packages/redistmetrics/index.html Not a valid URL: https::/github.com/alarm-redist/redistmetrics/ yarrr: https://cran.r-project.org/web/packages/yarrr/ It looks like a lapsed domain, and Cypro folks have grabbed it. Thanks Colin Ps I only found the last package because the name caught my attention
Bad URLs in DESCRIPTION files
4 messages · Lluís Revilla, Colin Gillespie, Kurt Hornik
Hi Colin, I'm surprised this wasn't captured by the url checker on CRAN. Are you suggesting a new check on package descriptions for the urls present? In that case I guess it could be part of the standard R CMD check. Llu?s
On Thu, 3 Apr 2025 at 17:17, Colin Gillespie <csgillespie at gmail.com> wrote:
Hi All, Just want to flag a few packages: MatrixLDA: https://cran.r-project.org/web/packages/MatrixLDA/index.html The URL is technically valid - ajmolstad at github.io/ - but returns a 404. Almost certainly a typo. redistmetrics: https://cran.r-project.org/web/packages/redistmetrics/index.html Not a valid URL: https::/github.com/alarm-redist/redistmetrics/ yarrr: https://cran.r-project.org/web/packages/yarrr/ It looks like a lapsed domain, and Cypro folks have grabbed it. Thanks Colin Ps I only found the last package because the name caught my attention
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
I'm surprised this wasn't captured by the url checker on CRAN.
As was I
Are you suggesting a new check on package descriptions for the urls present?
Yes - but more fixing edge cases than a new check
In that case I guess it could be part of the standard R CMD check.
Yep. Kurt's message suggests that these were edge cases that missed the check. Thanks
Llu?s On Thu, 3 Apr 2025 at 17:17, Colin Gillespie <csgillespie at gmail.com> wrote:
Hi All, Just want to flag a few packages: MatrixLDA: https://cran.r-project.org/web/packages/MatrixLDA/index.html The URL is technically valid - ajmolstad at github.io/ - but returns a 404. Almost certainly a typo. redistmetrics: https://cran.r-project.org/web/packages/redistmetrics/index.html Not a valid URL: https::/github.com/alarm-redist/redistmetrics/ yarrr: https://cran.r-project.org/web/packages/yarrr/ It looks like a lapsed domain, and Cypro folks have grabbed it. Thanks Colin Ps I only found the last package because the name caught my attention
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Colin Gillespie writes:
I'm surprised this wasn't captured by the url checker on CRAN.
As was I
Are you suggesting a new check on package descriptions for the urls present?
Yes - but more fixing edge cases than a new check
In that case I guess it could be part of the standard R CMD check.
Yep. Kurt's message suggests that these were edge cases that missed the check.
Actually, the check code finds all these problems, but it is only run
upon submission. Running
x <- tools::CRAN_package_db()
y <- parallel::mclapply(x$URL,
tools:::.bad_DESCRIPTION_URL_field_parts,
mc.cores = 6L)
names(y) <- x$Package
y <- Filter(length, y)
y
currently finds problems in 50 CRAN packages.
Best
-k
Thanks
Llu?s On Thu, 3 Apr 2025 at 17:17, Colin Gillespie <csgillespie at gmail.com> wrote:
Hi All, Just want to flag a few packages: MatrixLDA: https://cran.r-project.org/web/packages/MatrixLDA/index.html The URL is technically valid - ajmolstad at github.io/ - but returns a 404. Almost certainly a typo. redistmetrics: https://cran.r-project.org/web/packages/redistmetrics/index.html Not a valid URL: https::/github.com/alarm-redist/redistmetrics/ yarrr: https://cran.r-project.org/web/packages/yarrr/ It looks like a lapsed domain, and Cypro folks have grabbed it. Thanks Colin Ps I only found the last package because the name caught my attention
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel