redcapAPI icon indicating copy to clipboard operation
redcapAPI copied to clipboard

Error in set_label.default(x[[nm]], lab)

Open sdwfrost opened this issue 4 years ago • 15 comments

Hi @nutterb

This is repeat of the error from issue 158:

Error in set_label.default(x[[nm]], lab) : 
  labels may not be added to `NULL` objects.

I tried to install the issue-158 branch, but it doesn't seem to print out the variables. I'm using the latest version:

> xfun::session_info('redcapAPI')
R version 4.0.0 (2020-04-24)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04.1 LTS

Locale:
  LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
  LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
  LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
  LC_PAPER=en_US.UTF-8       LC_NAME=C                 
  LC_ADDRESS=C               LC_TELEPHONE=C            
  LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

Package version:
  askpass_1.1       assertthat_0.2.1  backports_1.2.1   BH_1.75.0.0      
  checkmate_2.0.0   chron_2.3.56      cli_2.2.0         clipr_0.7.1      
  cpp11_0.2.6       crayon_1.3.4      curl_4.3          DBI_1.1.1        
  digest_0.6.27     dplyr_1.0.3       ellipsis_0.3.1    fansi_0.4.2      
  generics_0.1.0    glue_1.4.2        graphics_4.0.0    grDevices_4.0.0  
  hms_1.0.0         httr_1.4.2        jsonlite_1.7.2    labelVector_0.1.1
  lifecycle_0.2.0   lubridate_1.7.9.2 magrittr_2.0.1    methods_4.0.0    
  mime_0.9          openssl_1.4.3     pillar_1.4.7      pkgconfig_2.0.3  
  purrr_0.3.4       R6_2.5.0          Rcpp_1.0.6        readr_1.4.0      
  redcapAPI_2.3.1   rlang_0.4.10      stats_4.0.0       stringi_1.5.3    
  stringr_1.4.0     sys_3.4           tibble_3.0.6      tidyr_1.1.2      
  tidyselect_1.1.0  tools_4.0.0       utf8_1.1.4        utils_4.0.0      
  vctrs_0.3.6      

sdwfrost avatar Jan 29 '21 15:01 sdwfrost