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

rollmean post merge improvements #3224

Closed
3 tasks done
jangorecki opened this issue Dec 15, 2018 · 0 comments · Fixed by #3225
Closed
3 tasks done

rollmean post merge improvements #3224

jangorecki opened this issue Dec 15, 2018 · 0 comments · Fixed by #3225
Assignees
Labels
Milestone

Comments

@jangorecki
Copy link
Member

jangorecki commented Dec 15, 2018

Towards #2778
Follow up to PR #2961

 > y = frollmean(x, n, algo = "exact", adaptive = TRUE) 
  First 6 of 1 (type 'character'): [1] "Error in froll(fun = \"mean\", x = x, n = n, fill = fill, algo = algo, align = align,  : \n  cannot get data pointer of 'NULL' objects\n"
  Modes: numeric, character
  Lengths: 1000, 1
  Attributes: < target is NULL, current is list >
  target is numeric, current is try-error
  > 
  > x = c(1:4,2:5,4:6,5L)
  > n = c(2L, 2L, 2L, 5L, 4L, 5L, 1L, 1L, 2L, 3L, 6L, 3L)
  > ans1 = ama(x, n)
  > ans2 = frollmean(x, list(n), adaptive=TRUE)
  Error in froll(fun = "mean", x = x, n = n, fill = fill, algo = algo, align = align,  : 
    cannot get data pointer of 'NULL' objects
@jangorecki jangorecki added this to the 1.12.0 milestone Dec 15, 2018
@jangorecki jangorecki self-assigned this Dec 15, 2018
jangorecki added a commit that referenced this issue Dec 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant