Skip to content

Deprecation warning for size argument in element_line() #11

@Thokas99

Description

@Thokas99

When using the correlationfunnel (version: 0.2.0), I receive the following warning:

The size argument of element_line() is deprecated as of ggplot2 3.4.0.
ℹ Please use the linewidth argument instead.
ℹ The deprecated feature was likely used in the correlationfunnel package. Please report the issue at https://github.com/business-science/correlationfunnel/issues.
This warning is displayed once every 8 hours.

Steps to reproduce:

Load the correlationfunnel package.

Run

library(correlationfunnel)
correlationfunnel::plot_correlation_funnel()

Session info:

sessionInfo()
R version 4.5.2 (2025-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 11 x64 (build 26200)

Matrix products: default
  LAPACK version 3.12.1

The warning suggests replacing size with linewidth in calls to element_line().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions