R Under development (unstable) (2025-05-13 r88200 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # See inst/tinytest/ for test files > > # Check internet connection (only works on unix-alike) > checkInternet <- function(site = "www.r-project.org") { + os <- .Platform$OS.type + if (os == "windows") { + return(NA) + } + hasInternet <- !is.null(suppressWarnings(utils::nsl(site))) + if (!hasInternet) message("No internet connection") + return(invisible(hasInternet)) + } > checkInternet() [1] NA > > # Only run all tests if using a development version (which has 4 components, > # e.g. 0.0.0.1). CRAN releases have the standard 3 component version. This > # prevents spurious errors due to websites changing how they serve their > # favicon. > version <- utils::packageVersion("faviconPlease") > home <- length(unclass(version)[[1]]) == 4 > > if (requireNamespace("tinytest", quietly = TRUE)){ + tinytest::test_package("faviconPlease", at_home = home) + } test-ensembl.R................ 0 tests test-ensembl.R................ 0 tests test-ensembl.R................ 0 tests 0.2s [Exited at #16: Only test ensembl "at_home"] test-errors.R................. 0 tests test-errors.R................. 0 tests test-errors.R................. 1 tests OK test-errors.R................. 2 tests OK test-errors.R................. 3 tests OK test-errors.R................. 4 tests OK test-errors.R................. 5 tests OK 4ms test-faviconDuckDuckGo.R...... 0 tests test-faviconDuckDuckGo.R...... 0 tests test-faviconDuckDuckGo.R...... 1 tests OK test-faviconDuckDuckGo.R...... 2 tests OK 0.3s test-faviconGoogle.R.......... 0 tests test-faviconGoogle.R.......... 0 tests test-faviconGoogle.R.......... 1 tests OK test-faviconGoogle.R.......... 2 tests OK 57ms test-faviconIco.R............. 0 tests test-faviconIco.R............. 0 tests test-faviconIco.R............. 0 tests 2ms test-faviconLink.R............ 0 tests test-faviconLink.R............ 0 tests test-faviconLink.R............ 0 tests test-faviconLink.R............ 0 tests test-faviconLink.R............ 1 tests OK test-faviconLink.R............ 1 tests OK test-faviconLink.R............ 2 tests OK test-faviconLink.R............ 2 tests OK test-faviconLink.R............ 3 tests OK test-faviconLink.R............ 3 tests OK test-faviconLink.R............ 4 tests OK test-faviconLink.R............ 4 tests OK test-faviconLink.R............ 5 tests OK test-faviconLink.R............ 5 tests OK test-faviconLink.R............ 5 tests OK test-faviconLink.R............ 6 tests OK test-faviconLink.R............ 6 tests OK 0.2s All ok, 15 results (0.7s) > > proc.time() user system elapsed 0.79 0.10 0.89