Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upproblem with loadMethod for lubridate in Rscript #314
Comments
|
This applies to all S4 packages. The problem is that
I think there is a way around it, like explicitly calling |
|
I think this might be fixed in 3.2 |
|
It's still there in today's devel but under a different form:
|
|
Are you importing the methods package and new etc? |
Nope. |
|
Ok. I have imported
Importing the whole
Explicitly importing |
|
Does |
Nope. |
|
I now get
I don't know how to make sure we've correctly imported every needed generic from methods though. |
Hm. It works for me as well. So it was magically fixed since then.
We can add this as a test to travis. So each time we rely on a method it's spotted. |
|
@vspinu it's not exactly magic - I made some commits to fix it ;) |
|
Aha. I see. It's 8fa6ba3. I have added this one to the tests. You might want to have a lot at it. The call executes fine on |
Compose the Rscript with file name
lubridateTest.Rsh:Run it:
This works however:
Run it:
I have no idea why, but it just is this way. I'm curious to know however.
Thanks,
J