-
Notifications
You must be signed in to change notification settings - Fork 15
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
could not find function "dimRedMethodList" #6
Comments
That is very strange, I export From your error message I would think that this is unrelated, but try running: names(completeClassDefinition("dimRedMethod", doExtends = FALSE)@subclasses) from inside your package. You might need to import the classes Have you tried calling |
I added a print statement for that line and get output before the error: [1] "DiffusionMaps" "DRR" "FastICA" "KamadaKawai"
[5] "DrL" "FruchtermanReingold" "HLLE" "Isomap"
[9] "kPCA" "LaplacianEigenmaps" "LLE" "MDS"
[13] "nMDS" "PCA" "tSNE"
Error in eval(expr, envir, enclos) :
could not find function "dimRedMethodList" Calling as It is weird... before loading I'll figure out how to convert over to non- |
that is strange, I will try this myself when I find some time. You are trying to use Isomap? I had some problems with the Another weird namespace hack I had to do is here, maybe it helps : |
I can reproduce it without a package: dimRed::embed(dimRed::dimRedData(iris[1:4]),
"Isomap", knn = 25,
ndim = 2, .mute = "") in a fresh R session gives the same error. |
fixed with 36f4975 |
It works for me. Thanks |
I'm creating a package that imports
dimRed
and I'm getting an error ("Error in eval(expr, envir, enclos) : could not find function "dimRedMethodList") when invoking this code:I know that this isn't reproducible but it otherwise works when using
Isomap
directly instead ofembed(,"Isomap")
. I've tried importingdimRedMethodList
too but had the same error. Loading the package prior to invoking this function also works.The text was updated successfully, but these errors were encountered: