* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/rtrek.Rcheck’ * using R Under development (unstable) (2022-11-28 r83388) * using platform: x86_64-pc-linux-gnu (64-bit) * using session charset: UTF-8 * checking for file ‘rtrek/DESCRIPTION’ ... OK * this is package ‘rtrek’ version ‘0.3.3’ * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘rtrek’ can be installed ... 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 dependencies in R code ... NOTE Namespaces in Imports field not imported from: ‘memoise’ ‘tidyr’ All declared Imports should be used. * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... NOTE Note: found 37 marked UTF-8 strings * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking R/sysdata.rda ... OK * checking examples ... OK * checking examples with --run-donttest ... [3s/10s] ERROR Running examples in ‘rtrek-Ex.R’ failed The error most likely occurred in: > ### Name: memory_beta > ### Title: Memory Beta API > ### Aliases: memory_beta > > ### ** Examples > > memory_beta("portals") # show available portals # A tibble: 13 × 2 id url 1 books Category:Books 2 comics Category:Comics 3 characters Category:Characters 4 culture Category:Culture 5 games Category:Games 6 geography Category:Geography 7 locations Category:Locations 8 materials Category:Materials_and_substances 9 politics Category:Politics 10 science Category:Science 11 starships Category:Starships 12 technology Category:Technology 13 timeline Category:Timeline > endpoint <- "characters/Characters by races and cultures/Klingonoids/Klingons" > ## No test: > x <- memory_beta(endpoint) > x <- x[grep("Worf", x$Klingons), ] > x # A tibble: 7 × 2 Klingons url 1 K'Dhan, son of Worf K%27Dhan,_son_of_Worf 2 Mogh, son of Worf Mogh,_son_of_Worf 3 Worf Worf 4 Worf (alternates) Worf_(alternates) 5 Worf (mirror) Worf_(mirror) 6 Worf's family Worf%27s_family 7 Worf, father of Mogh Worf,_father_of_Mogh > memory_beta(paste0(endpoint, "/Worf, son of Mogh")) # return terminal article content Error: Invalid endpoint: Worf, son of Mogh. Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ OK * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 1 ERROR, 2 NOTEs See ‘/data/blackswan/ripley/R/packages/tests-devel/rtrek.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 0:49.00, 36.12 + 5.86