CRAN Package Check Results for Package sgat

Last updated on 2025-04-07 22:53:57 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9 1.87 23.91 25.78 ERROR
r-devel-linux-x86_64-debian-gcc 0.9 1.55 19.79 21.34 ERROR
r-devel-linux-x86_64-fedora-clang 0.9 44.77 ERROR
r-devel-linux-x86_64-fedora-gcc 0.9 59.03 ERROR
r-devel-macos-arm64 0.9 30.00 ERROR
r-devel-macos-x86_64 0.9 48.00 ERROR
r-devel-windows-x86_64 0.9 3.00 49.00 52.00 ERROR
r-patched-linux-x86_64 0.9 1.96 23.43 25.39 ERROR
r-release-linux-x86_64 0.9 1.97 23.20 25.17 ERROR
r-release-macos-arm64 0.9 32.00 NOTE
r-release-macos-x86_64 0.9 45.00 NOTE
r-release-windows-x86_64 0.9 4.00 48.00 52.00 ERROR
r-oldrel-macos-arm64 0.9 NOTE
r-oldrel-macos-x86_64 0.9 40.00 NOTE
r-oldrel-windows-x86_64 0.9 4.00 52.00 56.00 ERROR

Check Details

Version: 0.9
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/4s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(sgat) > > test_check("sgat") [ FAIL 1 | WARN 0 | SKIP 4 | PASS 1 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-initialization_sgat.R:1:1', 'test-sgat.R:1:1', 'test-sgat_day.R:1:1', 'test-tripadvisor_places.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-ushuaia_restaurants.R:3:3'): gives vector ──────────────────── length(restaurants) is not strictly more than 100. Difference: -25 [ FAIL 1 | WARN 0 | SKIP 4 | PASS 1 ] Error: Test failures Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-patched-linux-x86_64

Version: 0.9
Check: examples
Result: ERROR Running examples in ‘sgat-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: ushuaia_restaurants > ### Title: Retrieves a vector of Ushuaian's restaurants and bar's names and > ### adresses, ready for unambiguous Google searches. > ### Aliases: ushuaia_restaurants > > ### ** Examples > > restaurants <- ushuaia_restaurants() Warning in grepl("\\\\u[0-9A-Fa-f]", str) : unable to translate '<!doctype html> <html lang="es"> <head> <meta charset="UTF-8"> <title>Restaurantes en Ushuaia | 163 lugares donde comer en Ushuaia</title> <meta name="description" content="Guía de restaurantes y gastronomía en Ushuaia: 163 restaurantes, bares, confi...' to a wide string Warning in grepl("\\\\u[0-9A-Fa-f]", str) : input string 1 is invalid Warning in gsub("^\\s+|\\s+$", "", x) : unable to translate 'InterPatagonia</span></a> <meta itemprop="url" content="/"> <meta itemprop="position" content="1" /> </li> <li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem"><a href="/austral/" itemprop="item" title="Austral"><span itemp...' to a wide string Error in gsub("^\\s+|\\s+$", "", x) : input string 1 is invalid Calls: ushuaia_restaurants ... <Anonymous> -> ext -> %in% -> lapply -> FUN -> gsub Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.9
Check: tests
Result: ERROR Running ‘testthat.R’ [1s/3s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(sgat) > > test_check("sgat") [ FAIL 1 | WARN 3 | SKIP 4 | PASS 0 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-initialization_sgat.R:1:1', 'test-sgat.R:1:1', 'test-sgat_day.R:1:1', 'test-tripadvisor_places.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ushuaia_restaurants.R:2:3'): gives vector ────────────────────── Error in `gsub("^\\s+|\\s+$", "", x)`: input string 1 is invalid Backtrace: ▆ 1. ├─testthat::expect_type(restaurants <- ushuaia_restaurants(), "character") at test-ushuaia_restaurants.R:2:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─sgat::ushuaia_restaurants() 5. └─qdapRegex::ex_between(txt, "<span itemprop=\"name\"> ", "</span> </p> <p class=\"") 6. ├─qdapRegex:::ext(...) 7. │ └─class(x) %in% "list" 8. └─base::lapply(...) 9. └─qdapRegex (local) FUN(X[[i]], ...) 10. └─base::gsub("^\\s+|\\s+$", "", x) [ FAIL 1 | WARN 3 | SKIP 4 | PASS 0 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.9
Check: dependencies in R code
Result: NOTE Namespace in Imports field not imported from: ‘plyr’ All declared Imports should be used. Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.9
Check: tests
Result: ERROR Running ‘testthat.R’ Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(sgat) > > test_check("sgat") [ FAIL 1 | WARN 0 | SKIP 4 | PASS 1 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-initialization_sgat.R:1:1', 'test-sgat.R:1:1', 'test-sgat_day.R:1:1', 'test-tripadvisor_places.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-ushuaia_restaurants.R:3:3'): gives vector ──────────────────── length(restaurants) is not strictly more than 100. Difference: -25 [ FAIL 1 | WARN 0 | SKIP 4 | PASS 1 ] Error: Test failures Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.9
Check: tests
Result: ERROR Running ‘testthat.R’ [1s/3s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(sgat) > > test_check("sgat") [ FAIL 1 | WARN 0 | SKIP 4 | PASS 1 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-initialization_sgat.R:1:1', 'test-sgat.R:1:1', 'test-sgat_day.R:1:1', 'test-tripadvisor_places.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-ushuaia_restaurants.R:3:3'): gives vector ──────────────────── length(restaurants) is not strictly more than 100. Difference: -25 [ FAIL 1 | WARN 0 | SKIP 4 | PASS 1 ] Error: Test failures Execution halted Flavor: r-devel-macos-arm64

Version: 0.9
Check: tests
Result: ERROR Running ‘testthat.R’ [1s/4s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(sgat) > > test_check("sgat") [ FAIL 1 | WARN 0 | SKIP 4 | PASS 1 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-initialization_sgat.R:1:1', 'test-sgat.R:1:1', 'test-sgat_day.R:1:1', 'test-tripadvisor_places.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-ushuaia_restaurants.R:3:3'): gives vector ──────────────────── length(restaurants) is not strictly more than 100. Difference: -25 [ FAIL 1 | WARN 0 | SKIP 4 | PASS 1 ] Error: Test failures Execution halted Flavor: r-devel-macos-x86_64

Version: 0.9
Check: tests
Result: ERROR Running 'testthat.R' [3s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(sgat) > > test_check("sgat") [ FAIL 1 | WARN 0 | SKIP 4 | PASS 1 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-initialization_sgat.R:1:1', 'test-sgat.R:1:1', 'test-sgat_day.R:1:1', 'test-tripadvisor_places.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-ushuaia_restaurants.R:3:3'): gives vector ──────────────────── length(restaurants) is not strictly more than 100. Difference: -25 [ FAIL 1 | WARN 0 | SKIP 4 | PASS 1 ] Error: Test failures Execution halted Flavors: r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 0.9
Check: LazyData
Result: NOTE 'LazyData' is specified without a 'data' directory Flavors: r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Version: 0.9
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/3s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(sgat) > > test_check("sgat") [ FAIL 1 | WARN 0 | SKIP 4 | PASS 1 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-initialization_sgat.R:1:1', 'test-sgat.R:1:1', 'test-sgat_day.R:1:1', 'test-tripadvisor_places.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-ushuaia_restaurants.R:3:3'): gives vector ──────────────────── length(restaurants) is not strictly more than 100. Difference: -25 [ FAIL 1 | WARN 0 | SKIP 4 | PASS 1 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64