Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in file tutorials/R/biodiversity/aquatic-macroinvertebrates/02_ecocomDP_workflow_with_NEON_algae/02_ecocomDP_workflow_with_NEON_algae.R #612

Open
natalie-robinson opened this issue Feb 2, 2022 · 2 comments
Assignees

Comments

@natalie-robinson
Copy link
Contributor

As part of automated testing, the following errors were found (some of these are because of function overrides due to the order in which packages were loaded in my environment, but this will occur for other users as well):

Lines: 45; 48;51; 54-56; 87

  • return NULL

Lines: 87-90; 92-94; 103

  • return "... $ operator is invalid for atomic vectors".
  • To fix this, remove "[[1]]"

Line 145

  • returns "Error: by must be supplied when x and y have no common variables."
  • This is because the object created on line 141 ('my_data_summed') has a single column and a single value. To fix this, update line 143 to read "dplyr::summarize(value = sum(value, na.rm = FALSE))"

Line 175

  • returns ""unable to find an inherited method for function ‘select’ for signature ‘"data.frame"’
  • Fix by updating line 177 to "dplyr::select(event_id, taxon_id, value)"
@cklunch
Copy link
Collaborator

cklunch commented Feb 2, 2022

@sokole

@cklunch
Copy link
Collaborator

cklunch commented Aug 15, 2022

@sokole Checking in on stale issues. Was this resolved in the PR you just submitted?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants