Pins - Error pinning to local Board

library(pins)

weather_url <- "https://samples.openweathermap.org/data/2.5/weather?q=London,uk&appid=b6907d289e10d714a6e88b30761fae22"

pin(weather_url, "weather") %>%
  jsonlite::read_json() %>%
  as.data.frame()
#> Error in curl::curl_fetch_disk(url, x$path, handle = handle): Failed to open file C:\Users\Hp\AppData\Local\Temp\RtmpozE1qP\file394c4fb4711b\weather?q=London,uk&appid=b6907d289e10d714a6e88b30761fae22.

pin_info("weather", signature = TRUE)
#> # Source: local<London> [files]
#> # Signature: 624cca260666c6f090b93c37fd76878e3a12a79b
#> # Properties:
#> #   - path: /weather
#> #   - base: stations
#> #   - visibility: 10000
#> #   - dt: 1485789600
#> #   - id: 2643743
#> #   - cod: 200

pin(weather_url, "weather", signature = "624cca260666c6f090b93c37fd76878e3a12a79b") %>%
  jsonlite::read_json()
#> Error in curl::curl_fetch_disk(url, x$path, handle = handle): Failed to open file C:\Users\Hp\AppData\Local\Temp\RtmpozE1qP\file394c39a56f18\weather?q=London,uk&appid=b6907d289e10d714a6e88b30761fae22.

Created on 2020-04-19 by the reprex package (v0.3.0)

sessioninfo::session_info()

  • Session info ------------------------------------------------------------------------------------------
    setting value
    version R version 3.6.3 (2020-02-29)
    os Windows 10 x64
    system x86_64, mingw32
    ui RStudio
    language (EN)
    collate English_United States.1252
    ctype English_United States.1252
    tz Africa/Johannesburg
    date 2020-04-19

  • Packages ----------------------------------------------------------------------------------------------
    package * version date lib source
    assertthat 0.2.1 2019-03-21 [1] CRAN (R 3.5.3)
    backports 1.1.6 2020-04-05 [1] CRAN (R 3.6.3)
    callr 3.4.3 2020-03-28 [1] CRAN (R 3.6.3)
    cli 2.0.2 2020-02-28 [1] CRAN (R 3.6.2)
    crayon 1.3.4 2017-09-16 [1] CRAN (R 3.5.0)
    curl 4.3 2019-12-02 [1] CRAN (R 3.6.3)
    desc 1.2.0 2018-05-01 [1] CRAN (R 3.5.1)
    devtools * 2.3.0 2020-04-10 [1] CRAN (R 3.6.3)
    digest 0.6.25 2020-02-23 [1] CRAN (R 3.6.2)
    ellipsis 0.3.0 2019-09-20 [1] CRAN (R 3.6.1)
    evaluate 0.14 2019-05-28 [1] CRAN (R 3.6.0)
    fansi 0.4.1 2020-01-08 [1] CRAN (R 3.6.2)
    filelock 1.0.2 2018-10-05 [1] CRAN (R 3.6.2)
    fs 1.4.1 2020-04-04 [1] CRAN (R 3.6.3)
    glue 1.4.0 2020-04-03 [1] CRAN (R 3.6.3)
    htmltools 0.4.0 2019-10-04 [1] CRAN (R 3.6.1)
    httr 1.4.1 2019-08-05 [1] CRAN (R 3.6.1)
    jsonlite 1.6.1 2020-02-02 [1] CRAN (R 3.6.2)
    knitr 1.28 2020-02-06 [1] CRAN (R 3.6.2)
    lifecycle 0.2.0 2020-03-06 [1] CRAN (R 3.6.2)
    magrittr 1.5 2014-11-22 [1] CRAN (R 3.5.3)
    memoise 1.1.0 2017-04-21 [1] CRAN (R 3.5.0)
    packrat 0.5.0 2018-11-14 [1] CRAN (R 3.5.1)
    pillar 1.4.3 2019-12-20 [1] CRAN (R 3.6.2)
    pins * 0.4.0 2020-04-07 [1] CRAN (R 3.6.3)
    pkgbuild 1.0.6 2019-10-09 [1] CRAN (R 3.6.1)
    pkgconfig 2.0.3 2019-09-22 [1] CRAN (R 3.6.1)
    pkgload 1.0.2 2018-10-29 [1] CRAN (R 3.5.1)
    prettyunits 1.1.1 2020-01-24 [1] CRAN (R 3.6.2)
    processx 3.4.2 2020-02-09 [1] CRAN (R 3.6.2)
    ps 1.3.2 2020-02-13 [1] CRAN (R 3.6.2)
    R6 2.4.1 2019-11-12 [1] CRAN (R 3.6.1)
    rappdirs 0.3.1 2016-03-28 [1] CRAN (R 3.5.1)
    Rcpp 1.0.4.6 2020-04-09 [1] CRAN (R 3.6.3)
    remotes 2.1.1 2020-02-15 [1] CRAN (R 3.6.2)
    rlang 0.4.5 2020-03-01 [1] CRAN (R 3.6.3)
    rmarkdown 2.1 2020-01-20 [1] CRAN (R 3.6.2)
    rprojroot 1.3-2 2018-01-03 [1] CRAN (R 3.5.0)
    rstudioapi 0.11 2020-02-07 [1] CRAN (R 3.6.2)
    sessioninfo 1.1.1 2018-11-05 [1] CRAN (R 3.5.1)
    testthat 2.3.2 2020-03-02 [1] CRAN (R 3.6.3)
    tibble 3.0.0 2020-03-30 [1] CRAN (R 3.6.3)
    usethis * 1.6.0 2020-04-09 [1] CRAN (R 3.6.3)
    vctrs 0.2.4 2020-03-10 [1] CRAN (R 3.6.2)
    withr 2.1.2 2018-03-15 [1] CRAN (R 3.5.0)
    xfun 0.13 2020-04-13 [1] CRAN (R 3.6.3)
    yaml 2.2.1 2020-02-01 [1] CRAN (R 3.6.2)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.