Skip to content

README updates - #8

Merged
TanyaS08 merged 2 commits into
mainfrom
README_updates
Mar 30, 2026
Merged

TanyaS08 merged 2 commits into
mainfrom
README_updates

Conversation

@cemacrr

@cemacrr cemacrr commented Mar 30, 2026

Copy link
Copy Markdown
Collaborator

Update README file.

Adjust package name in library() example, remove .R extension.

Adjust infer_edgelist() example, removing allow_self = FALSE option, which causes error.

The example matches that in th workflow vignette, but a more complete fix may require code adjustments.

This pull request addresses issues #2 and #3.

cemacrr added 2 commits March 30, 2026 07:52
Example fails:

```
> edgelist <- infer_edgelist(
  data = traits,
  cat_combo_list = feeding_rules,
  col_taxon = "species",
  certainty_req = "all",
  allow_self = FALSE
)

[1] "feeding"
[1] "motility"
[1] "habitat"
[1] "size"
Error in infer_edgelist(data = traits, cat_combo_list = feeding_rules,  :
  object 'fw_match_traits3' not found
```

Remove `allow_self = FALSE` options, to match example in the workflow vignette,
which does not fail.

Addresses #2
Example fails:

```
Error in library(pfwim.R) : there is no package called ‘pfwim.R’
```

Remove `.R`  from library name.

Addresses #3
@TanyaS08
TanyaS08 self-requested a review March 30, 2026 11:03
@TanyaS08
TanyaS08 merged commit 7d152a1 into main Mar 30, 2026
1 check passed
@TanyaS08
TanyaS08 deleted the README_updates branch April 29, 2026 11:49
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

Successfully merging this pull request may close these issues.

README: library() example fails README: infer_edgelist() example fails

2 participants