R Under development (unstable) (2024-09-03 r87093 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. > library(testthat) > library(connectapi) > > progress_reporter <- ProgressReporter$new(max_failures = 1000) > check_reporter <- CheckReporter$new(file = fs::path("check-results-check.txt")) > > reporter_list <- list(progress_reporter, check_reporter) > > if (as.logical(Sys.getenv("IS_JENKINS", "FALSE"))) { + junit_reporter <- JunitReporter$new(file = fs::path("check-results-junit.xml")) + reporter_list <- c(reporter_list, list(junit_reporter)) + } > multi_reporter <- MultiReporter$new(reporters = reporter_list) > > test_check("connectapi", reporter = multi_reporter) ✔ | F W S OK | Context ⠏ | 0 | audit Defining Connect with server: https://connect.example ⠋ | 1 | audit Defining Connect with server: https://connect.example ⠹ | 3 | audit Defining Connect with server: https://connect.example Defining Connect with server: https://connect.example ⠴ | 6 | audit Defining Connect with server: https://connect.example ✔ | 10 | audit [1.1s] ⠏ | 0 | connect Defining Connect with server: http://myhost.example.com Defining Connect with server: http://myhost.example.com/ Defining Connect with server: http://myhost.example.com Defining Connect with server: https://myhost.example.com Defining Connect with server: test.example.com Defining Connect with server: ://test.example.com Defining Connect with server: https://connect.example NULL ⠏ | 1 9 | connect Defining Connect with server: https://connect.example Defining Connect with server: https://connect.example ⠹ | 1 12 | connect ✔ | 1 13 | connect ⠏ | 0 | content ⠋ | 11 | content Defining Connect with server: https://connect.example Defining Connect with server: https://connect.example ⠧ | 1 17 | content Defining Connect with server: https://connect.example Defining Connect with server: https://connect.example Defining Connect with server: https://connect.example ⠙ | 1 21 | content Defining Connect with server: https://connect.example Defining Connect with server: https://connect.example ⠧ | 1 27 | content Defining Connect with server: https://connect.example Defining Connect with server: https://connect.example ⠸ | 1 33 | content Defining Connect with server: https://connect.example ⠇ | 1 38 | content Defining Connect with server: https://connect.example Defining Connect with server: http://connect.example Defining Connect with server: https://connect.example ⠸ | 1 43 | content Defining Connect with server: http://connect.example Defining Connect with server: http://connect.example ✔ | 1 1 45 | content ──────────────────────────────────────────────────────────────────────────────── Warning ('test-content.R:230:5'): content$default_variant gets the default variant The `get_variant` function is experimental and subject to change without warning in a future release This warning is displayed once per session. Backtrace: ▆ 1. └─connectapi (local) ``() at test-content.R:230:5 2. └─connectapi::get_variant(self, "default") 3. └─connectapi:::warn_experimental("get_variant") 4. └─connectapi:::warn_once(...) ──────────────────────────────────────────────────────────────────────────────── ⠏ | 0 | deploy ⠴ | 6 | deploy ✔ | 10 | deploy ⠏ | 0 | git Defining Connect with server: https://connect.example Defining Connect with server: https://connect.example Defining Connect with server: https://connect.example ⠸ | 4 | git ✔ | 4 | git ⠏ | 0 | groups Defining Connect with server: https://connect.example Defining Connect with server: https://connect.example ⠸ | 4 | groups ✔ | 6 | groups ⠏ | 0 | instrumentation Defining Connect with server: https://connect.example ⠸ | 4 | instrumentation Defining Connect with server: https://connect.example ⠇ | 9 | instrumentation ⠸ | 14 | instrumentation ✔ | 16 | instrumentation ⠏ | 0 | oauth Defining Connect with server: https://connect.example ✔ | 2 | oauth ⠏ | 0 | parse ⠋ | 21 | parse ⠦ | 37 | parse ⠴ | 56 | parse ✔ | 1 73 | parse ⠏ | 0 | print ✔ | 1 0 | print ⠏ | 0 | tags ⠇ | 1 18 | tags ✔ | 1 33 | tags ⠏ | 0 | task Defining Connect with server: https://connect.example ✔ | 1 | task ⠏ | 0 | users Defining Connect with server: https://connect.example ⠋ | 1 | users Defining Connect with server: https://connect.example Defining Connect with server: https://connect.example ⠴ | 6 | users Defining Connect with server: https://connect.example ✔ | 8 | users ⠏ | 0 | utils Defining Connect with server: https://connect.example ⠦ | 7 | utils ✔ | 1 9 | utils ⠏ | 0 | variant Defining Connect with server: https://connect.example ⠼ | 5 | variant ✔ | 10 | variant ══ Results ═════════════════════════════════════════════════════════════════════ Duration: 4.4 s ── Skipped tests (6) ─────────────────────────────────────────────────────────── • Ahh! this fails presently. Are double -> POSIXct conversions allowed? (1): 'test-parse.R:178:3' • On CRAN (3): 'test-content.R:49:5', 'test-print.R:9:3', 'test-utils.R:33:3' • not implemented yet (1): 'test-connect.R:33:3' • not tested yet (1): 'test-tags.R:39:3' [ FAIL 0 | WARN 1 | SKIP 6 | PASS 240 ] > > proc.time() user system elapsed 4.65 0.71 5.31