Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
achubaty committed Sep 11, 2015
2 parents 32c70b5 + 1527ac8 commit 392755d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Description: Easily implement a variety of simulation models, with a focus on
installed with `install.packages("fastshp", repos="http://rforge.net",
type="source")`.
URL: https://github.com/PredictiveEcology/SpaDES
Version: 1.0.2
Date: 2015-09-09
Version: 1.0.3
Date: 2015-09-10
Authors@R: c(
person(c("Alex", "M"), "Chubaty", email="[email protected]",
role=c("aut", "cre")),
Expand Down
4 changes: 4 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
Known issues: https://github.com/PredictiveEcology/SpaDES/issues

version 1.0.3
=============
* fully fix `inputs` data.frame construction in `simInit` (#225)

version 1.0.2
=============
* update maintainer's and authors' email addresses
Expand Down
2 changes: 1 addition & 1 deletion R/simList-accessors.R
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ setReplaceMethod(
columns <- pmatch(names(fileTable), names(value))
setnames(value, old = colnames(value)[na.omit(columns)],
new = colnames(fileTable)[!is.na(columns)])
object@inputs <- bind_rows(list(value, fileTable), stringsAsFactors = FALSE) %>%
object@inputs <- bind_rows(list(value, fileTable)) %>%
as.data.frame(stringsAsFactors = FALSE)
#object@inputs$file <- file.path(inputPath(object),object@inputs$file)
} else {
Expand Down
2 changes: 1 addition & 1 deletion R/simulation.R
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ setMethod(
loadTime = as.numeric(time(sim, "seconds")),
loaded=TRUE,
stringsAsFactors = FALSE)
), stringsAsFactors = FALSE)
))
}

# keep session info for debugging & checkpointing
Expand Down

0 comments on commit 392755d

Please sign in to comment.