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

Provide examples in documentation #153

Open
Nelson-Gon opened this issue May 5, 2019 · 0 comments
Open

Provide examples in documentation #153

Nelson-Gon opened this issue May 5, 2019 · 0 comments
Assignees
Milestone

Comments

@Nelson-Gon
Copy link

I have discovered this package and being a new user went straight to the docs to see how to use each of these functions. I tried as.gpuMatrix and naturally would think as..... is converting whatever I give it to a gpuMatrix so I tried:

gpuR::as.gpuMatrix(c(1:3),"vector")

This results in:

Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘as.gpuMatrix’ for signature ‘"integer"’

I think this has to do with the package being written in s4 while I obviously used s3 like programming. However, a new user will not know what is going on and one would have expected a few examples of how to use these functions. The help docs for most of the functions are missing examples and the vignette(that I read first) also doesn't really provide enough guidance.

@cdeterman cdeterman added this to the 2.1.0 milestone May 30, 2019
@cdeterman cdeterman self-assigned this May 30, 2019
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

2 participants