Søren Højsgaard
2024-Aug-25 20:32 UTC
[R] checking for unstated dependencies in examples ... ERROR
Dear all, When checking a package (ubuntu) I get checking for unstated dependencies in examples ... ERROR Warning: parse error in file 'lines': 77:20) Can anyone help on this? Thanks in advance. Best S?ren ---> sessionInfo()R version 4.3.3 (2024-02-29) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 24.04 LTS Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.12.0 LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.12.0 locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=en_US.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C time zone: Europe/Copenhagen tzcode source: system (glibc) attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] gRain_1.4.1.9012 gRbase_2.0.2 Rcpp_1.0.13 shtools_1.0 [5] markdown_1.13 knitr_1.48 rmarkdown_2.28 devtools_2.4.5 [9] usethis_3.0.0 loaded via a namespace (and not attached): [1] tidyselect_1.2.1 dplyr_1.1.4 fastmap_1.2.0 [4] xopen_1.0.1 promises_1.3.0 digest_0.6.37 [7] mime_0.12 lifecycle_1.0.4 Deriv_4.1.3 [10] ellipsis_0.3.2 processx_3.8.4 magrittr_2.0.3 [13] compiler_4.3.3 rlang_1.1.4 tools_4.3.3 [16] igraph_2.0.3 utf8_1.2.4 prettyunits_1.2.0 [19] htmlwidgets_1.6.4 pkgbuild_1.4.4 curl_5.2.1 [22] xml2_1.3.6 pkgload_1.4.0 miniUI_0.1.1.1 [25] withr_3.0.1 purrr_1.0.2 desc_1.4.3 [28] grid_4.3.3 stats4_4.3.3 fansi_1.0.6 [31] roxygen2_7.3.2 urlchecker_1.0.1 profvis_0.3.8 [34] xtable_1.8-4 colorspace_2.1-1 ggplot2_3.5.1 [37] scales_1.3.0 MASS_7.3-60.0.1 cli_3.6.3 [40] generics_0.1.3 remotes_2.5.0 rstudioapi_0.16.0 [43] modelr_0.1.11 commonmark_1.9.1 sessioninfo_1.2.2 [46] cachem_1.1.0 stringr_1.5.1 vctrs_0.6.5 [49] boot_1.3-30 Matrix_1.6-5 callr_3.7.6 [52] rcmdcheck_1.4.0 testthat_3.2.1.1 tidyr_1.3.1 [55] glue_1.7.0 ps_1.7.7 cowplot_1.1.3 [58] stringi_1.8.4 gtable_0.3.5 later_1.3.2 [61] munsell_0.5.1 tibble_3.2.1 pillar_1.9.0 [64] htmltools_0.5.8.1 brio_1.1.5 doBy_4.6.22 [67] R6_2.5.1 microbenchmark_1.4.10 rprojroot_2.0.4 [70] evaluate_0.24.0 shiny_1.9.1 lattice_0.22-6 [73] backports_1.5.0 memoise_2.0.1 broom_1.0.6 [76] httpuv_1.6.15 xfun_0.47 fs_1.6.4 [79] pkgconfig_2.0.3
DAVID WINSEMIUS
2024-Aug-25 22:19 UTC
[R] checking for unstated dependencies in examples ... ERROR
> On 08/25/2024 1:32 PM PDT S?ren H?jsgaard via R-help <r-help at r-project.org> wrote: > > > Dear all, > When checking a package (ubuntu) I get > > checking for unstated dependencies in examples ... ERROR > Warning: parse error in file 'lines': > 77:20) > > Can anyone help on this?I doubt anyone can help with such scanty information about how this problem comes about. I don't think there's an "ubuntu" package, but rather that you are on a Linux box. Do you actually have a file named "lines"? Have you looked for a syntax error near line 77? -- David. Thanks in advance.> > Best > S?ren > > > --- > > > sessionInfo() > R version 4.3.3 (2024-02-29) > Platform: x86_64-pc-linux-gnu (64-bit) > Running under: Ubuntu 24.04 LTS > > Matrix products: default > BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.12.0 > LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.12.0 > > locale: > [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C > [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 > [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 > [7] LC_PAPER=en_US.UTF-8 LC_NAME=C > [9] LC_ADDRESS=C LC_TELEPHONE=C > [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C > > time zone: Europe/Copenhagen > tzcode source: system (glibc) > > attached base packages: > [1] stats graphics grDevices utils datasets methods base > > other attached packages: > [1] gRain_1.4.1.9012 gRbase_2.0.2 Rcpp_1.0.13 shtools_1.0 > [5] markdown_1.13 knitr_1.48 rmarkdown_2.28 devtools_2.4.5 > [9] usethis_3.0.0 > > loaded via a namespace (and not attached): > [1] tidyselect_1.2.1 dplyr_1.1.4 fastmap_1.2.0 > [4] xopen_1.0.1 promises_1.3.0 digest_0.6.37 > [7] mime_0.12 lifecycle_1.0.4 Deriv_4.1.3 > [10] ellipsis_0.3.2 processx_3.8.4 magrittr_2.0.3 > [13] compiler_4.3.3 rlang_1.1.4 tools_4.3.3 > [16] igraph_2.0.3 utf8_1.2.4 prettyunits_1.2.0 > [19] htmlwidgets_1.6.4 pkgbuild_1.4.4 curl_5.2.1 > [22] xml2_1.3.6 pkgload_1.4.0 miniUI_0.1.1.1 > [25] withr_3.0.1 purrr_1.0.2 desc_1.4.3 > [28] grid_4.3.3 stats4_4.3.3 fansi_1.0.6 > [31] roxygen2_7.3.2 urlchecker_1.0.1 profvis_0.3.8 > [34] xtable_1.8-4 colorspace_2.1-1 ggplot2_3.5.1 > [37] scales_1.3.0 MASS_7.3-60.0.1 cli_3.6.3 > [40] generics_0.1.3 remotes_2.5.0 rstudioapi_0.16.0 > [43] modelr_0.1.11 commonmark_1.9.1 sessioninfo_1.2.2 > [46] cachem_1.1.0 stringr_1.5.1 vctrs_0.6.5 > [49] boot_1.3-30 Matrix_1.6-5 callr_3.7.6 > [52] rcmdcheck_1.4.0 testthat_3.2.1.1 tidyr_1.3.1 > [55] glue_1.7.0 ps_1.7.7 cowplot_1.1.3 > [58] stringi_1.8.4 gtable_0.3.5 later_1.3.2 > [61] munsell_0.5.1 tibble_3.2.1 pillar_1.9.0 > [64] htmltools_0.5.8.1 brio_1.1.5 doBy_4.6.22 > [67] R6_2.5.1 microbenchmark_1.4.10 rprojroot_2.0.4 > [70] evaluate_0.24.0 shiny_1.9.1 lattice_0.22-6 > [73] backports_1.5.0 memoise_2.0.1 broom_1.0.6 > [76] httpuv_1.6.15 xfun_0.47 fs_1.6.4 > [79] pkgconfig_2.0.3 > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide https://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Ivan Krylov
2024-Aug-26 05:18 UTC
[R] checking for unstated dependencies in examples ... ERROR
? Sun, 25 Aug 2024 20:32:07 +0000 S?ren H?jsgaard via R-help <r-help at r-project.org> ?????:> checking for unstated dependencies in examples ... ERROR > Warning: parse error in file 'lines': > 77:20)Looks like one of your Rd \examples{} has a syntax error in it. If there is a file gRain.Rcheck/gRain-Ex.R, try to find out which help page does the line 77 correspond to. -- Best regards, Ivan