* using log directory 'd:/RCompile/CRANincoming/R-devel/rchroma.Rcheck' * using R Under development (unstable) (2025-02-10 r87710 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'rchroma/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'rchroma' version '0.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [27s] NOTE Maintainer: 'David Schoch ' New submission Possibly misspelled words in DESCRIPTION: ChromaDB's (12:5) embeddings (11:5) * 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 serialization versions ... OK * checking whether package 'rchroma' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... NOTE Non-standard file/directory found at top level: '_pkgdown.yml' * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code 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 ... 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... NONE * checking for unstated dependencies in 'tests' ... OK * checking tests ... [52s] ERROR Running 'testthat.R' [52s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(rchroma) > > test_check("rchroma") [ FAIL 22 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-collections.R:4:3'): create_collection works ─────────────────── Error in `value[[3L]](cond)`: Could not connect to ChromaDB at http://localhost:8000/api/v2 To run ChromaDB: 1. Install Docker from https://www.docker.com 2. Run ChromaDB using Docker: docker run -p 8000:8000 chromadb/chroma Original error: Failed to perform HTTP request. Backtrace: ▆ 1. └─rchroma::chroma_connect() at test-collections.R:4:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-collections.R:50:3'): get_collection works ───────────────────── Error in `value[[3L]](cond)`: Could not connect to ChromaDB at http://localhost:8000/api/v2 To run ChromaDB: 1. Install Docker from https://www.docker.com 2. Run ChromaDB using Docker: docker run -p 8000:8000 chromadb/chroma Original error: Failed to perform HTTP request. Backtrace: ▆ 1. └─rchroma::chroma_connect() at test-collections.R:50:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-collections.R:61:3'): update_collection works ────────────────── Error in `value[[3L]](cond)`: Could not connect to ChromaDB at http://localhost:8000/api/v2 To run ChromaDB: 1. Install Docker from https://www.docker.com 2. Run ChromaDB using Docker: docker run -p 8000:8000 chromadb/chroma Original error: Failed to perform HTTP request. Backtrace: ▆ 1. └─rchroma::chroma_connect() at test-collections.R:61:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-collections.R:90:3'): delete_collection works ────────────────── Error in `value[[3L]](cond)`: Could not connect to ChromaDB at http://localhost:8000/api/v2 To run ChromaDB: 1. Install Docker from https://www.docker.com 2. Run ChromaDB using Docker: docker run -p 8000:8000 chromadb/chroma Original error: Failed to perform HTTP request. Backtrace: ▆ 1. └─rchroma::chroma_connect() at test-collections.R:90:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-collections.R:107:3'): list_collections works ────────────────── Error in `value[[3L]](cond)`: Could not connect to ChromaDB at http://localhost:8000/api/v2 To run ChromaDB: 1. Install Docker from https://www.docker.com 2. Run ChromaDB using Docker: docker run -p 8000:8000 chromadb/chroma Original error: Failed to perform HTTP request. Backtrace: ▆ 1. └─rchroma::chroma_connect() at test-collections.R:107:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-collections.R:131:3'): count_collections works ───────────────── Error in `value[[3L]](cond)`: Could not connect to ChromaDB at http://localhost:8000/api/v2 To run ChromaDB: 1. Install Docker from https://www.docker.com 2. Run ChromaDB using Docker: docker run -p 8000:8000 chromadb/chroma Original error: Failed to perform HTTP request. Backtrace: ▆ 1. └─rchroma::chroma_connect() at test-collections.R:131:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-connection.R:2:3'): chroma_connect works ─────────────────────── Error in `value[[3L]](cond)`: Could not connect to ChromaDB at http://localhost:8000/api/v2 To run ChromaDB: 1. Install Docker from https://www.docker.com 2. Run ChromaDB using Docker: docker run -p 8000:8000 chromadb/chroma Original error: Failed to perform HTTP request. Backtrace: ▆ 1. └─rchroma::chroma_connect() at test-connection.R:2:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-connection.R:19:3'): version works ───────────────────────────── Error in `value[[3L]](cond)`: Could not connect to ChromaDB at http://localhost:8000/api/v2 To run ChromaDB: 1. Install Docker from https://www.docker.com 2. Run ChromaDB using Docker: docker run -p 8000:8000 chromadb/chroma Original error: Failed to perform HTTP request. Backtrace: ▆ 1. └─rchroma::chroma_connect() at test-connection.R:19:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-connection.R:26:3'): pre_flight_checks works ─────────────────── Error in `value[[3L]](cond)`: Could not connect to ChromaDB at http://localhost:8000/api/v2 To run ChromaDB: 1. Install Docker from https://www.docker.com 2. Run ChromaDB using Docker: docker run -p 8000:8000 chromadb/chroma Original error: Failed to perform HTTP request. Backtrace: ▆ 1. └─rchroma::chroma_connect() at test-connection.R:26:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-connection.R:33:3'): heartbeat works ─────────────────────────── Error in `value[[3L]](cond)`: Could not connect to ChromaDB at http://localhost:8000/api/v2 To run ChromaDB: 1. Install Docker from https://www.docker.com 2. Run ChromaDB using Docker: docker run -p 8000:8000 chromadb/chroma Original error: Failed to perform HTTP request. Backtrace: ▆ 1. └─rchroma::chroma_connect() at test-connection.R:33:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-connection.R:40:3'): get_auth_identity works ─────────────────── Error in `value[[3L]](cond)`: Could not connect to ChromaDB at http://localhost:8000/api/v2 To run ChromaDB: 1. Install Docker from https://www.docker.com 2. Run ChromaDB using Docker: docker run -p 8000:8000 chromadb/chroma Original error: Failed to perform HTTP request. Backtrace: ▆ 1. └─rchroma::chroma_connect() at test-connection.R:40:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-database.R:4:3'): create_database works ──────────────────────── Error in `value[[3L]](cond)`: Could not connect to ChromaDB at http://localhost:8000/api/v2 To run ChromaDB: 1. Install Docker from https://www.docker.com 2. Run ChromaDB using Docker: docker run -p 8000:8000 chromadb/chroma Original error: Failed to perform HTTP request. Backtrace: ▆ 1. └─rchroma::chroma_connect() at test-database.R:4:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-database.R:31:3'): get_database works ────────────────────────── Error in `value[[3L]](cond)`: Could not connect to ChromaDB at http://localhost:8000/api/v2 To run ChromaDB: 1. Install Docker from https://www.docker.com 2. Run ChromaDB using Docker: docker run -p 8000:8000 chromadb/chroma Original error: Failed to perform HTTP request. Backtrace: ▆ 1. └─rchroma::chroma_connect() at test-database.R:31:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-documents.R:4:3'): add_documents works ───────────────────────── Error in `value[[3L]](cond)`: Could not connect to ChromaDB at http://localhost:8000/api/v2 To run ChromaDB: 1. Install Docker from https://www.docker.com 2. Run ChromaDB using Docker: docker run -p 8000:8000 chromadb/chroma Original error: Failed to perform HTTP request. Backtrace: ▆ 1. └─rchroma::chroma_connect() at test-documents.R:4:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-documents.R:67:3'): update_documents works ───────────────────── Error in `value[[3L]](cond)`: Could not connect to ChromaDB at http://localhost:8000/api/v2 To run ChromaDB: 1. Install Docker from https://www.docker.com 2. Run ChromaDB using Docker: docker run -p 8000:8000 chromadb/chroma Original error: Failed to perform HTTP request. Backtrace: ▆ 1. └─rchroma::chroma_connect() at test-documents.R:67:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-documents.R:117:3'): update_documents fails correctly for non-existent collection ── Error in `value[[3L]](cond)`: Could not connect to ChromaDB at http://localhost:8000/api/v2 To run ChromaDB: 1. Install Docker from https://www.docker.com 2. Run ChromaDB using Docker: docker run -p 8000:8000 chromadb/chroma Original error: Failed to perform HTTP request. Backtrace: ▆ 1. └─rchroma::chroma_connect() at test-documents.R:117:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-documents.R:129:3'): delete_documents works ──────────────────── Error in `value[[3L]](cond)`: Could not connect to ChromaDB at http://localhost:8000/api/v2 To run ChromaDB: 1. Install Docker from https://www.docker.com 2. Run ChromaDB using Docker: docker run -p 8000:8000 chromadb/chroma Original error: Failed to perform HTTP request. Backtrace: ▆ 1. └─rchroma::chroma_connect() at test-documents.R:129:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-query.R:4:3'): query works ───────────────────────────────────── Error in `value[[3L]](cond)`: Could not connect to ChromaDB at http://localhost:8000/api/v2 To run ChromaDB: 1. Install Docker from https://www.docker.com 2. Run ChromaDB using Docker: docker run -p 8000:8000 chromadb/chroma Original error: Failed to perform HTTP request. Backtrace: ▆ 1. └─rchroma::chroma_connect() at test-query.R:4:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-query.R:51:3'): query with filters works ─────────────────────── Error in `value[[3L]](cond)`: Could not connect to ChromaDB at http://localhost:8000/api/v2 To run ChromaDB: 1. Install Docker from https://www.docker.com 2. Run ChromaDB using Docker: docker run -p 8000:8000 chromadb/chroma Original error: Failed to perform HTTP request. Backtrace: ▆ 1. └─rchroma::chroma_connect() at test-query.R:51:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-query.R:104:3'): query include parameter works ───────────────── Error in `value[[3L]](cond)`: Could not connect to ChromaDB at http://localhost:8000/api/v2 To run ChromaDB: 1. Install Docker from https://www.docker.com 2. Run ChromaDB using Docker: docker run -p 8000:8000 chromadb/chroma Original error: Failed to perform HTTP request. Backtrace: ▆ 1. └─rchroma::chroma_connect() at test-query.R:104:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-tenants.R:4:3'): create_tenant works ─────────────────────────── Error in `value[[3L]](cond)`: Could not connect to ChromaDB at http://localhost:8000/api/v2 To run ChromaDB: 1. Install Docker from https://www.docker.com 2. Run ChromaDB using Docker: docker run -p 8000:8000 chromadb/chroma Original error: Failed to perform HTTP request. Backtrace: ▆ 1. └─rchroma::chroma_connect() at test-tenants.R:4:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-tenants.R:25:3'): get_tenant works ───────────────────────────── Error in `value[[3L]](cond)`: Could not connect to ChromaDB at http://localhost:8000/api/v2 To run ChromaDB: 1. Install Docker from https://www.docker.com 2. Run ChromaDB using Docker: docker run -p 8000:8000 chromadb/chroma Original error: Failed to perform HTTP request. Backtrace: ▆ 1. └─rchroma::chroma_connect() at test-tenants.R:25:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) [ FAIL 22 | WARN 0 | SKIP 0 | PASS 0 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [17s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 2 NOTEs