sinimr icon indicating copy to clipboard operation
sinimr copied to clipboard

Error en get_sinim_cats(): "lexical error: invalid char in json text"

Open bastianolea opened this issue 10 months ago • 0 comments

Hola! Al usar la función get_sinim_cats(), o cualquier otra del paquete, entrega un error:

> library(sinimr)
> get_sinim_cats()
Error: lexical error: invalid char in json text.
                                       <!DOCTYPE html> <html>     <hea
                     (right here) ------^

Información de sesión:

> sessionInfo()
R version 4.3.1 (2023-06-16)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Sonoma 14.4.1

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 
LAPACK: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRlapack.dylib;  LAPACK version 3.11.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: America/Santiago
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] sinimr_0.3.2

loaded via a namespace (and not attached):
 [1] utf8_1.2.4         generics_0.1.3     tidyr_1.3.1        class_7.3-22       KernSmooth_2.23-21 stringi_1.8.3      rsthemes_0.4.0    
 [8] hms_1.1.3          magrittr_2.0.3     grid_4.3.1         plyr_1.8.9         jsonlite_1.8.8     e1071_1.7-13       DBI_1.2.2         
[15] httr_1.4.7         purrr_1.0.2        fansi_1.0.6        XML_3.99-0.14      cli_3.6.2          rlang_1.1.3        crayon_1.5.2      
[22] units_0.8-2        bit64_4.0.5        withr_3.0.0        tools_4.3.1        parallel_4.3.1     reshape2_1.4.4     tzdb_0.4.0        
[29] dplyr_1.1.4        curl_5.2.0         assertthat_0.2.1   vctrs_0.6.5        R6_2.5.1           proxy_0.4-27       lifecycle_1.0.4   
[36] classInt_0.4-9     stringr_1.5.1      bit_4.0.5          vroom_1.6.3        arrow_13.0.0.1     pkgconfig_2.0.3    pillar_1.9.0      
[43] glue_1.7.0         Rcpp_1.0.12        sf_1.0-13          tibble_3.2.1       tidyselect_1.2.0   rstudioapi_0.15.0  readr_2.1.4       
[50] compiler_4.3.1    

bastianolea avatar Apr 19 '24 16:04 bastianolea