R Under development (unstable) (2024-07-28 r86931 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 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. > start_test <- function() { + if (!requireNamespace("testthat", quietly = TRUE)) { + message("testthat package is not installed, please install it before running tests.") + return() + } + + library(testthat) + test_check("consibiocloudclient") + } > > library(consibiocloudclient) > > start_test() Username set to: api-test-user@consibio.com Password also found in environment variables Username set to: CONSIBIO_API_HOST environment variable not set. Setting and using default URL: https://api.v2.consibio.com Attaching package: 'magrittr' The following objects are masked from 'package:testthat': equals, is_less_than, not Username set to: invalid_username_in_r_test@consibio.com Username set to: api-test-user@consibio.com CONSIBIO_API_HOST environment variable not set. Setting and using default URL: https://api.v2.consibio.com Username set to: bob@helloworld.com Username set to: Username set to: Please restart your R session to remove the cached token. [ FAIL 0 | WARN 0 | SKIP 4 | PASS 84 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-31-get_device.R:22:5', 'test-50-get_datalog.R:33:5', 'test-50-get_datalog.R:60:3', 'test-802-client-logout.R:18:5' [ FAIL 0 | WARN 0 | SKIP 4 | PASS 84 ] > > proc.time() user system elapsed 6.15 1.01 7.67