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

no definition for class "Rcpp_Vol2BirdConfig" #10

Open
adokter opened this issue Jun 15, 2022 · 1 comment
Open

no definition for class "Rcpp_Vol2BirdConfig" #10

adokter opened this issue Jun 15, 2022 · 1 comment
Assignees

Comments

@adokter
Copy link
Owner

adokter commented Jun 15, 2022

Following message shows up during build. RCPP Classes seem to get a Rcpp_ prefix, should we define the classes with Rcpp_ as a prefix as well?

in method for 'show' with signature '"Rcpp_Vol2BirdConfig"': no definition for class "Rcpp_Vol2BirdConfig"

This is the class of the configuration instance:

 class(vol2bird_config())
[1] "Rcpp_Vol2BirdConfig"
attr(,"package")
[1] "vol2birdR"
@adokter
Copy link
Owner Author

adokter commented Jun 15, 2022

Refers to definition of this show method:

setMethod(f = "show",
signature = "Rcpp_Vol2BirdConfig",
definition = function(object){
str_capture <- capture.output(str(object))
# hide constant options
str_capture <- str_capture[!grepl("constant_",str_capture)]
# hide print options
str_capture <- str_capture[!grepl("print",str_capture)]

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

No branches or pull requests

2 participants