Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
achubaty committed Jun 7, 2024
2 parents 115d6ea + 45bc4a9 commit 5a96ee9
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ URL:
https://spades-core.predictiveecology.org/,
https://github.com/PredictiveEcology/SpaDES.core
Date: 2024-06-06
Version: 2.1.2
Version: 2.1.3
Authors@R: c(
person("Alex M", "Chubaty", , "achubaty@for-cast.ca", role = c("aut"),
comment = c(ORCID = "0000-0001-7146-8135")),
Expand Down Expand Up @@ -59,6 +59,7 @@ Suggests:
httr,
knitr,
lattice,
lme4,
logging,
magrittr,
NLMR (>= 1.1.1),
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# SpaDES.core 2.1.3

* fix issue with Windows short paths in tests;
* improved documentation;

# SpaDES.core 2.1.2

* fixed bug in `restartSpades()`;
Expand Down
2 changes: 1 addition & 1 deletion R/misc-methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ moduleCodeFiles <- function(paths, modules) {
}

#' Recursively Filter a list
#' @inheritParams Filter
#' @inheritParams funprog
#' @keywords internal
FilterRecursive <- function(f, x) {
Filter(f, x) |>
Expand Down
2 changes: 1 addition & 1 deletion man/FilterRecursive.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions tests/testthat/test-load.R
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ test_that("Filenames for simList", {
test_that("loadSimList handles symlinked files sensibly", {
skip_on_cran()
skip_on_ci()
skip_if_not_installed("lme4")

prjDir <- "~/GitHub/BC_HRV"

Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-simList.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ test_that("simList object initializes correctly (1)", {
rm(w)

## test path accessors
expect_identical(figurePath(mySim), normPath(file.path(outputPath(mySim), "figures")))
expect_identical(logPath(mySim), normPath(file.path(outputPath(mySim), "log")))
expect_identical(normPath(figurePath(mySim)), normPath(file.path(outputPath(mySim), "figures")))
expect_identical(normPath(logPath(mySim)), normPath(file.path(outputPath(mySim), "log")))

### SLOT .xData
expect_is(envir(mySim), "environment")
Expand Down

0 comments on commit 5a96ee9

Please sign in to comment.