encapsulate BBS state for a package
make_BBS_package_data(afset, packagename)
instance of ArtifSet
character(1)
af = make_demo_ArtifSet()
#> starting untar...
#> done.
ho = slot(af, "hostnames")
ho
#> linux macos windows
#> "nebbiolo1" "merida1" "palomino3"
pd1 = make_BBS_package_data(af, "zinbwave")
hd = host_data_by_phase( pd1, ho[1], "buildsrc")
head(hd)
#> [1] "##############################################################################"
#> [2] "##############################################################################"
#> [3] "###"
#> [4] "### Running command:"
#> [5] "###"
#> [6] "### /home/biocbuild/bbs-3.15-bioc/R/bin/R CMD build --keep-empty-dirs --no-resave-data zinbwave"
hd = host_data_by_phase( pd1, ho[1], "checksrc")
head(hd)
#> [1] "----" "NO ERROR EVENTS" "----"
#> [4] "----" "NO WARNING EVENTS" "----"
pd2 = make_BBS_package_data(af, "zlibbioc")
hd = host_data_by_phase( pd2, ho[1], "install")
tail(hd)
#> [1] "** installing vignettes"
#> [2] "** testing if installed package can be loaded from temporary location"
#> [3] "** checking absolute paths in shared objects and dynamic libraries"
#> [4] "** testing if installed package can be loaded from final location"
#> [5] "** testing if installed package keeps a record of temporary installation path"
#> [6] "* DONE (zlibbioc)"
hd = host_data_by_phase( pd2, ho[1], "checksrc")
head(hd)
#> [1] "----" "NO ERROR EVENTS" "----"
#> [4] "----" "NO WARNING EVENTS" "----"