Skip to content

devtools::load_all() has an extra warning that pkgload::load_all() doesn't #2672

@emstruong

Description

@emstruong

Hello,

It seems that although pkgload::load_all() now supports a debug=FALSE argument, devtools::load_all() seems to be warning that this argument is inappropriate, despite devtools() apparently documenting that debug is an appropriate argument

devtools::load_all(debug = FALSE)
#> ℹ Loading cSEM
#> Warning in devtools::load_all(debug = FALSE): Arguments in `...` must be used.
#> ✖ Problematic argument:
#> • debug = FALSE
#> ℹ Did you misspell an argument name?
pkgload::load_all(debug = FALSE)
#> ℹ Loading cSEM
devtools::load_all(debug = FALSE)
#> ℹ Loading cSEM
#> Warning in devtools::load_all(debug = FALSE): Arguments in `...` must be used.
#> ✖ Problematic argument:
#> • debug = FALSE
#> ℹ Did you misspell an argument name?

Created on 2026-02-17 with reprex v2.1.1

Session info

sessioninfo::session_info()
#> ─ Session info ───────────────────────────────────────────────────────────────
#>  setting  value
#>  version  R version 4.5.1 (2025-06-13)
#>  os       Ubuntu 22.04.5 LTS
#>  system   x86_64, linux-gnu
#>  ui       X11
#>  language en_CA:en
#>  collate  en_US.UTF-8
#>  ctype    en_US.UTF-8
#>  tz       America/Toronto
#>  date     2026-02-17
#>  pandoc   3.6.3 @ /usr/share/positron/resources/app/quarto/bin/tools/x86_64/ (via rmarkdown)
#>  quarto   1.8.27 @ /opt/quarto/bin/quarto
#> 
#> ─ Packages ───────────────────────────────────────────────────────────────────
#>  ! package         * version    date (UTC) lib source
#>    abind             1.4-8      2024-09-12 [1] RSPM (R 4.5.0)
#>    admisc            0.39       2025-11-02 [1] RSPM
#>    alabama           2023.1.0   2023-08-22 [1] RSPM (R 4.5.0)
#>    boot              1.3-32     2025-08-29 [1] RSPM
#>    brio              1.1.5      2024-04-24 [1] RSPM
#>    cachem            1.1.0      2024-05-16 [1] RSPM
#>    cli               3.6.5      2025-04-23 [1] RSPM
#>    codetools         0.2-20     2024-03-31 [2] CRAN (R 4.5.1)
#>    combinat          0.0-8      2012-10-29 [1] RSPM (R 4.5.0)
#>    crayon            1.5.3      2024-06-20 [1] RSPM (R 4.5.0)
#>  P cSEM            * 0.6.1.9000 2026-01-22 [?] load_all()
#>    cubature          2.1.4-1    2025-11-22 [1] RSPM
#>    desc              1.4.3      2023-12-10 [1] RSPM
#>    devtools          2.4.6      2025-10-03 [1] RSPM
#>    digest            0.6.39     2025-11-19 [1] RSPM
#>    ellipsis          0.3.2      2021-04-29 [1] RSPM
#>    evaluate          1.0.5      2025-08-27 [1] RSPM
#>    expm              1.0-0      2024-08-19 [1] RSPM
#>    fastmap           1.2.0      2024-05-15 [1] RSPM
#>    Formula           1.2-5      2023-02-24 [1] RSPM
#>    fs                1.6.6      2025-04-12 [1] CRAN (R 4.5.1)
#>    future            1.68.0     2025-11-17 [1] RSPM
#>    future.apply      1.20.1     2025-12-09 [1] RSPM
#>    generics          0.1.4      2025-05-09 [1] RSPM
#>    globals           0.18.0     2025-05-08 [1] RSPM (R 4.5.0)
#>    glue              1.8.0      2024-09-30 [1] RSPM
#>    htmltools         0.5.8.1    2024-04-04 [1] RSPM
#>    inum              1.0-5      2023-03-09 [1] RSPM
#>    knitr             1.50       2025-03-16 [1] CRAN (R 4.5.1)
#>    lattice           0.22-7     2025-04-02 [2] CRAN (R 4.5.1)
#>    lavaan            0.6-21     2025-12-21 [1] RSPM
#>    libcoin           1.0-10     2023-09-27 [1] RSPM
#>    lifecycle         1.0.4      2023-11-07 [1] RSPM (R 4.5.0)
#>    listenv           0.10.0     2025-11-02 [1] RSPM
#>    magrittr          2.0.4      2025-09-12 [1] RSPM
#>    MASS              7.3-65     2025-02-28 [1] CRAN (R 4.5.1)
#>    Matrix            1.7-4      2025-08-28 [1] RSPM
#>    matrixcalc        1.0-6      2022-09-14 [1] RSPM (R 4.5.0)
#>    matrixStats       1.5.0      2025-01-07 [1] RSPM (R 4.5.0)
#>    memoise           2.0.1      2021-11-26 [1] RSPM
#>    mnormt            2.1.1      2022-09-26 [1] RSPM (R 4.5.0)
#>    multipol          1.0-9      2023-08-21 [1] RSPM (R 4.5.0)
#>    mvtnorm           1.3-3      2025-01-10 [1] RSPM
#>    nleqslv           3.3.5      2023-11-26 [1] RSPM (R 4.5.0)
#>    nlme              3.1-168    2025-03-31 [2] CRAN (R 4.5.1)
#>    numDeriv          2016.8-1.1 2019-06-06 [1] RSPM (R 4.5.0)
#>    otel              0.2.0      2025-08-29 [1] RSPM
#>    parallelly        1.46.0     2025-12-12 [1] RSPM
#>    partykit          1.2-24     2025-05-02 [1] RSPM
#>    pbivnorm          0.6.0      2015-01-23 [1] RSPM (R 4.5.0)
#>    pillar            1.11.1     2025-09-17 [1] RSPM
#>    pkgbuild          1.4.8      2025-05-26 [1] RSPM
#>    pkgconfig         2.0.3      2019-09-22 [1] RSPM
#>    pkgload           1.4.1      2025-09-23 [1] RSPM
#>    polycor           0.8-1      2022-01-11 [1] RSPM (R 4.5.0)
#>    progressr         0.18.0     2025-11-06 [1] RSPM
#>    psych             2.5.6      2025-06-23 [1] RSPM
#>    purrr             1.2.0      2025-11-04 [1] RSPM
#>    qrng              0.0-10     2024-02-29 [1] RSPM (R 4.5.0)
#>    quadprog          1.5-8      2019-11-20 [1] RSPM (R 4.5.0)
#>    R6                2.6.1      2025-02-15 [1] CRAN (R 4.5.1)
#>    rbibutils         2.4        2025-11-07 [1] RSPM
#>    Rcpp              1.1.0      2025-07-02 [1] RSPM (R 4.5.0)
#>    Rdpack            2.6.4      2025-04-09 [1] RSPM (R 4.5.0)
#>    remotes           2.5.0      2024-03-17 [1] RSPM
#>    reprex            2.1.1      2024-07-06 [1] RSPM
#>    rlang             1.1.6      2025-04-11 [1] RSPM
#>    rmarkdown         2.30       2025-09-28 [1] RSPM
#>    rpart             4.1.24     2025-01-07 [2] CRAN (R 4.5.1)
#>    rprojroot         2.1.1      2025-08-26 [1] RSPM
#>    rstudioapi        0.17.1     2024-10-22 [1] RSPM
#>    sessioninfo       1.2.3      2025-02-05 [1] RSPM
#>    spacefillr        0.4.0      2025-02-24 [1] RSPM (R 4.5.0)
#>    survival          3.8-3      2024-12-17 [2] CRAN (R 4.5.1)
#>    symmoments        1.2.1      2020-02-05 [1] RSPM (R 4.5.0)
#>    testthat        * 3.3.2      2026-01-11 [1] RSPM
#>    tibble            3.3.0      2025-06-08 [1] RSPM
#>    TruncatedNormal   2.3        2024-07-08 [1] RSPM (R 4.5.0)
#>    usethis           3.2.1      2025-09-06 [1] RSPM
#>    vctrs             0.6.5      2023-12-01 [1] RSPM (R 4.5.0)
#>    withr             3.0.2      2024-10-28 [1] CRAN (R 4.5.1)
#>    xfun              0.54       2025-10-30 [1] RSPM
#>    yaml              2.3.11     2025-11-28 [1] CRAN (R 4.5.1)
#> 
#>  [1] /home/mstruong/R/x86_64-pc-linux-gnu-library/4.5
#>  [2] /opt/R/4.5.1/lib/R/library
#> 
#>  * ── Packages attached to the search path.
#>  P ── Loaded and on-disk path mismatch.
#> 
#> ──────────────────────────────────────────────────────────────────────────────

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions