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

Wrong syntax in update.Date() crashes R #270

huftis opened this issue Oct 21, 2014 · 1 comment

Wrong syntax in update.Date() crashes R #270

huftis opened this issue Oct 21, 2014 · 1 comment


Copy link

huftis commented Oct 21, 2014

The following crashes (!) R:

update(mydate, 1)

It is of course the wrong syntax (it should be, e.g., update(mydate, days=1)). But still, it should return an error message, not crash R.

Package: lubridate
Version: 1.3.3
Maintainer: Garrett Grolemund
Built: R 3.1.1; x86_64-w64-mingw32; 2014-08-19 22:35:44 UTC; windows

R Version:
platform = x86_64-w64-mingw32
arch = x86_64
os = mingw32
system = x86_64, mingw32
status =
major = 3
minor = 1.1
year = 2014
month = 07
day = 10
svn rev = 66115
language = R
version.string = R version 3.1.1 (2014-07-10)
nickname = Sock it to Me

Windows 7 x64 (build 7601) Service Pack 1


Search Path:
.GlobalEnv, package:lubridate, package:stats, package:graphics,
package:grDevices, package:utils, package:datasets, package:methods,
Autoloads, package:base

@vspinu vspinu closed this as completed in c11cbfe Dec 13, 2014
Copy link

vspinu commented Dec 13, 2014

We were not checking for for validity of POSIXlt names before screwing the lt object. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

2 participants