Hello,
I'm buiding a package and then checking for inconsistences, as recomended
before submission.
Everything works fine until, when it starts to verify the examples, it does
not recognize the functions of the package as being loaded.
...
* checking examples ... ERROR
Running examples in ‘LandSim-Ex.R’ failed
The error most likely occurred in:
> ### Name: addpoints
> ### Title: Add a given number of patches to a landscape
> ### Aliases: addpoints
>
> ### ** Examples
>
>
> data(rland)
>
> #Checking the number of patches in the starting landscape:
>
> rland$number.patches
[1] 60>
> #60
>
> #Adding 10 patches to a landscape:
>
> rl1 <- addpoints(rl=rland, nr=10)
Error: could not find function "addpoints"
Execution halted
Any ideas?
Frederico Mestre
[[alternative HTML version deleted]]