Error calling cosmosQuery

Gorman, Aaron 1 Reputation point
2020-12-07T15:13:03.037+00:00

Hi, I can't get far enough to understand this error that is thrown up when I call a particular container with cosmosQuery(content.response=T) in R
after setting my container name I wish to call below
cosmosAuth(
Sys.getenv("DB_KEY"),
Sys.getenv("DB_URI"),
Sys.getenv("DB_NAME"),
container_name

)

where container name is a length 1 character vector

The particular error is

Error in which(unlist(dfdf)) : argument to 'which' is not logical

*- Session info -------------------------------------------------------------------------------------------
setting value
version R version 4.0.2 (2020-06-22)
os Windows Server x64
system x86_64, mingw32
ui RStudio
language (EN)
collate English_United States.1252
ctype English_United States.1252
tz UTC
date 2020-12-07

  • Packages -----------------------------------------------------------------------------------------------
    package * version date lib source
    assertthat 0.2.1 2019-03-21 [1] CRAN (R 4.0.2)
    backports 1.1.7 2020-05-13 [1] CRAN (R 4.0.0)
    base64enc * 0.1-3 2015-07-28 [1] CRAN (R 4.0.0)
    bit 1.1-15.2 2020-02-10 [1] CRAN (R 4.0.0)
    bit64 0.9-7 2017-05-08 [1] CRAN (R 4.0.0)
    blob 1.2.1 2020-01-20 [1] CRAN (R 4.0.2)
    broom 0.7.0 2020-07-09 [1] CRAN (R 4.0.2)
    callr 3.4.3 2020-03-28 [1] CRAN (R 4.0.2)
    cellranger 1.1.0 2016-07-27 [1] CRAN (R 4.0.2)
    cli 2.0.2 2020-02-28 [1] CRAN (R 4.0.2)
    colorspace 1.4-1 2019-03-18 [1] CRAN (R 4.0.2)
    cosmosR * 0.0.2 2020-08-20 [1] Github (aaron2012r2/cosmosR@68babbb)
    cowplot * 1.0.0 2019-07-11 [1] CRAN (R 4.0.2)
    crayon 1.3.4 2017-09-16 [1] CRAN (R 4.0.2)
    crosstalk 1.1.0.1 2020-03-13 [1] CRAN (R 4.0.2)
    curl 4.3 2019-12-02 [1] CRAN (R 4.0.2)
    data.table 1.12.8 2019-12-09 [1] CRAN (R 4.0.0)
    DBI * 1.1.0 2019-12-15 [1] CRAN (R 4.0.2)
    dbplyr * 1.4.4 2020-05-27 [1] CRAN (R 4.0.2)
    desc 1.2.0 2018-05-01 [1] CRAN (R 4.0.2)
    devtools * 2.3.0 2020-04-10 [1] CRAN (R 4.0.2)
    digest * 0.6.25 2020-02-23 [1] CRAN (R 4.0.2)
    docstring * 1.0.0 2017-03-24 [1] CRAN (R 4.0.2)
    dplyr * 1.0.0 2020-05-29 [1] CRAN (R 4.0.2)
    DT * 0.15 2020-08-05 [1] CRAN (R 4.0.2)
    ellipsis 0.3.1 2020-05-15 [1] CRAN (R 4.0.2)
    fansi 0.4.1 2020-01-08 [1] CRAN (R 4.0.2)
    fastmap 1.0.1 2019-10-08 [1] CRAN (R 4.0.2)
    forcats * 0.5.0 2020-03-01 [1] CRAN (R 4.0.2)
    fs 1.4.1 2020-04-04 [1] CRAN (R 4.0.2)
    generics 0.0.2 2018-11-29 [1] CRAN (R 4.0.2)
    geosphere * 1.5-10 2019-05-26 [1] CRAN (R 4.0.2)
    ggplot2 * 3.3.2 2020-06-19 [1] CRAN (R 4.0.2)
    ggrepel * 0.8.2 2020-03-08 [1] CRAN (R 4.0.2)
    glue 1.4.1 2020-05-13 [1] CRAN (R 4.0.2)
    gridExtra 2.3 2017-09-09 [1] CRAN (R 4.0.2)
    gtable 0.3.0 2019-03-25 [1] CRAN (R 4.0.2)
    haven 2.3.1 2020-06-01 [1] CRAN (R 4.0.2)
    hms 0.5.3 2020-01-08 [1] CRAN (R 4.0.2)
    htmltools 0.5.0 2020-06-16 [1] CRAN (R 4.0.2)
    htmlwidgets 1.5.1 2019-10-08 [1] CRAN (R 4.0.2)
    httpuv 1.5.4 2020-06-06 [1] CRAN (R 4.0.2)
    httr * 1.4.2 2020-07-20 [1] CRAN (R 4.0.2)
    jsonlite * 1.7.0 2020-06-25 [1] CRAN (R 4.0.2)
    knitr 1.29 2020-06-23 [1] CRAN (R 4.0.2)
    later 1.1.0.1 2020-06-05 [1] CRAN (R 4.0.2)
    lattice 0.20-41 2020-04-02 [1] CRAN (R 4.0.2)
    lazyeval 0.2.2 2019-03-15 [1] CRAN (R 4.0.2)
    leaflet * 2.0.3 2019-11-16 [1] CRAN (R 4.0.2)
    leaflet.extras * 1.0.0 2018-04-21 [1] CRAN (R 4.0.2)
    leaflet.providers * 1.9.0 2019-11-09 [1] CRAN (R 4.0.2)
    lifecycle 0.2.0 2020-03-06 [1] CRAN (R 4.0.2)
    lubridate * 1.7.9 2020-06-08 [1] CRAN (R 4.0.2)
    magrittr 1.5 2014-11-22 [1] CRAN (R 4.0.2)
    memoise 1.1.0 2017-04-21 [1] CRAN (R 4.0.2)
    mime 0.9 2020-02-04 [1] CRAN (R 4.0.0)
    modelr 0.1.8 2020-05-19 [1] CRAN (R 4.0.2)
    munsell 0.5.0 2018-06-12 [1] CRAN (R 4.0.2)
    NLP * 0.2-0 2018-10-18 [1] CRAN (R 4.0.0)
    odbc * 1.2.3 2020-06-18 [1] CRAN (R 4.0.2)
    packrat 0.5.0 2018-11-14 [1] CRAN (R 4.0.2)
    pacman * 0.5.1 2019-03-11 [1] CRAN (R 4.0.2)
    pillar 1.4.4 2020-05-05 [1] CRAN (R 4.0.2)
    pkgbuild 1.0.8 2020-05-07 [1] CRAN (R 4.0.2)
    pkgconfig 2.0.3 2019-09-22 [1] CRAN (R 4.0.2)
    pkgload 1.1.0 2020-05-29 [1] CRAN (R 4.0.2)
    plotly * 4.9.2.1 2020-04-04 [1] CRAN (R 4.0.2)
    plyr 1.8.6 2020-03-03 [1] CRAN (R 4.0.2)
    pracma * 2.2.9 2019-12-15 [1] CRAN (R 4.0.2)
    prettyunits 1.1.1 2020-01-24 [1] CRAN (R 4.0.2)
    processx 3.4.2 2020-02-09 [1] CRAN (R 4.0.2)
    promises 1.1.1 2020-06-09 [1] CRAN (R 4.0.2)
    ps 1.3.3 2020-05-08 [1] CRAN (R 4.0.2)
    purrr * 0.3.4 2020-04-17 [1] CRAN (R 4.0.2)
    R6 2.4.1 2019-11-12 [1] CRAN (R 4.0.2)
    Rcpp 1.0.4.6 2020-04-09 [1] CRAN (R 4.0.2)
    readr * 1.3.1 2018-12-21 [1] CRAN (R 4.0.2)
    readxl 1.3.1 2019-03-13 [1] CRAN (R 4.0.2)
    remotes 2.1.1 2020-02-15 [1] CRAN (R 4.0.2)
    reprex 0.3.0 2019-05-16 [1] CRAN (R 4.0.2)
    rlang 0.4.6 2020-05-02 [1] CRAN (R 4.0.2)
    roxygen2 7.1.0 2020-03-11 [1] CRAN (R 4.0.2)
    rprojroot 2.0.2 2020-11-15 [1] CRAN (R 4.0.3)
    rstudioapi 0.11 2020-02-07 [1] CRAN (R 4.0.2)
    rvest 0.3.6 2020-07-25 [1] CRAN (R 4.0.2)
    scales 1.1.1 2020-05-11 [1] CRAN (R 4.0.2)
    sessioninfo 1.1.1 2018-11-05 [1] CRAN (R 4.0.2)
    shiny * 1.5.0 2020-06-23 [1] CRAN (R 4.0.2)
    shinyBS * 0.61 2015-03-31 [1] CRAN (R 4.0.2)
    slam 0.1-47 2019-12-21 [1] CRAN (R 4.0.0)
    sp 1.4-2 2020-05-20 [1] CRAN (R 4.0.2)
    stringi 1.4.6 2020-02-17 [1] CRAN (R 4.0.0)
    stringr * 1.4.0 2019-02-10 [1] CRAN (R 4.0.2)
    testthat 2.3.2 2020-03-02 [1] CRAN (R 4.0.2)
    tibble * 3.0.1 2020-04-20 [1] CRAN (R 4.0.2)
    tidyr * 1.1.0 2020-05-20 [1] CRAN (R 4.0.2)
    tidyselect 1.1.0 2020-05-11 [1] CRAN (R 4.0.2)
    tidyverse * 1.3.0 2019-11-21 [1] CRAN (R 4.0.2)
    timevis * 1.0.0 2020-09-16 [1] CRAN (R 4.0.3)
    tinytex 0.24 2020-06-20 [1] CRAN (R 4.0.2)
    tm * 0.7-7 2019-12-12 [1] CRAN (R 4.0.2)
    usethis * 1.6.1 2020-04-29 [1] CRAN (R 4.0.2)
    vctrs 0.3.1 2020-06-05 [1] CRAN (R 4.0.2)
    viridis * 0.5.1 2018-03-29 [1] CRAN (R 4.0.2)
    viridisLite * 0.3.0 2018-02-01 [1] CRAN (R 4.0.2)
    withr 2.2.0 2020-04-20 [1] CRAN (R 4.0.2)
    xfun 0.15 2020-06-21 [1] CRAN (R 4.0.2)
    xml2 1.3.2 2020-04-23 [1] CRAN (R 4.0.2)
    xtable 1.8-4 2019-04-21 [1] CRAN (R 4.0.2)

C:/Program Files/R/R-4.0.2/library*

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,441 questions
{count} votes