Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update custom_indicators.Rmd #32

Merged
merged 2 commits into from
Sep 19, 2024
Merged

Conversation

stavralf
Copy link
Contributor

Fixing the duplicate axis issue

Fixing the duplicate axis issue
Copy link
Owner

@serkor1 serkor1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HI @stavralf,

Thank you for this useful PR, I did not notice the axis-issue before you submitted this. Please check my comments. Please amend your commit 😄

@@ -20,6 +20,7 @@ knitr::opts_chunk$set(

```{r setup}
library(cryptoQuotes)
library(dplyr)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be a shame to declare a dependency on dplyr just for this PR. I suggest that you post your PR without dplyr.

@@ -39,15 +40,18 @@ We start by creating a simple `chart`-object with `volume` as it's only indicato
# 1) create a simple chart
# object
chart_object <- chart(
ticker = BTC,
ticker = BTC ,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this additional white space; I spend many hours on spotting these. It triggers my OCD 🤣

vignettes/custom_indicators.Rmd Outdated Show resolved Hide resolved
main = kline(),
sub = list(
volume()
),
options = list(
dark = FALSE
)
)
)%>%
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not use %>% at all, so please avoid using it in the vignette!

@serkor1
Copy link
Owner

serkor1 commented Aug 19, 2024

Hi @stavralf,

Could you please add in the vignette text why you are using layout in this case, and what problem it is solving so the reader are explicitly aware of this!

Or maybe it is an obvious issue that I am blind to? If so please do tell me! 😄

Update: It just occurred to me that we have two instances of charts with custom indicators. But I only see one fix in your PR - is this intentional?

* Removed `dplyr`
* Removed whitespace
* added namespaced qualified `layout`-call
@serkor1 serkor1 merged commit 7207205 into serkor1:development Sep 19, 2024
9 checks passed
serkor1 added a commit that referenced this pull request Oct 3, 2024
In the excellent PR #32 by @stavralf, I made a small error during the review, which have now been fixed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants