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

AutoKMeans unused argument #31

Closed
Bartesto opened this issue Sep 24, 2019 · 3 comments
Closed

AutoKMeans unused argument #31

Bartesto opened this issue Sep 24, 2019 · 3 comments

Comments

@Bartesto
Copy link

Bartesto commented Sep 24, 2019

Hi,
Working through your Package Overview course and ran into problems running the AutoKMeans() example on the Iris data set.

It gives me the following:
Error in AutoKMeans(data, nthreads = 8, MaxMem = "28G", SaveModels = NULL, : object 'FilePath' not found

Under the hood
if (!is.null(FilePath)) { if (!is.character(FilePath)) { warning("FilePath needs to resolve to a character value. E.g. getwd()") } }

If I comment this out I can get it to run.

Should this have been PathFile from your function params?

Cheers
Bart

@AdrianAntico
Copy link
Owner

@Bartesto Thanks for bringing that up! Looks like I must have changed the name of that argument a while back but didn't update the argument checks at the beginning of the function. I just changed the named in the check to match the argument. Should work fine. Let me know if there is still an issue.

@Bartesto
Copy link
Author

No worries Adrian! Great package by the way.

@AdrianAntico
Copy link
Owner

@Bartesto thank you!!

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