Giter Club home page Giter Club logo

moexer's Issues

Release moexer 0.3.0

Prepare for release:

  • git pull
  • Check current CRAN check results
  • Check if any deprecation processes should be advanced, as described in Gradual deprecation
  • Polish NEWS
  • devtools::build_readme()
  • urlchecker::url_check()
  • devtools::check(remote = TRUE, manual = TRUE)
  • devtools::check_win_devel()
  • rhub::check_for_cran()
  • revdepcheck::revdep_check(num_workers = 4)
  • Update cran-comments.md
  • git push
  • Draft blog post

Submit to CRAN:

  • usethis::use_version('minor')
  • devtools::submit_cran()
  • Approve email

Wait for CRAN...

  • Accepted 🎉
  • git push
  • usethis::use_github_release()
  • usethis::use_dev_version()
  • git push
  • Finish blog post
  • Tweet
  • Add link to blog post in pkgdown news menu

error "414 Request-URI Too Long" whet getting the full list of securities

по примеру из документации попробовал получить полный список ценных бумаг с помощью
запроса fetching_fully(query_iss)('securities').

но после нескольких минут работы (или ожидания?) сервер вернул ошибку http 414 (вероятно, "Request-URI Too Long").

может быть, я неправильно использовал декоратор fetching_fully?

> sec <- fetching_fully(query_iss)('securities')
No encoding supplied: defaulting to UTF-8.
Error in `map2()`:
ℹ In index: 1.
ℹ With name: securities.
Caused by error:
! lexical error: invalid char in json text.
                                       <html>  <head><title>414 Reques
                     (right here) ------^
Run `rlang::last_trace()` to see where the error occurred.
> rlang::last_trace()
<error/purrr_error_indexed>
Error in `map2()`:
ℹ In index: 1.
ℹ With name: securities.
Caused by error:
! lexical error: invalid char in json text.
                                       <html>  <head><title>414 Reques
                     (right here) ------^
---
Backtrace:
     ▆
  1. └─fetching_fully(query_iss)("securities")
  2.   └─purrr::imap(...)
  3.     └─purrr::map2(.x, vec_index(.x), .f, ...)
  4.       └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
  5.         ├─purrr:::with_indexed_errors(...)
  6.         │ └─base::withCallingHandlers(...)
  7.         ├─purrr:::call_with_cleanup(...)
  8.         └─moexer (local) .f(.x[[i]], .y[[i]], ...)
  9.           ├─base::do.call(query_iss_fn, c(fn_params, list(params = query_params)))
 10.           └─moexer (local) `<fn>`("securities", params = `<named list>`)
 11.             ├─purrr::map(...)
 12.             │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
 13.             │   └─purrr:::vctrs_vec_compat(.x, .purrr_user_env)
 14.             └─jsonlite::fromJSON(...)
 15.               └─jsonlite:::parse_and_simplify(...)
 16.                 └─jsonlite:::parseJSON(txt, bigint_as_char)
 17.                   └─jsonlite:::parse_string(txt, bigint_as_char)
Run rlang::last_trace(drop = FALSE) to see 4 hidden frames.
> rlang::last_trace(drop = FALSE)
<error/purrr_error_indexed>
Error in `map2()`:
ℹ In index: 1.
ℹ With name: securities.
Caused by error:
! lexical error: invalid char in json text.
                                       <html>  <head><title>414 Reques
                     (right here) ------^
---
Backtrace:
     ▆
  1. ├─fetching_fully(query_iss)("securities")
  2. │ └─purrr::imap(...)
  3. │   └─purrr::map2(.x, vec_index(.x), .f, ...)
  4. │     └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
  5. │       ├─purrr:::with_indexed_errors(...)
  6. │       │ └─base::withCallingHandlers(...)
  7. │       ├─purrr:::call_with_cleanup(...)
  8. │       └─moexer (local) .f(.x[[i]], .y[[i]], ...)
  9. │         ├─base::do.call(query_iss_fn, c(fn_params, list(params = query_params)))
 10. │         └─moexer (local) `<fn>`("securities", params = `<named list>`)
 11. │           ├─purrr::map(...)
 12. │           │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
 13. │           │   └─purrr:::vctrs_vec_compat(.x, .purrr_user_env)
 14. │           └─jsonlite::fromJSON(...)
 15. │             └─jsonlite:::parse_and_simplify(...)
 16. │               └─jsonlite:::parseJSON(txt, bigint_as_char)
 17. │                 └─jsonlite:::parse_string(txt, bigint_as_char)
 18. └─base::.handleSimpleError(...)
 19.   └─purrr (local) h(simpleError(msg, call))
 20.     └─cli::cli_abort(...)
 21.       └─rlang::abort(...)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.