You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, installing the package from GitHub does not install any pre-built vignettes:
> message(require(groHMM))
TRUE
> browseVignettes(package = "groHMM")
No vignettes found by browseVignettes(package = "groHMM")
Good practice is to only build and install the vignette in the release tarball, so committing the built HTML vignette in git for development builds is not an attractive option.
One way around this is to use pkgdown to directly publish the build vignette online. It appears that some changes to the C code might be necessary to get passed the "locked environment" error:
> pkgdown::build_site()
══ Building pkgdown site ═══════════════════════════════════════════════════════
Reading from: '/tmp/groHMM'
Writing to: '/tmp/groHMM/docs'
── Initialising site ───────────────────────────────────────────────────────────
Writing 'docsearch.json'
── Building home ───────────────────────────────────────────────────────────────
Writing 'index.html'
── Building function reference ─────────────────────────────────────────────────
Loading groHMM
Loading required package: stats4
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: ‘BiocGenerics’
The following objects are masked from ‘package:parallel’:
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from ‘package:stats’:
IQR, mad, sd, var, xtabs
The following objects are masked from ‘package:base’:
anyDuplicated, append, as.data.frame, cbind, colMeans, colnames,
colSums, do.call, duplicated, eval, evalq, Filter, Find, get, grep,
grepl, intersect, is.unsorted, lapply, lengths, Map, mapply, match,
mget, order, paste, pmax, pmax.int, pmin, pmin.int, Position, rank,
rbind, Reduce, rowMeans, rownames, rowSums, sapply, setdiff, sort,
table, tapply, union, unique, unsplit, which, which.max, which.min
Loading required package: S4Vectors
Attaching package: ‘S4Vectors’
The following object is masked from ‘package:base’:
expand.grid
Loading required package: IRanges
Loading required package: GenomeInfoDb
Error in importIntoEnv(pkgenv, exports, nsenv, exports) :
cannot add bindings to a locked environment
>
In changing the C code, it may be worth modernizing and migrating over to Rcpp not least to fix many of the compile time warnings:
Currently, installing the package from GitHub does not install any pre-built vignettes:
Good practice is to only build and install the vignette in the release tarball, so committing the built HTML vignette in git for development builds is not an attractive option.
One way around this is to use pkgdown to directly publish the build vignette online. It appears that some changes to the C code might be necessary to get passed the "locked environment" error:
In changing the C code, it may be worth modernizing and migrating over to Rcpp not least to fix many of the compile time warnings:
The text was updated successfully, but these errors were encountered: