inst/tinytest/test_wooldridge.R

data_folder <- paste0(getwd(),"//data")


  # Are there 115 data sets with .Rdata files?
expect_equal(length(data(list = c(data(package = "wooldridge")$results[,3]))), 115,
             info = "Are there 115 data sets in the package?")
  

Try the wooldridge package in your browser

Any scripts or data that you put into this service are public.

wooldridge documentation built on May 3, 2023, 5:06 p.m.