Thank you! (I know about package_dependencies() but ran into precisely the same problem and didn't want to re-implement it ...)

On 2024-04-18 9:11 a.m., Josiah Parry wrote:
Well, after trying to install the package, I believe the issue is because margins has been archived.

https://cran.r-project.org/web/packages/margins/index.html <https://cran.r-project.org/web/packages/margins/index.html>

You can check recursive dependencies using `tools::package_dependencies("pkg", recursive = TRUE)` which would help you in this case. I couldn't run it since the package is not available on CRAN, however.


On Thu, Apr 18, 2024 at 9:05 AM Ben Bolker <bbol...@gmail.com <mailto:bbol...@gmail.com>> wrote:

        The 'dotwhisker' package was archived on CRAN: from
    https://cran.r-project.org/web/packages/dotwhisker/index.html
    <https://cran.r-project.org/web/packages/dotwhisker/index.html>

          Package ‘dotwhisker’ was removed from the CRAN repository
          ...

          Archived on 2024-04-12 as requires archived package 'prediction'.

         However, I can't for the life of me see where this dependence
    could
    come from. Neither the DESCRIPTION file of the last-archived version on
    CRAN
    <https://cran.r-project.org/src/contrib/Archive/dotwhisker/dotwhisker_0.8.1.tar.gz 
<https://cran.r-project.org/src/contrib/Archive/dotwhisker/dotwhisker_0.8.1.tar.gz>>,
    nor the version on github <https://github.com/fsolt/dotwhisker
    <https://github.com/fsolt/dotwhisker>>, seem to
    show any signs of importing prediction ... ?? I suppose there's a
    possibility of a recursive dependence, but in that case why wouldn't
    the
    direct dependence be reported?

    Depends: R (>= 3.2.0), ggplot2 (>= 2.2.1),
    Imports: grid, gtable, gridExtra, stats, parameters, performance,
              patchwork, margins, dplyr, stringr, ggstance, rlang, purrr
    Suggests: ordinal, tibble, knitr, rmarkdown, broom

        What am I missing?

        (I'm concerned because I have packages that Suggest: dotwhisker,
    and
    the absence of the package from repos is breaking GitHub Actions
    checks ...)


        (This is cross-posted from an issue on the dotwhisker GH
    repository:
    https://github.com/fsolt/dotwhisker/issues/115
    <https://github.com/fsolt/dotwhisker/issues/115>)

    ______________________________________________
    R-package-devel@r-project.org <mailto:R-package-devel@r-project.org>
    mailing list
    https://stat.ethz.ch/mailman/listinfo/r-package-devel
    <https://stat.ethz.ch/mailman/listinfo/r-package-devel>


--
Dr. Benjamin Bolker
Professor, Mathematics & Statistics and Biology, McMaster University
Director, School of Computational Science and Engineering
(Acting) Graduate chair, Mathematics & Statistics
> E-mail is sent at my convenience; I don't expect replies outside of working hours.

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to