Skip to content

Commit

Permalink
Merge pull request #35 from rdboyes/dev
Browse files Browse the repository at this point in the history
update data loading command
  • Loading branch information
rdboyes authored Oct 30, 2021
2 parents c1ca104 + 26ab7cf commit ab6bc23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Forester simply requires the left side of the table (in this case, three columns
```{r example}
library(forester)
table <- readxl::read_excel(here::here("inst/extdata/example_figure_data.xlsx"))
table <- readxl::read_excel(system.file("extdata", "example_figure_data.xlsx", package = "forester"))
# indent the subgroup if there is a number in the placebo column
table$Subgroup <- ifelse(is.na(table$Placebo),
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ which contain the point estimates and confidence intervals.
``` r
library(forester)

table <- readxl::read_excel(here::here("inst/extdata/example_figure_data.xlsx"))
table <- readxl::read_excel(system.file("extdata", "example_figure_data.xlsx", package = "forester"))

# indent the subgroup if there is a number in the placebo column
table$Subgroup <- ifelse(is.na(table$Placebo),
Expand Down

0 comments on commit ab6bc23

Please sign in to comment.