Skip to content

notthewinner.Rmd knits correctly locally but not on github workflows #257

@RobinHankin

Description

@RobinHankin

Commit adf5fe9 refers.

Not sure what is going on here. File notthewinner.Rmd knits correctly locally, but on the github workflow (that is, .github/workflows/deploy-site.yml) I get

Rendering: notthewinner.Rmd
Error in ordervec2supp():
! nonzero elements of d should be 1,2,3,4,...,n
Backtrace:
    ▆
 1. ├─hyper2::suppfun(jj)
 2. └─hyper2:::suppfun.numeric(jj)
 3.   └─hyper2::ordervec2supp(x)
Quitting from notthewinner.Rmd:94-105 [uninformativesupportfunction]
Execution halted
Error: Process completed with exit code 1.

For ease of reference, the lines of notthewinner.Rmd that are causing the error follow:

library("partitions")
H # as before, here for convenience
M <- perms(5)   # uninformative!
SL <- list()
for(i in seq_len(ncol(M))){
	jj <- M[,i,drop=TRUE]
	names(jj) <- letters[seq_along(jj)]
	SL[[i]] <- H + suppfun(jj)
}
SL <- as.suplist(SL)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions