Running examples in ‘EpiForsk-Ex.R’ failed
The error most likely occurred in:

> ### Name: fct_confint
> ### Title: Confidence set for functions of model parameters
> ### Aliases: fct_confint fct_confint.lm fct_confint.glm fct_confint.lms
> ###   fct_confint.default
> 
> ### ** Examples
> 
> data <- 1:5 |>
+   purrr::map(
+     \(x) {
+       name = paste0("cov", x);
+       dplyr::tibble("{name}" := rnorm(100, 1))
+     }
+   ) |>
+   purrr::list_cbind() |>
+   dplyr::mutate(
+   y = rowSums(dplyr::across(dplyr::everything())) + rnorm(100)
+   )
> lm <- lm(
+  as.formula(
+   paste0("y ~ 0 + ", paste0(names(data)[names(data) != "y"], collapse = " + "))
+  ),
+  data
+ )
> fct_confint(lm, sum)
Error in (function (.x, .f, ..., .progress = FALSE)  : ℹ In index: 1.
Caused by error in `Rmosek::mosek()`:
! Unknown exported object to be built. Please use 'Rmosek::mosek_attachbuilder' to complete the installation of Rmosek.
Calls: fct_confint ... tryCatchList -> tryCatchOne -> <Anonymous> -> ci_fct_error_handler
Execution halted
Running examples in ‘EpiForsk-Ex.R’ failed
The error most likely occurred in:

> ### Name: fct_confint
> ### Title: Confidence set for functions of model parameters
> ### Aliases: fct_confint fct_confint.lm fct_confint.glm fct_confint.lms
> ###   fct_confint.default
> 
> ### ** Examples
> 
> data <- 1:5 |>
+   purrr::map(
+     \(x) {
+       name = paste0("cov", x);
+       dplyr::tibble("{name}" := rnorm(100, 1))
+     }
+   ) |>
+   purrr::list_cbind() |>
+   dplyr::mutate(
+   y = rowSums(dplyr::across(dplyr::everything())) + rnorm(100)
+   )
> lm <- lm(
+  as.formula(
+   paste0("y ~ 0 + ", paste0(names(data)[names(data) != "y"], collapse = " + "))
+  ),
+  data
+ )
> fct_confint(lm, sum)
Error in (function (.x, .f, ..., .progress = FALSE)  : ℹ In index: 1.
Caused by error in `Rmosek::mosek()`:
! Unknown exported object to be built. Please use 'Rmosek::mosek_attachbuilder' to complete the installation of Rmosek.
Calls: fct_confint ... tryCatchList -> tryCatchOne -> <Anonymous> -> ci_fct_error_handler
Execution halted
Running examples in ‘EpiForsk-Ex.R’ failed
The error most likely occurred in:

> ### Name: fct_confint
> ### Title: Confidence set for functions of model parameters
> ### Aliases: fct_confint fct_confint.lm fct_confint.glm fct_confint.lms
> ###   fct_confint.default
> 
> ### ** Examples
> 
> data <- 1:5 |>
+   purrr::map(
+     \(x) {
+       name = paste0("cov", x);
+       dplyr::tibble("{name}" := rnorm(100, 1))
+     }
+   ) |>
+   purrr::list_cbind() |>
+   dplyr::mutate(
+   y = rowSums(dplyr::across(dplyr::everything())) + rnorm(100)
+   )
> lm <- lm(
+  as.formula(
+   paste0("y ~ 0 + ", paste0(names(data)[names(data) != "y"], collapse = " + "))
+  ),
+  data
+ )
> fct_confint(lm, sum)
Error in (function (.x, .f, ..., .progress = FALSE)  : ℹ In index: 1.
Caused by error in `Rmosek::mosek()`:
! Unknown exported object to be built. Please use 'Rmosek::mosek_attachbuilder' to complete the installation of Rmosek.
Calls: fct_confint ... tryCatchList -> tryCatchOne -> <Anonymous> -> ci_fct_error_handler
Execution halted
Running examples in ‘EpiForsk-Ex.R’ failed
The error most likely occurred in:

> ### Name: fct_confint
> ### Title: Confidence set for functions of model parameters
> ### Aliases: fct_confint fct_confint.lm fct_confint.glm fct_confint.lms
> ###   fct_confint.default
> 
> ### ** Examples
> 
> data <- 1:5 |>
+   purrr::map(
+     \(x) {
+       name = paste0("cov", x);
+       dplyr::tibble("{name}" := rnorm(100, 1))
+     }
+   ) |>
+   purrr::list_cbind() |>
+   dplyr::mutate(
+   y = rowSums(dplyr::across(dplyr::everything())) + rnorm(100)
+   )
> lm <- lm(
+  as.formula(
+   paste0("y ~ 0 + ", paste0(names(data)[names(data) != "y"], collapse = " + "))
+  ),
+  data
+ )
> fct_confint(lm, sum)
Error in (function (.x, .f, ..., .progress = FALSE)  : ℹ In index: 1.
Caused by error in `Rmosek::mosek()`:
! Unknown exported object to be built. Please use 'Rmosek::mosek_attachbuilder' to complete the installation of Rmosek.
Calls: fct_confint ... tryCatchList -> tryCatchOne -> <Anonymous> -> ci_fct_error_handler
Execution halted
Running examples in ‘EpiForsk-Ex.R’ failed
The error most likely occurred in:

> ### Name: fct_confint
> ### Title: Confidence set for functions of model parameters
> ### Aliases: fct_confint fct_confint.lm fct_confint.glm fct_confint.lms
> ###   fct_confint.default
> 
> ### ** Examples
> 
> data <- 1:5 |>
+   purrr::map(
+     \(x) {
+       name = paste0("cov", x);
+       dplyr::tibble("{name}" := rnorm(100, 1))
+     }
+   ) |>
+   purrr::list_cbind() |>
+   dplyr::mutate(
+   y = rowSums(dplyr::across(dplyr::everything())) + rnorm(100)
+   )
> lm <- lm(
+  as.formula(
+   paste0("y ~ 0 + ", paste0(names(data)[names(data) != "y"], collapse = " + "))
+  ),
+  data
+ )
> fct_confint(lm, sum)
Error in (function (.x, .f, ..., .progress = FALSE)  : ℹ In index: 1.
Caused by error in `Rmosek::mosek()`:
! Unknown exported object to be built. Please use 'Rmosek::mosek_attachbuilder' to complete the installation of Rmosek.
Calls: fct_confint ... tryCatchList -> tryCatchOne -> <Anonymous> -> ci_fct_error_handler
Execution halted
Running examples in ‘EpiForsk-Ex.R’ failed
The error most likely occurred in:

> ### Name: fct_confint
> ### Title: Confidence set for functions of model parameters
> ### Aliases: fct_confint fct_confint.lm fct_confint.glm fct_confint.lms
> ###   fct_confint.default
> 
> ### ** Examples
> 
> data <- 1:5 |>
+   purrr::map(
+     \(x) {
+       name = paste0("cov", x);
+       dplyr::tibble("{name}" := rnorm(100, 1))
+     }
+   ) |>
+   purrr::list_cbind() |>
+   dplyr::mutate(
+   y = rowSums(dplyr::across(dplyr::everything())) + rnorm(100)
+   )
> lm <- lm(
+  as.formula(
+   paste0("y ~ 0 + ", paste0(names(data)[names(data) != "y"], collapse = " + "))
+  ),
+  data
+ )
> fct_confint(lm, sum)
Error in (function (.x, .f, ..., .progress = FALSE)  : ℹ In index: 1.
Caused by error in `Rmosek::mosek()`:
! Unknown exported object to be built. Please use 'Rmosek::mosek_attachbuilder' to complete the installation of Rmosek.
Calls: fct_confint ... tryCatchList -> tryCatchOne -> <Anonymous> -> ci_fct_error_handler
Execution halted