From 73308340899e69c6986edea0986c5bbd02d83897 Mon Sep 17 00:00:00 2001 From: Richard Rigby Date: Mon, 30 Mar 2026 07:52:44 +0100 Subject: [PATCH 1/2] README: Update `infer_edgelist()` example 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 --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index d17dd6e..82e12ba 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,6 @@ edgelist <- infer_edgelist( cat_combo_list = feeding_rules, col_taxon = "species", certainty_req = "all", - allow_self = FALSE ) # Show first few interactions From 983ecf1bb1b79545c8ed2221c82d99293fb70196 Mon Sep 17 00:00:00 2001 From: Richard Rigby Date: Mon, 30 Mar 2026 07:55:10 +0100 Subject: [PATCH 2/2] README: Update `libraru()` example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Example fails: ``` Error in library(pfwim.R) : there is no package called ‘pfwim.R’ ``` Remove `.R` from library name. Addresses #3 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 82e12ba..c644b76 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ devtools::install_github("BecksLab/pfwim") ## Load Example Data ``` -library(pfwim.R) +library(pfwim) # Trait data data("traits", package = "pfwim")