OCHA-DAP / hdx-signals

HDX Signals
https://un-ocha-centre-for-humanitarian.gitbook.io/hdx-signals/
GNU General Public License v3.0
6 stars 0 forks source link

`Run Tests` button in IDE returns error #255

Open zackarno opened 2 weeks ago

zackarno commented 2 weeks ago

Run Tests button in IDE returns error when run on individual test file.

image

==> Testing R file using 'testthat'

Error in !trace_length(trace) : invalid argument type
Calls: <Anonymous> ... tryCatchList -> tryCatchOne -> <Anonymous> -> rethrow
Execution halted

Exited with status 1.

So after running code __init__.R file in module (not including box::export) __tests__ folder and the running code in helper-module.R I can run tests interactively line by line, but the Run Tests button still doesnt' work. Not sure if this is necessary or something that can be fixed, but flagging here for now #247