Skip to content

Bug with y_to_force #3

@sginot

Description

@sginot

Hi Peter

When using function y_to_force() with a classifier tibble that contains the "required" columns, including a species column, the output tibble does not include all columns in the classifier, but only the "measurement", "specimen", "t" and "force" columns. Notably, the species column seems to be dropped.

Then, if trying to use function summarize_measurements on the output tibble, the follwing error is issued:

Error in summarize_measurements(df.all.200.tax, var1, var2) : 
  column names of 'df' must contain 'species', 'specimen', 'measurement', 't', 'force'

Since only the species column is missing, I guess that's where the error stems from.

Cheers

Sam

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