CRAN Package Check Results for Package lotterybr

Last updated on 2025-03-01 09:51:56 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 7.15 59.80 66.95 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.0 4.70 42.69 47.39 OK
r-devel-linux-x86_64-fedora-clang 0.2.0 108.62 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 116.22 OK
r-devel-macos-arm64 0.2.0 58.00 OK
r-devel-macos-x86_64 0.2.0 89.00 OK
r-devel-windows-x86_64 0.2.0 8.00 83.00 91.00 OK
r-patched-linux-x86_64 0.2.0 5.86 57.26 63.12 OK
r-release-linux-x86_64 0.2.0 7.16 57.66 64.82 OK
r-release-macos-arm64 0.2.0 61.00 OK
r-release-macos-x86_64 0.2.0 114.00 OK
r-release-windows-x86_64 0.2.0 8.00 81.00 89.00 OK
r-oldrel-macos-arm64 0.2.0 OK
r-oldrel-macos-x86_64 0.2.0 102.00 OK
r-oldrel-windows-x86_64 0.2.0 11.00 91.00 102.00 OK

Check Details

Version: 0.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/36s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(lotterybr) Loading required package: dplyr Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Loading required package: ggplot2 Loading required package: shiny Loading required package: plotly Attaching package: 'plotly' The following object is masked from 'package:ggplot2': last_plot The following object is masked from 'package:stats': filter The following object is masked from 'package:graphics': layout > > test_check("lotterybr") [ FAIL 1 | WARN 1 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('tests.R:12:7'): (code run outside of `test_that()`) ───────────────── Error in `readRDS(url(url))`: cannot open the connection to 'https://github.com/tomasbp2/LotteryBrasilDATA/blob/main/maismilionaria/dezenas.rds?raw=true' Backtrace: ▆ 1. └─lotterybr::get_data(game = game, type = type, language = language) at tests.R:12:7 2. └─base::readRDS(url(url)) [ FAIL 1 | WARN 1 | SKIP 0 | PASS 0 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang