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

RCPP - rewrite internal functions to use with examples without errors #10

Open
rspadim opened this issue May 3, 2022 · 1 comment
Open

Comments

@rspadim
Copy link
Collaborator

rspadim commented May 3, 2022

first functions to rewrite:

  1. gravity
  2. mode
  3. mode_class
@rspadim
Copy link
Collaborator Author

rspadim commented May 3, 2022

associated error:

* checking examples ... [19s] ERROR
Running examples in 'NNS-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: NNS_part_RCPP
> ### Title: NNS Partition Map - Internal Use
> ### Aliases: NNS_part_RCPP
> 
> ### ** Examples
> 
> set.seed(123)
> x <- rnorm(100) ; y <- rnorm(100)
> NNS_part_RCPP(x, y, type = NULL, order = NULL, obs_req = 8, min_obs_stop = TRUE, noise_reduction = "off", Voronoi = FALSE)
Error in NNS_part_RCPP(x, y, type = NULL, order = NULL, obs_req = 8, min_obs_stop = TRUE,  : 
  could not find function "gravity"
Execution halted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant