tests/testthat/tests.R

library(lotterybr)

games <- c("maismilionaria", "megasena", "lotofacil", "quina", "lotomania",
         "duplasena", "diadesorte")
types <- c("numbers", "winners")
language <- c("ptbr","eng")
for(game in games){
  for(type in types){
    for(language in language){
      data <- get_data(game = game, type = type, language = language)
    }
  }
}

Try the lotterybr package in your browser

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

lotterybr documentation built on June 22, 2024, 9:41 a.m.