ries9112 / cryptocurrencyresearch-org

Repository that updates an R tutorial every 12 hours (see link below)
https://cryptocurrencyresearch.org/
MIT License
9 stars 1 forks source link

Error in retrieving 'hitBTC_orderbook' #2

Closed pachinkodealer closed 2 years ago

pachinkodealer commented 2 years ago

Hi, I just ran this code so far.

library(pacman) p_load('pins', 'skimr', 'DT', 'httr', 'jsonlite', # Data Exploration 'tidyverse', 'tsibble', 'anytime', # Data Prep 'ggTimeSeries', 'gifski', 'av', 'magick', 'ggthemes', 'plotly', # Visualization 'ggpubr', 'ggforce', 'gganimate', 'transformr', # Visualization continued 'caret', 'doParallel', 'parallel', 'xgboost', # Predictive Modeling 'brnn', 'party', 'deepnet', 'elasticnet', 'pls', # Predictive Modeling continued 'hydroGOF', 'formattable', 'knitr') # Evaluate Model Performance

board_register(name = "pins_board", url = "https://raw.githubusercontent.com/predictcrypto/pins/master/", board = "datatxt")

cryptodata <- pin_get(name = "hitBTC_orderbook")

Then I get an error in my console that says "Error in pin_registry_retrieve(board, name) : Pin 'hitBTC_orderbook' not found in board 'local'."

Is it because my board_register function is not working?

pachinkodealer commented 2 years ago

It is saying "7: In p_load("pins", "skimr", "DT", "httr", "jsonlite", "tidyverse", : Failed to install/load: ggTimeSeries, party, hydroGOF" When I tried to manually install each, it said those packages were not available for this version of R. Just updated to the latest version.

ries9112 commented 2 years ago

Thanks for checking it out and sorry about the issues. Were you able to install after updating your version of R?

Could you try the following code and add a screenshot of any error you run into after running this?

# install pins
install.packages('pins')
# register board
board_register(name = "pins_board",
url = "https://raw.githubusercontent.com/predictcrypto/pins/master/",
board = "datatxt")
# pull data
cryptodata <- pin_get(name = "hitBTC_orderbook")
pachinkodealer commented 2 years ago

[image: image.png] just tried manually installing. and loading them each with library. "pins", "skimr", "DT", "httr", "jsonlite", "tidyverse" I still get this from the p_load. [image: image.png] [image: image.png]

R version 4.1.2 (2021-11-01) -- "Bird Hippie" Copyright (C) 2021 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 (64-bit)

i'm going to try to load the project in from the repository

On Tue, Nov 23, 2021 at 6:15 AM ries9112 @.***> wrote:

Thanks for checking it out and sorry about the issues. Were you able to install after updating your version of R?

Could you try the following code and add a screenshot of any error you run into after running this?

install pins

install.packages('pins')# register board board_register(name = "pins_board",url = "https://raw.githubusercontent.com/predictcrypto/pins/master/",board = "datatxt")# pull datacryptodata <- pin_get(name = "hitBTC_orderbook")

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ries9112/cryptocurrencyresearch-org/issues/2#issuecomment-976413785, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR4UNG5FUDQ3HGUVF4BBZELUNNZVVANCNFSM5IRVEGPQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

GitGetGotUp commented 2 years ago

i have pins installed but still get:

Error in pin_registry_retrieve(board, name) : Pin 'hitBTC_orderbook' not found in board 'local'.

ries9112 commented 2 years ago

@pachinkodealer I'm sorry I missed this until now. I can't see the images you shared unfortunately. Any luck? The tutorial which seems to be refreshing fine is running on R 4.0.3, but there are caching mechanisms (with renv) to avoid issues with package installs.

ries9112 commented 2 years ago

i have pins installed but still get:

Error in pin_registry_retrieve(board, name) : Pin 'hitBTC_orderbook' not found in board 'local'.

@GitGetGotUp could you show the output of the following code:

board_register(name = "pins_board",
               url = "https://raw.githubusercontent.com/predictcrypto/pins/master/",
               board = "datatxt")

Working on my end: image

pachinkodealer commented 2 years ago

cryptodata <- pin_get(board = "pins_board", name = "hitBTC_orderbook")

image

Figured it out, it needs the "board" , pins_board specifically.