Skip to content

Commit

Permalink
fixing file path in testthat
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyclements committed May 1, 2024
1 parent 748f6c0 commit 4a0b661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-import_CPI.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ library(tidyr)
library(stringr)

# Assuming you have a test Excel file located in your test directory called "test_CPI_Data.xlsx"
path_to_test_file <- "tests/testthat/testdata/CPI_Data_DashboardExtract.xlsx"
path_to_test_file <- "testdata/CPI_Data_DashboardExtract.xlsx"

test_data <- import_CPI(path = path_to_test_file, sheet = "Data_Price", skip = 2)

Expand Down

0 comments on commit 4a0b661

Please sign in to comment.