Skip to content

Commit

Permalink
Removing dependency on rgdal
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewzm committed Oct 18, 2023
1 parent ae1ffe7 commit a553da8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ rhipe_fns.R$
^docs$
^pkgdown$
^\.github$
^FRKv2_6page.pdf$
^examples$
5 changes: 2 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: FRK
Type: Package
Title: Fixed Rank Kriging
Version: 2.1.5
Date: 2023-01-30
Version: 2.2.0
Date: 2023-10-18
Authors@R: c(
person("Andrew", "Zammit-Mangion", , "andrewzm@gmail.com", c("aut", "cre")),
person("Matthew", "Sainsbury-Dale", , "msdale@uow.edu.au", c("aut")))
Expand All @@ -21,7 +21,6 @@ Suggests:
knitr,
mapproj,
parallel,
rgdal,
sf,
spdep,
splancs,
Expand Down
2 changes: 1 addition & 1 deletion R/SREvalidation.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ simulate <- function(object, newdata = NULL, nsim = 400, conditional_fs = FALSE,

# Fix the size parameter over the BAUs to 1 (we will use k_Z)
k <- 1
k <- rep(k, length(M@BAUs)) # repeat k to prevent message from predict()
k <- rep(k, length(object@BAUs)) # repeat k to prevent message from predict()
if (!is.null(list(...)$k)) stop("k should not be provided when calling simulate")
}

Expand Down

0 comments on commit a553da8

Please sign in to comment.