testthat system setup problem

I've created my first unit test! I can interactively run test_that() that contains a series of expect_equal() calls.

But when I try to use devtools::test() (or Cntrl-Shift-T) I get the messages and error below.

devtools::test()
i Loading Educational_Attainment_Model
i Testing Educational_Attainment_Model
√ | F W S OK | Context
x | 1 0 | duplicate_rows


Error in cli::style_hyperlink(paste0(basename(filename), ":", x$srcref[1], :
unused argument (params = c(line = x$srcref[1], col = x$srcref[2]))

I suspect this could be a by product of my working on a cloud computer, but that is me guessing.
Sys.getenv("HOME")
[1] "//c3storage.xxx.gov/UserFolders/nabeel/Documents"

You need to update the cli package. Or testthat.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.