Skip to content

Commit 01fb8ec

Browse files
committed
Updated workspace generation
1 parent 9179227 commit 01fb8ec

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/generate-workspace.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
devtools::load_all()
3232
iscamdata <- ls(getNamespace("ISCAM"), all.names = TRUE)
3333
print(iscamdata)
34+
ISCAM_version <- getNamespaceInfo(getNamespace("ISCAM"), "spec")[["version"]]
3435
iscamdata <- c(
3536
iscamdata[
3637
!iscamdata %in%
@@ -41,7 +42,8 @@ jobs:
4142
".packageName"
4243
)
4344
],
44-
Sys.glob("data/*.rda") |> basename() |> gsub("\\.rda$", "", x = _)
45+
Sys.glob("data/*.rda") |> basename() |> gsub("\\.rda$", "", x = _),
46+
"ISCAM_version"
4547
)
4648
print(iscamdata)
4749
save(list = iscamdata, file = "docs/ISCAM.RData")

0 commit comments

Comments
 (0)