Skip to content

download and parsing fail for fairly normal data pkgs #91

@atn38

Description

@atn38

Describe the bug

From console

Downloading data https://pasta.lternet.edu/package/data/eml/knb-lter-nwt/215/1/de645d9b99392839ba38e0eb404ed13a ...
Error in curl::curl_fetch_disk(url, x$path, handle = handle) : 
  Failed to open file C:\Users\atn893\AppData\Local\Temp\RtmpAZI3Uh/data_package/https_3A_2F_2Fpasta.lternet.edu_2Fpackage_2Fdata_2Feml_2Fknb-lter-nwt_2F215_2F1_2Fde645d9b99392839ba38e0eb404ed13a__csv/https%3A%2F%2Fpasta.lternet.edu%2Fpackage%2Fdata%2Feml%2Fknb-lter-nwt%2F215%2F1%2Fde645d9b99392839ba38e0eb404ed13a.csv.
Sorry, datapie can't handle  doi:10.6073/pasta/038a8ab20a6ffa2044b885c6a999112e at this time.

To Reproduce
How did you load the function(s)?

  • via devtools::load_all()
  • via installing datapie and calling the function
  • some other way, please describe:

What DOI and data object did you encounter the bug with?
DOI: doi:10.6073/pasta/038a8ab20a6ffa2044b885c6a999112e
Data object:

Expected behavior
What did you expect to happen instead of the bug?

datapie downloads and parses this fairly standard data pkg successfully. I've tried a couple other DOIs, all for normal looking datasets, and get the same error.

Session Information
Call sessionInfo() in your R console and paste in the information here.

R version 3.6.0 (2019-04-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 17763)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252 
[2] LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

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

other attached packages:
[1] shiny_1.3.2        datapie_0.0.0.9000 testthat_2.1.1    

loaded via a namespace (and not attached):
  [1] nlme_3.1-140       fs_1.3.1           usethis_1.5.0     
  [4] lubridate_1.7.4    devtools_2.0.2     progress_1.2.1    
  [7] RColorBrewer_1.1-2 httr_1.4.0         rprojroot_1.3-2   
 [10] inspectdf_0.0.4    tools_3.6.0        backports_1.1.4   
 [13] R6_2.4.0           lazyeval_0.2.2     colorspace_1.4-1  
 [16] withr_2.1.2        tidyselect_0.2.5   prettyunits_1.0.2 
 [19] processx_3.3.1     curl_3.3           compiler_3.6.0    
 [22] rvest_0.3.4        datapack_1.3.1     cli_1.1.0         
 [25] jsonld_2.1         xml2_1.2.0         shinyjs_1.0       
 [28] desc_1.2.0         plotly_4.9.0       labeling_0.3      
 [31] scales_1.0.0       readr_1.3.1        askpass_1.1       
 [34] callr_3.2.0        commonmark_1.7     stringr_1.4.0     
 [37] digest_0.6.19      rmarkdown_1.12     base64enc_0.1-3   
 [40] pkgconfig_2.0.2    htmltools_0.3.6    sessioninfo_1.1.1 
 [43] highr_0.8          readxl_1.3.1       htmlwidgets_1.3   
 [46] rlang_0.4.0        rstudioapi_0.10    generics_0.0.2    
 [49] emld_0.3.0         jsonlite_1.6       crosstalk_1.0.0   
 [52] dplyr_0.8.1        magrittr_1.5       Rcpp_1.0.1        
 [55] munsell_0.5.0      ggfittext_0.8.1    stringi_1.4.3     
 [58] yaml_2.2.0         jqr_1.1.0          pkgbuild_1.0.3    
 [61] plyr_1.8.4         grid_3.6.0         shinyFiles_0.7.3  
 [64] EML_2.0.0          promises_1.0.1     forcats_0.4.0     
 [67] crayon_1.3.4       lattice_0.20-38    haven_2.1.0       
 [70] cowplot_0.9.4      redland_1.0.17-10  hash_2.2.6.1      
 [73] hms_0.4.2          knitr_1.22         parsedate_1.2.0   
 [76] ps_1.3.0           pillar_1.4.0       uuid_0.1-2        
 [79] markdown_0.9       dataone_2.1.2      pkgload_1.0.2     
 [82] XML_3.98-1.19      glue_1.3.1         packrat_0.5.0     
 [85] evaluate_0.13      V8_2.2             modelr_0.1.4      
 [88] data.table_1.12.2  remotes_2.0.4      httpuv_1.5.1      
 [91] cellranger_1.1.0   openssl_1.3        gtable_0.3.0      
 [94] purrr_0.3.2        tidyr_0.8.3        assertthat_0.2.1  
 [97] ggplot2_3.1.1      xfun_0.7           mime_0.6          
[100] xtable_1.8-4       broom_0.5.2        tidyverse_1.2.1   
[103] roxygen2_6.1.1     later_0.8.0        rsconnect_0.8.13  
[106] viridisLite_0.3.0  tibble_2.1.1       memoise_1.1.0     
[109] metajam_0.2.0.9000

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions