Last updated on 2025-12-07 07:50:44 CET.
| Package | ERROR | NOTE | OK |
|---|---|---|---|
| lulcc | 1 | 1 | 11 |
Current CRAN status: ERROR: 1, NOTE: 1, OK: 11
Version: 1.0.4
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Simon Moulds <sim.moulds@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Simon",
family = "Moulds",
role = c("aut", "cre"),
email = "sim.moulds@gmail.com")
as necessary.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 1.0.4
Check: examples
Result: ERROR
Running examples in ‘lulcc-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: allow
> ### Title: Implement decision rules for land use change
> ### Aliases: allow
>
> ### ** Examples
>
>
> ## Plum Island Ecosystems
>
> ## load observed land use data
> obs <- ObsLulcRasterStack(x=pie,
+ pattern="lu",
+ categories=c(1,2,3),
+ labels=c("forest","built","other"),
+ t=c(0,6,14))
>
> ## get land use values
> x <- getValues(obs[[1]])
> x <- x[!is.na(x)]
>
> ## create vector of arbitrary land use history values
> hist <- sample(1:10, length(x), replace=TRUE)
>
> ## calculate demand and get change direction for first timestep
> dmd <- approxExtrapDemand(obs=obs, tout=0:14)
Warning in total(x = obs) :
missing argument 'categories': getting categories from 'x'
Error in loadNamespace(x) : there is no package called ‘Hmisc’
Calls: approxExtrapDemand ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc