Locally, test_report_rendered from test-add_file.R is failing due to presence of smart quotes not interpreting. This may be my system specific?? Any ideas re: cause?
==> devtools::test()
Loading valtools
Testing valtools
v | OK F W S | Context
x | 14 1 | add_file [5.6 s]
-------------------------------------------------------------------------------------------------------------------------------
Failure (test-add_file.R:236:3): added files and then rendered report is as expected
`test_report_rendered` not equal to c(...).
1/12 mismatches
x[6]: "print('hello')"
y[6]: "print(�hello�)"
Backtrace:
1. withr::with_tempdir(...) test-add_file.R:236:2
4. testthat::expect_equal(...) test-add_file.R:309:4
Locally,
test_report_rendered
fromtest-add_file.R
is failing due to presence of smart quotes not interpreting. This may be my system specific?? Any ideas re: cause?