Closed metamaden closed 4 years ago
Builds with DESCRIPTION error from command line:
Required fields missing or empty:
‘Author’ ‘Maintainer’
DESCRIPTION uses Authors@R
From RStudio check, builds with error:
> checking dependencies in R code ... NOTE
Error: package or namespace load failed for ‘recountmethylation’:
.onAttach failed in attachNamespace() for 'recountmethylation', details:
call: packageDescription(pkgname, fields = "Version")
error: could not find function "packageDescription"
Call sequence:
6: stop(msg, call. = FALSE, domain = NA)
5: value[[3L]](cond)
4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
3: tryCatchList(expr, classes, parentenv, handlers)
2: tryCatch({
attr(package, "LibPath") <- which.lib.loc
ns <- loadNamespace(package, lib.loc)
env <- attachNamespace(ns, pos = pos, deps, exclude, include.only)
}, error = function(e) {
P <- if (!is.null(cc <- conditionCall(e)))
paste(" in", deparse(cc)[1L])
else ""
msg <- gettextf("package or namespace load failed for %s%s:\n %s",
sQuote(package), P, conditionMessage(e))
if (logical.return)
message(paste("Error:", msg), domain = NA)
else stop(msg, call. = FALSE
Execution halted
Does package build with no errors, warnings, or notes?