r - Include archived CRAN package in package -


i'm creating r package, , rely on falsy package, has been archived cran.

with non-archived package, 1 typically add name of package imports list in description file. how 1 import package that's been archived cran?

note: after contacting gábor seems reason falsy archived due potentially dangerous inconsistencies between native , falsy notions of falsehood. not plan unarchive package.

this:

falsy <- false  truthy <- true  is_falsy <- function(object) {   is.null(object) ||     identical(object, false) ||     identical(object, 0l) ||     identical(object, 0.0) ||     identical(object, 0+0i) ||     identical(object, "") ||     identical(object, as.raw(0)) ||     identical(object, logical()) ||     identical(object, integer()) ||     identical(object, double()) ||     identical(object, complex()) ||     identical(object, character()) ||     identical(object, raw()) ||     identical(object, list()) ||     inherits(object, "try-error") }  is_truthy <- function(object) {   ! is_falsy(object) }  `%&&%` <- function(lhs, rhs) {   lres <- withvisible(eval(lhs, envir = parent.frame()))   if (is_truthy(lres$value)) {     eval(rhs, envir = parent.frame())   } else {     if (lres$visible) { lres$value } else { invisible(lres$value) }   } }  nay <- function(rhs) {   if (is_falsy(rhs)) { truthy } else { falsy } }  try_quietly <- function(expr) {   try(expr, silent = true) } 

is entire extent (minus roxygen comments) of package. why not include in package?

failing that, possibly ask gabor if he's planning re-releasing cran or if take on maintenance?


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -