Skip to content

Use of single file for importFroms #1874

@bms63

Description

@bms63

Hi all,

Love this package! We have used this convention in admiral where we have a single file doing our importFroms.

https://github.com/pharmaverse/admiral/blob/main/R/admiral-package.R

in the most recent dev version of roxygen (roxygen2_7.3.3.9000) we started to receive these warnings. Is this something we need fix on our end, or is there another way to do this now in R package?

Image
R version 4.5.3 (2026-03-11)
Platform: x86_64-pc-linux-gnu
Running under: Ubuntu 24.04.4 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3 
LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.26.so;  LAPACK version 3.12.0

locale:
 [1] LC_CTYPE=C.UTF-8       LC_NUMERIC=C           LC_TIME=C.UTF-8        LC_COLLATE=C.UTF-8     LC_MONETARY=C.UTF-8   
 [6] LC_MESSAGES=C.UTF-8    LC_PAPER=C.UTF-8       LC_NAME=C              LC_ADDRESS=C           LC_TELEPHONE=C        
[11] LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C   

time zone: UTC
tzcode source: system (glibc)

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] tidyr_1.3.2        lubridate_1.9.5    dplyr_1.2.1        tibble_3.3.1       admiral_1.4.1.9044 testthat_3.3.2    
[7] shiny_1.13.0      

loaded via a namespace (and not attached):
 [1] xfun_0.57              bslib_0.10.0           devtools_2.5.1         remotes_2.5.0          processx_3.9.0        
 [6] callr_3.7.6            vctrs_0.7.3            tools_4.5.3            ps_1.9.3               generics_0.1.4        
[11] curl_7.0.0             pkgconfig_2.0.3        checkmate_2.3.4        desc_1.4.3             lifecycle_1.0.5       
[16] compiler_4.5.3         stringr_1.6.0          brio_1.1.5             httpuv_1.6.17          htmltools_0.5.9       
[21] usethis_3.2.1          sass_0.4.10            yaml_2.3.12            pillar_1.11.1          later_1.4.8           
[26] jquerylib_0.1.4        ellipsis_0.3.3         cachem_1.1.0           sessioninfo_1.2.3      mime_0.13             
[31] commonmark_2.0.0       tidyselect_1.2.1       digest_0.6.39          stringi_1.8.7          purrr_1.2.2           
[36] rprojroot_2.1.1        fastmap_1.2.0          cli_3.6.6              magrittr_2.0.5         utf8_1.2.6            
[41] pkgbuild_1.4.8         withr_3.0.2            admiraldev_1.4.0.9006  promises_1.5.0         backports_1.5.1       
[46] timechange_0.4.0       roxygen2_7.3.3.9000    otel_0.2.0             hms_1.1.4              memoise_2.0.1         
[51] evaluate_1.0.5         knitr_1.51             pharmaverse4devs_0.1.0 rlang_1.2.0            Rcpp_1.1.1-1          
[56] xtable_1.8-8           glue_1.8.1             xml2_1.5.2             pkgload_1.5.2          rstudioapi_0.18.0     
[61] jsonlite_2.0.0         R6_2.6.1               fs_2.1.0       

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions