Skip to content

download_ebi() function: Warnings in mutate() #43

@silargi

Description

@silargi

Reporting, as requested (see below).

When running:
efe_van_ebi_ast_ftp <- download_ebi(
species = "Enterococcus faecium",
antibiotic = "vancomycin",
release = "2025-12",
reformat = TRUE,
interpret_clsi = TRUE,
interpret_ecoff = TRUE
)

Warning: There were 2 warnings in mutate().
The first warning was:
ℹ In argument: across(...).
Caused by warning:
! The ... argument of across() is deprecated as of dplyr 1.1.0.
Supply arguments directly to .fns through an anonymous function instead.

Previously

across(a:b, mean, na.rm = TRUE)

Now

across(a:b, (x) mean(x, na.rm = TRUE))
ℹ The deprecated feature was likely used in the AMRgen package.
Please report the issue at https://github.com/AMRverse/AMRgen/issues.
This warning is displayed once per session.
Call lifecycle::last_lifecycle_warnings() to see where this warning was generated.
ℹ Run dplyr::last_dplyr_warnings() to see the 1 remaining warning.

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