[R-pkg-devel] apparent infinite loop in GitHub Action on a tiny package

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Sun Sep 7 21:43:06 CEST 2025


You're doing one strange thing:  the only code in the package is

   devtools::load_all()

in the single .R file.  That's a weird thing to do.

Duncan Murdoch

On 2025-09-07 3:10 p.m., Spencer Graves wrote:
> Hello, All:
> 
> 
> GitHub Action has been running on 5 platforms for over a half hour on a
> tiny package:
> 
> 
> https://github.com/sbgraves237/SS4Maddison
> 
> 
> I'm trying to follow the current recommendation in Wickham and Bryan, R
> Packages.[1] I just added ~R/MaddisonProjectData.R, documenting data
> objects I have yet to add to the package, attempting to follow the
> instructions in R Packages, section 7.1.2 Documenting datasets.[2]
> 
> 
> Then "devtools::load_all()" on my local computer put R into an apparent
> infinite loop.[3] After breaking out of that, I managed to replicate the
> behavior on 5 platforms on GitHub Action.
> 
> 
> What do you suggest?
> Thanks,
> Spencer Graves
> 
> 
> [1] Wickham and Bryan, R Packages:
> 
> 
> https://r-pkgs.org/
> 
> 
> [2] Wickham and Bryan, R Packages, section 7.1.2 Documenting datasets:
> 
> 
> https://r-pkgs.org/data.html
> 
> 
> [3] Sys.info()
>    
>                             sysname
>    
>                            "Darwin"
>    
>                             release
>    
>                            "24.6.0"
>    
>                             version
> "Darwin Kernel Version 24.6.0: Mon Jul 14 11:30:30 PDT 2025;
> root:xnu-11417.140.69~1/RELEASE_ARM64_T6020"
>    
>                            nodename
>    
>                               "Mac"
>    
>                             machine
>    
>                             "arm64"
>    
>                               login
>    
>                              "root"
>    
>                                user
>    
>                                "sg"
>    
>                      effective_user
>    
>                                "sg"
> 
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel



More information about the R-package-devel mailing list