Re: [R] Dependency errors for package pracma
> Hans W > on Thu, 9 Nov 2023 12:22:52 +0100 writes: > What really interests me: > With all those strict checking procedures, how is it possible that the > new 'Matrix' version got accepted on CRAN? There > 2000 reverse dependencies for Matrix. We have had some (in themselves small) inconsistency fixes some of which make Matrix 'Matrices' more similar to base R matrices. In any case we pre-tested all reverse dependencies and found 7 or 8 out of 22'000 CRAN+Bioc packages which needed to adapt to the Matrix changes. The package maintainer of the 7 packages were told in advance that they should (very slightly) adapt their code (sometimes only there *tests*) and mostly were even handed out a *patch* to apply to the respective package for updating it. One or two of these packages were updated on CRAN in time, the other ~ 5 were not... this is ~ 1 in 4000 packages. So the decision was made to release (from us pkg maintainers) and to accept (from the CRAN team). Also, to be fair, in our tests we did miss one package, but then quickly told the maintainer, again providing him with a complete patch file to update the package (working both with old and new Matrix). > I think this happened twice to me before, and it takes a lot of time > to check package dependencies that turn out to be not dependent -- > more time than checking dependencies that are real. With Matrix there is some extra effort, because it also exports a C API (so other packages can have 'LinkingTo: Matrix') and this time it was necessary for CRAN to additionally re-install those linking-reverse-dependent packages .. on all platforms, in time, etc. a somewhat brittle task all with a CRAN check system that simultaneously runs other package installations and checks. I think you were slightly unlucky in the timing of your package checks/submission. Best regards, Martin __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Dependency errors for package pracma
What really interests me: With all those strict checking procedures, how is it possible that the new 'Matrix' version got accepted on CRAN? I think this happened twice to me before, and it takes a lot of time to check package dependencies that turn out to be not dependent -- more time than checking dependencies that are real. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Dependency errors for package pracma
On 09.11.2023 06:42, Hans W wrote: I tried to update my package {pracma} on CRAN from 2.4.2 (2022-09-21) to version 2.4.4 (2023-11-08). This package reverse depends / imports / suggests on 350 packages on CRAN and 25 packages on Bioconductor. The only changes are small corrections on some help files, a new function for stereographic projection, and `gcd` and `Lcm` require integer inputs now (these functions are not used in the packages below). I received a dependency report saying that *** Changes to worse in reverse dependencies *** celltrackR, geostatsp, gmvjoint, hypr, randnet Most are from a recent Matrix update, hypr might not, so please check the above and tell us whether pracma casuses one of the issues (hypr?) and whether the maintainer has been informed in advance. Example: geostatsp suggests pracma, but uses only the function 'trapz' that has not changed for years and years. I cannot check this package, as probably other packages (from Bioconductor ?) are needed to install it. Example: gmvjoint imports pracma and uses 'grad', 'hessian', and 'nearest_spd'; these functions have not changed for years. On my system, gmvjoint gets checked without ERRORs ! What should I do? Frankly, I do not have the time to check these packages or to test almost 400 packages before uploading to CRAN. The CRAN policies point you to functionality so that you can simply run these checks autiomatically on your machine. Let me read it for you: "For a package update, please check that any packages depending on this one still pass R CMD check: it is especially expected that you will have checked your own packages. Reverse dependencies can conveniently be checked using tools::check_packages_in_dir(reverse = list()), and changes in check status subsequently be analyzed using tools::check_packages_in_dir_changes(). A listing of the reverse dependencies of the current version can be found on the CRAN web page for the package, or be obtained via tools::package_dependencies(reverse = TRUE). If possible, check reverse strong dependencies, reverse suggests and the recursive strong dependencies of these (by tools::package_dependencies(reverse = TRUE, which = "most", recursive = "strong")). " Best, Uwe Ligges Okay, I can leave it as is and wait until it gets thrown off CRAN (because of some new syntax checks, e.g.). I will not mind much. Are there better alternatives? Thanks, Hans Werner __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] Dependency errors for package pracma
I tried to update my package {pracma} on CRAN from 2.4.2 (2022-09-21) to version 2.4.4 (2023-11-08). This package reverse depends / imports / suggests on 350 packages on CRAN and 25 packages on Bioconductor. The only changes are small corrections on some help files, a new function for stereographic projection, and `gcd` and `Lcm` require integer inputs now (these functions are not used in the packages below). I received a dependency report saying that *** Changes to worse in reverse dependencies *** celltrackR, geostatsp, gmvjoint, hypr, randnet Example: geostatsp suggests pracma, but uses only the function 'trapz' that has not changed for years and years. I cannot check this package, as probably other packages (from Bioconductor ?) are needed to install it. Example: gmvjoint imports pracma and uses 'grad', 'hessian', and 'nearest_spd'; these functions have not changed for years. On my system, gmvjoint gets checked without ERRORs ! What should I do? Frankly, I do not have the time to check these packages or to test almost 400 packages before uploading to CRAN. Okay, I can leave it as is and wait until it gets thrown off CRAN (because of some new syntax checks, e.g.). I will not mind much. Are there better alternatives? Thanks, Hans Werner __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.