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

M farouk b patch 3 #90

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

MFaroukB
Copy link

@MFaroukB MFaroukB commented Apr 8, 2019

Adding variables to saveviz function to control fps and number of frames.

R/save.R Outdated
@@ -1,6 +1,6 @@
#' @rdname plot_carp
#' @export
saveviz <- function(x, ...) {
saveviz <- function(x,frames_number,frame_rate, ...) {
Copy link
Member

Choose a reason for hiding this comment

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

I think these should be arguments of the saveviz.CARP and saveviz.CBASS methods only - not the generic.

R/save.R Outdated
@@ -1,6 +1,6 @@
#' @rdname plot_carp
#' @export
saveviz <- function(x, ...) {
saveviz <- function(x,frames_number,frame_rate, ...) {
Copy link
Member

Choose a reason for hiding this comment

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

These need to be documented (for the methods) -- see how the other arguments are documented below.

R/save.R Outdated
@@ -1,6 +1,6 @@
#' @rdname plot_carp
#' @export
saveviz <- function(x, ...) {
saveviz <- function(x,frames_number,frame_rate, ...) {
Copy link
Member

Choose a reason for hiding this comment

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

These also need default values.

@michaelweylandt
Copy link
Member

Hi @MFaroukB, as I commented inline, there are some changes re: default values and documentations that should be fixed before we can merge this.

They should be minor (I hope!) but feel free to ping me with questions.

  • M

@MFaroukB
Copy link
Author

MFaroukB commented Apr 9, 2019 via email

@MFaroukB
Copy link
Author

MFaroukB commented Apr 9, 2019 via email

@MFaroukB
Copy link
Author

MFaroukB commented Apr 9, 2019 via email

@michaelweylandt
Copy link
Member

This looks good for the changes for the gganimate based plots (saveviz.CARP with type = "path" and dynamic = TRUE) -- did you want to make changes for the animation::saveGIF based plots also or no?

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