Problems with news in ‘NEWS.md’:
No news entries found.
Running examples in ‘AnimalHabitatNetwork-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: ahn_gen
> ### Title: Generate networks characterising habitat physical configurations
> ### Aliases: ahn_gen
> 
> ### ** Examples
> 
> # generate a connected and weighted network
> ahn_gen(N = 10, L = 5, mu = 1, lamda = 5)
Error in `graph_from_adjacency_matrix()`:
! Cannot create a graph object because the adjacency matrix contains
  NAs.
Backtrace:
    ▆
 1. └─AnimalHabitatNetwork::ahn_gen(N = 10, L = 5, mu = 1, lamda = 5)
 2.   └─igraph::graph_from_adjacency_matrix(ahn_wei_matrix, mode = "undirected", diag = FALSE, weighted = TRUE)
 3.     └─igraph:::ensure_no_na(adjmatrix, "adjacency matrix")
 4.       └─cli::cli_abort(...)
 5.         └─rlang::abort(...)
Execution halted
Problems with news in ‘NEWS.md’:
No news entries found.
Running examples in ‘AnimalHabitatNetwork-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: ahn_gen
> ### Title: Generate networks characterising habitat physical configurations
> ### Aliases: ahn_gen
> 
> ### ** Examples
> 
> # generate a connected and weighted network
> ahn_gen(N = 10, L = 5, mu = 1, lamda = 5)
Error in `graph_from_adjacency_matrix()`:
! Cannot create a graph object because the adjacency matrix contains
  NAs.
Backtrace:
    ▆
 1. └─AnimalHabitatNetwork::ahn_gen(N = 10, L = 5, mu = 1, lamda = 5)
 2.   └─igraph::graph_from_adjacency_matrix(ahn_wei_matrix, mode = "undirected", diag = FALSE, weighted = TRUE)
 3.     └─igraph:::ensure_no_na(adjmatrix, "adjacency matrix")
 4.       └─cli::cli_abort(...)
 5.         └─rlang::abort(...)
Execution halted
Problems with news in ‘NEWS.md’:
No news entries found.
Running examples in ‘AnimalHabitatNetwork-Ex.R’ failed
The error most likely occurred in:

> ### Name: ahn_gen
> ### Title: Generate networks characterising habitat physical configurations
> ### Aliases: ahn_gen
> 
> ### ** Examples
> 
> # generate a connected and weighted network
> ahn_gen(N = 10, L = 5, mu = 1, lamda = 5)
Error in `graph_from_adjacency_matrix()`:
! Cannot create a graph object because the adjacency matrix contains
  NAs.
Backtrace:
    ▆
 1. └─AnimalHabitatNetwork::ahn_gen(N = 10, L = 5, mu = 1, lamda = 5)
 2.   └─igraph::graph_from_adjacency_matrix(ahn_wei_matrix, mode = "undirected", diag = FALSE, weighted = TRUE)
 3.     └─igraph:::ensure_no_na(adjmatrix, "adjacency matrix")
 4.       └─cli::cli_abort(...)
 5.         └─rlang::abort(...)
Execution halted
Problems with news in ‘NEWS.md’:
No news entries found.
Running examples in ‘AnimalHabitatNetwork-Ex.R’ failed
The error most likely occurred in:

> ### Name: ahn_gen
> ### Title: Generate networks characterising habitat physical configurations
> ### Aliases: ahn_gen
> 
> ### ** Examples
> 
> # generate a connected and weighted network
> ahn_gen(N = 10, L = 5, mu = 1, lamda = 5)
Error in `graph_from_adjacency_matrix()`:
! Cannot create a graph object because the adjacency matrix contains
  NAs.
Backtrace:
    ▆
 1. └─AnimalHabitatNetwork::ahn_gen(N = 10, L = 5, mu = 1, lamda = 5)
 2.   └─igraph::graph_from_adjacency_matrix(ahn_wei_matrix, mode = "undirected", diag = FALSE, weighted = TRUE)
 3.     └─igraph:::ensure_no_na(adjmatrix, "adjacency matrix")
 4.       └─cli::cli_abort(...)
 5.         └─rlang::abort(...)
Execution halted
Problems with news in 'NEWS.md':
No news entries found.
Running examples in 'AnimalHabitatNetwork-Ex.R' failed
The error most likely occurred in:

> ### Name: ahn_gen
> ### Title: Generate networks characterising habitat physical configurations
> ### Aliases: ahn_gen
> 
> ### ** Examples
> 
> # generate a connected and weighted network
> ahn_gen(N = 10, L = 5, mu = 1, lamda = 5)
Error in `graph_from_adjacency_matrix()`:
! Cannot create a graph object because the adjacency matrix contains
  NAs.
Backtrace:
    ▆
 1. └─AnimalHabitatNetwork::ahn_gen(N = 10, L = 5, mu = 1, lamda = 5)
 2.   └─igraph::graph_from_adjacency_matrix(ahn_wei_matrix, mode = "undirected", diag = FALSE, weighted = TRUE)
 3.     └─igraph:::ensure_no_na(adjmatrix, "adjacency matrix")
 4.       └─cli::cli_abort(...)
 5.         └─rlang::abort(...)
Execution halted
Problems with news in ‘NEWS.md’:
No news entries found.
Running examples in ‘AnimalHabitatNetwork-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: ahn_gen
> ### Title: Generate networks characterising habitat physical configurations
> ### Aliases: ahn_gen
> 
> ### ** Examples
> 
> # generate a connected and weighted network
> ahn_gen(N = 10, L = 5, mu = 1, lamda = 5)
Error in `graph_from_adjacency_matrix()`:
! Cannot create a graph object because the adjacency matrix contains
  NAs.
Backtrace:
    ▆
 1. └─AnimalHabitatNetwork::ahn_gen(N = 10, L = 5, mu = 1, lamda = 5)
 2.   └─igraph::graph_from_adjacency_matrix(ahn_wei_matrix, mode = "undirected", diag = FALSE, weighted = TRUE)
 3.     └─igraph:::ensure_no_na(adjmatrix, "adjacency matrix")
 4.       └─cli::cli_abort(...)
 5.         └─rlang::abort(...)
Execution halted
Problems with news in ‘NEWS.md’:
No news entries found.
Running examples in ‘AnimalHabitatNetwork-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: ahn_gen
> ### Title: Generate networks characterising habitat physical configurations
> ### Aliases: ahn_gen
> 
> ### ** Examples
> 
> # generate a connected and weighted network
> ahn_gen(N = 10, L = 5, mu = 1, lamda = 5)
Error in `graph_from_adjacency_matrix()`:
! Cannot create a graph object because the adjacency matrix contains
  NAs.
Backtrace:
    ▆
 1. └─AnimalHabitatNetwork::ahn_gen(N = 10, L = 5, mu = 1, lamda = 5)
 2.   └─igraph::graph_from_adjacency_matrix(ahn_wei_matrix, mode = "undirected", diag = FALSE, weighted = TRUE)
 3.     └─igraph:::ensure_no_na(adjmatrix, "adjacency matrix")
 4.       └─cli::cli_abort(...)
 5.         └─rlang::abort(...)
Execution halted
Problems with news in ‘NEWS.md’:
No news entries found.
Problems with news in ‘NEWS.md’:
No news entries found.
Problems with news in 'NEWS.md':
No news entries found.
Running examples in 'AnimalHabitatNetwork-Ex.R' failed
The error most likely occurred in:

> ### Name: ahn_gen
> ### Title: Generate networks characterising habitat physical configurations
> ### Aliases: ahn_gen
> 
> ### ** Examples
> 
> # generate a connected and weighted network
> ahn_gen(N = 10, L = 5, mu = 1, lamda = 5)
Error in `graph_from_adjacency_matrix()`:
! Cannot create a graph object because the adjacency matrix contains
  NAs.
Backtrace:
    ▆
 1. └─AnimalHabitatNetwork::ahn_gen(N = 10, L = 5, mu = 1, lamda = 5)
 2.   └─igraph::graph_from_adjacency_matrix(ahn_wei_matrix, mode = "undirected", diag = FALSE, weighted = TRUE)
 3.     └─igraph:::ensure_no_na(adjmatrix, "adjacency matrix")
 4.       └─cli::cli_abort(...)
 5.         └─rlang::abort(...)
Execution halted
Problems with news in ‘NEWS.md’:
No news entries found.
Problems with news in ‘NEWS.md’:
No news entries found.
Problems with news in 'NEWS.md':
No news entries found.
Running examples in 'AnimalHabitatNetwork-Ex.R' failed
The error most likely occurred in:

> ### Name: ahn_gen
> ### Title: Generate networks characterising habitat physical configurations
> ### Aliases: ahn_gen
> 
> ### ** Examples
> 
> # generate a connected and weighted network
> ahn_gen(N = 10, L = 5, mu = 1, lamda = 5)
Error in `graph_from_adjacency_matrix()`:
! Cannot create a graph object because the adjacency matrix contains
  NAs.
Backtrace:
    ▆
 1. └─AnimalHabitatNetwork::ahn_gen(N = 10, L = 5, mu = 1, lamda = 5)
 2.   └─igraph::graph_from_adjacency_matrix(ahn_wei_matrix, mode = "undirected", diag = FALSE, weighted = TRUE)
 3.     └─igraph:::ensure_no_na(adjmatrix, "adjacency matrix")
 4.       └─cli::cli_abort(...)
 5.         └─rlang::abort(...)
Execution halted