Skip to content

Commit

Permalink
Fix problem with time.range (closes #12)
Browse files Browse the repository at this point in the history
  • Loading branch information
eibanez committed Jan 29, 2015
1 parent a219897 commit a4c9a98
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
## Bug fixes

* `plexos_open` tried to open any SQLite database in the folder. The default name has
been changed and only databases ending in "-rplexos.db" are opened.
been changed and only databases ending in "-rplexos.db" are opened. (#13)
* Create several tables that might not always exist in input databases, which caused
`process_input` to fail (#14).
`process_input` to fail. (#14)
* Fixed problem using time query filters. (#12)


# rplexos 0.12
Expand Down
5 changes: 5 additions & 0 deletions R/query.R
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,11 @@ master_checks <- function(db, time, col, prop, columns, time.range, filter, phas
list(prop = prop, columns = columns, time.range = time.range)
}

# Fix problem with filtering times in dplyr
# May be addressed in dplyr in the future
# https://github.com/hadley/dplyr/issues/857
escape.POSIXct <- dplyr:::escape.Date


# Filtering *****************************************************************************

Expand Down

0 comments on commit a4c9a98

Please sign in to comment.