* using log directory 'd:/Rcompile/CRANpkg/local/3.6/iptmnetr.Rcheck' * using R version 3.6.3 (2020-02-29) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'iptmnetr/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'iptmnetr' version '0.1.8' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'iptmnetr' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [3s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... ERROR Running examples in 'iptmnetr-Ex.R' failed The error most likely occurred in: > ### Name: get_info > ### Title: Get information. > ### Aliases: get_info > > ### ** Examples > > info <- get_info("Q15796") No encoding supplied: defaulting to UTF-8. Error in get_info("Q15796") : Request failed with code : 500 and error : IO error: failed to lookup address information: Name or service not known Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [5s] ERROR Running 'testthat.R' [5s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > #option(testthat.default_reporter = "summary") > test_check("iptmnetr") Loading required package: iptmnetr == Skipped tests =============================================================== * On CRAN (2) == Failed tests ================================================================ -- Error (test_api.R:8:3): get_info returns valid data ------------------------- Error: Request failed with code : 500 and error : IO error: failed to lookup address information: Name or service not known Backtrace: x 1. \-iptmnetr::get_info("Q15796") test_api.R:8:2 -- Error (test_api.R:13:3): search returns valid data -------------------------- Error: Request failed with code : 500 and error : IO error: failed to lookup address information: Name or service not known Backtrace: x 1. \-iptmnetr::search_iptmnet("Smad2", TermType()$ALL, Role()$EnzymeOrSubstrate) test_api.R:13:2 -- Error (test_api.R:20:3): get_substrates returns valid data ------------------ Error: Request failed with code : 500 and error : IO error: failed to lookup address information: Name or service not known Backtrace: x 1. \-iptmnetr::get_substrates("Q15796") test_api.R:20:2 -- Error (test_api.R:27:3): get_proteoforms returns valid data ----------------- Error: Request failed with code : 500 and error : IO error: failed to lookup address information: Name or service not known Backtrace: x 1. \-iptmnetr::get_proteoforms("Q15796") test_api.R:27:2 -- Error (test_api.R:34:3): get_ptmppi returns valid data ---------------------- Error: Request failed with code : 500 and error : IO error: failed to lookup address information: Name or service not known Backtrace: x 1. \-iptmnetr::get_ptm_dependent_ppi("Q15796") test_api.R:34:2 -- Error (test_api.R:40:3): get_variants returns valid data -------------------- Error: Request failed with code : 500 and error : IO error: failed to lookup address information: Name or service not known Backtrace: x 1. \-iptmnetr::get_variants("Q15796") test_api.R:40:2 -- Error (test_api.R:46:3): test get_ppi_for_proteoforms returns valid data ---- Error: Request failed with code : 500 and error : IO error: failed to lookup address information: Name or service not known Backtrace: x 1. \-iptmnetr::get_ppi_for_proteoforms("Q15796") test_api.R:46:2 -- Error (test_api.R:69:3): get_ptm_enzymes_from_list returns valid data ------- Error: Request failed with code : 500 and error : IO error: failed to lookup address information: Name or service not known Backtrace: x 1. \-iptmnetr::get_ptm_enzymes_from_list(substrates) test_api.R:69:2 -- Error (test_api.R:99:3): test get_ptm_ppi_from_list returns valid data ------ Error: Request failed with code : 500 and error : IO error: failed to lookup address information: Name or service not known Backtrace: x 1. \-iptmnetr::get_ptm_ppi_from_list(substrates) test_api.R:99:2 [ FAIL 9 | WARN 0 | SKIP 2 | PASS 0 ] Error: Test failures Execution halted * checking PDF version of manual ... OK * DONE Status: 2 ERRORs