为什么包 'epicalc' 从 CRAN 中删除?

Why was package 'epicalc' removed from CRAN?

转到 link:

https://cran.r-project.org/web/packages/epicalc/index.html

您将收到消息:

Package ‘epicalc’ was removed from the CRAN repository.

Formerly available versions can be obtained from the archive.

Archived on 2015-05-12 as requested by the maintainer <cvirasak@medicine.psu.ac.th>.

但没有给出进一步的解释。这似乎是一个开发完善且有用的软件包,那么为什么将其删除?

看起来 epicalc 中的大部分 material 已移至 epiDisplay

epiDisplay package information 说:

Package for data exploration and result presentation. Full 'epicalc' package with data management functions is available at the author's repository.

(虽然它没有给出 link)。

devtools::install_version("epicalc",version="2.15.1.0")
install.packages("epiDisplay")
library("epicalc")
library("epiDisplay")
c1 <- ls("package:epicalc")
d1 <- ls("package:epiDisplay")

epicalc 但不在 epiDisplay:

setdiff(c1,d1)
##  [1] "addMissingRecords" "adjust"            "auc"              
##  [4] "be2ad"             "detachAllData"     "expand"           
##  [7] "fillin"            "keepData"          "label.var"        
## [10] "lagVar"            "markVisits"        "merge.lab"        
## [13] "pack"              "print.summ"        "recode"           
## [16] "recode.default"    "recode.is.na"      "ren"              
## [19] "rename"            "rename.default"    "rename.pattern"   
## [22] "rename.var"        "sortBy"            "tally.events"     
## [25] "unclassDataframe"  "use"               "zap"              

epiDisplay 但不在 epicalc:

setdiff(d1,c1)
## [1] "print.summ.data.frame" "print.summ.default"    "summ.data.frame"      
## [4] "summ.default"          "summ.factor"           "summ.logical"         

编辑:

根据 the author of epicalc:

‘epicalc’ has disappeared from CRAN. It has been archived by R-core team based on my request. The reason is that CRAN has set up a policy not to allow any package to do anything on .GlobalEnv while epicalc does that extensively.

他们接着说:

WHICH ONE IS BETTER? ‘epicalc’ or ‘epiDisplay’

For those who are familiar with epicalc, without these database functions, you need to get back to usual plain R functions. That will slow you down substantially, especially during the data cleaning and manipulation. I recommend that you should install epicalc from our website (as shown above) and don’t borther about ‘epiDisplay’ For R users who have never used epicalc and do not want to learn epicalc database functions, ‘epiDisplay’ is straightforward and should still be very useful in data exploration and result display.