Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Commit 6f061be

Browse files
committed
add problems and solutions to README
1 parent d0d94a0 commit 6f061be

File tree

2 files changed

+59
-0
lines changed

2 files changed

+59
-0
lines changed

README.Rmd

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,35 @@ The `raw` assay includes RNA abundance in the positive real scale (not transform
285285

286286
The `cpm` assay includes counts per million.
287287

288+
# Installation and getting-started problems
289+
290+
**Problem:** Default R cache path including non-standard characters (e.g. dash)
291+
292+
```{r, eval=FALSE}
293+
get_metadata()
294+
295+
Error in `db_query_fields.DBIConnection()`:
296+
! Can't query fields.
297+
Caused by error:
298+
! Parser Error: syntax error at or near "/"
299+
LINE 2: FROM /Users/mariadoyle/Library/Cach...
300+
```
301+
302+
**Solution:** Setup custom cache path (e.g. user home directory)
303+
304+
```{r, eval=FALSE}
305+
get_metadata(cache_directory = path.expand('~'))
306+
```
307+
308+
**Problem:** namespace ‘dbplyr’ 2.2.1 is being loaded, but >= 2.3.0 is required
309+
310+
**Solution:** Install new dbplyr
311+
312+
```{r, eval=FALSE}
313+
install.packages("dbplyr")
314+
```
315+
316+
288317
---
289318

290319
This project has been funded by

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,36 @@ CELLxGENE include a mix of scales and transformations specified in the
318318

319319
The `cpm` assay includes counts per million.
320320

321+
# Installation and getting-started problems
322+
323+
**Problem:** Default R cache path including non-standard characters
324+
(e.g. dash)
325+
326+
``` r
327+
get_metadata()
328+
329+
Error in `db_query_fields.DBIConnection()`:
330+
! Can't query fields.
331+
Caused by error:
332+
! Parser Error: syntax error at or near "/"
333+
LINE 2: FROM /Users/mariadoyle/Library/Cach...
334+
```
335+
336+
**Solution:** Setup custom cache path (e.g. user home directory)
337+
338+
``` r
339+
get_metadata(cache_directory = path.expand('~'))
340+
```
341+
342+
**Problem:** namespace ‘dbplyr’ 2.2.1 is being loaded, but \>= 2.3.0 is
343+
required
344+
345+
**Solution:** Install new dbplyr
346+
347+
``` r
348+
install.packages("dbplyr")
349+
```
350+
321351
------------------------------------------------------------------------
322352
323353
This project has been funded by

0 commit comments

Comments
 (0)