FactorAnalytics icon indicating copy to clipboard operation
FactorAnalytics copied to clipboard

fitFfmDT: unit test test-VIF.R Error

Open JustinMShea opened this issue 4 years ago • 1 comments

Output message from pkg build below. Looks like an issue in passing the specFfm object, but this needs further debugging.

* checking tests ...
  Running ‘tinytest.R’ ERROR
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > 
  > if ( requireNamespace("tinytest", quietly=TRUE) ){
  +   tinytest::test_package("FactorAnalytics")
  + }
  
  test-VIF.R....................    0 tests    Error in `[.data.frame`(data, , .N, by = c(date.var, obj$exposures.char)) : 
    unused argument (by = c(date.var, obj$exposures.char))
  Calls: <Anonymous> ... lapply -> FUN -> eval -> eval -> fitFfm -> specFfm -> [
  Execution halted

JustinMShea avatar Dec 20 '21 19:12 JustinMShea

After debugging a bit, this is most likely related to data issue #73, not fitFfmDT. Removing @midoshammaa

JustinMShea avatar Dec 22 '21 09:12 JustinMShea