Skip to content

Commit

Permalink
CRAN release 1.4.13
Browse files Browse the repository at this point in the history
  • Loading branch information
shikokuchuo committed Jan 15, 2024
1 parent d8f55c6 commit dc4eb38
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: ichimoku
Type: Package
Title: Visualization and Tools for Ichimoku Kinko Hyo Strategies
Version: 1.4.12.9000
Version: 1.4.13
Description: An implementation of 'Ichimoku Kinko Hyo', also commonly known as
'cloud charts'. Static and interactive visualizations with tools for
creating, backtesting and development of quantitative 'ichimoku' strategies.
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ichimoku 1.4.12.9000 (development)
# ichimoku 1.4.13

#### Updates:

Expand Down
3 changes: 1 addition & 2 deletions R/switch.R
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,9 @@ do_ <- function() {
headers = c("Authorization" = strcat("Bearer ", apikey),
"User-Agent" = .user_agent))
resp[["status"]] == 200L && break
i == 2L && stop("status code ", resp[["status"]], " - ", deserialize_json(resp[["data"]]), call. = FALSE)
}
parsed <- deserialize_json(resp[["data"]])
length(parsed[["instruments"]]) || {
is.list(parsed) && length(parsed[["instruments"]]) || {
warning(parsed,
"\nInstruments list could not be retrieved - falling back to internal data",
"\nCached instruments list will be used for the rest of the session", call. = FALSE)
Expand Down

0 comments on commit dc4eb38

Please sign in to comment.