通过草案托管数据包:飓风暴露数据的案例研究。

IF 2.3 4区 计算机科学 Q3 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS
R Journal Pub Date : 2017-01-01 Epub Date: 2017-06-10 DOI:10.32614/rj-2017-026
G Brooke Anderson, Dirk Eddelbuettel
{"title":"通过草案托管数据包:飓风暴露数据的案例研究。","authors":"G Brooke Anderson,&nbsp;Dirk Eddelbuettel","doi":"10.32614/rj-2017-026","DOIUrl":null,"url":null,"abstract":"<p><p>Data-only packages offer a way to provide extended functionality for other R users. However, such packages can be large enough to exceed the package size limit (5 megabytes) for the Comprehensive R Archive Network (CRAN). As an alternative, large data packages can be posted to additional repostiories beyond CRAN itself in a way that allows smaller code packages on CRAN to access and use the data. The drat package facilitates creation and use of such alternative repositories and makes it particularly simple to host them via GitHub. CRAN packages can draw on packages posted to drat repositories through the use of the 'Additonal_repositories' field in the DESCRIPTION file. This paper describes how R users can create a suite of coordinated packages, in which larger data packages are hosted in an alternative repository created with drat, while a smaller code package that interacts with this data is created that can be submitted to CRAN.</p>","PeriodicalId":51285,"journal":{"name":"R Journal","volume":"9 1","pages":"486-497"},"PeriodicalIF":2.3000,"publicationDate":"2017-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8048413/pdf/nihms-1061092.pdf","citationCount":"6","resultStr":"{\"title\":\"Hosting Data Packages via drat: A Case Study with Hurricane Exposure Data.\",\"authors\":\"G Brooke Anderson,&nbsp;Dirk Eddelbuettel\",\"doi\":\"10.32614/rj-2017-026\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><p>Data-only packages offer a way to provide extended functionality for other R users. However, such packages can be large enough to exceed the package size limit (5 megabytes) for the Comprehensive R Archive Network (CRAN). As an alternative, large data packages can be posted to additional repostiories beyond CRAN itself in a way that allows smaller code packages on CRAN to access and use the data. The drat package facilitates creation and use of such alternative repositories and makes it particularly simple to host them via GitHub. CRAN packages can draw on packages posted to drat repositories through the use of the 'Additonal_repositories' field in the DESCRIPTION file. This paper describes how R users can create a suite of coordinated packages, in which larger data packages are hosted in an alternative repository created with drat, while a smaller code package that interacts with this data is created that can be submitted to CRAN.</p>\",\"PeriodicalId\":51285,\"journal\":{\"name\":\"R Journal\",\"volume\":\"9 1\",\"pages\":\"486-497\"},\"PeriodicalIF\":2.3000,\"publicationDate\":\"2017-01-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8048413/pdf/nihms-1061092.pdf\",\"citationCount\":\"6\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"R Journal\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://doi.org/10.32614/rj-2017-026\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"2017/6/10 0:00:00\",\"PubModel\":\"Epub\",\"JCR\":\"Q3\",\"JCRName\":\"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"R Journal","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.32614/rj-2017-026","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2017/6/10 0:00:00","PubModel":"Epub","JCR":"Q3","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 6

摘要

纯数据包提供了一种为其他R用户提供扩展功能的方法。但是,这样的包可能大到足以超过综合R档案网络(CRAN)的包大小限制(5兆字节)。作为一种替代方案,可以将大型数据包发布到CRAN本身以外的其他存储库,从而允许CRAN上的较小代码包访问和使用数据。草案包有助于创建和使用这些替代存储库,并使通过GitHub托管它们变得特别简单。通过使用DESCRIPTION文件中的'Additonal_repositories'字段,CRAN包可以提取发布到草稿存储库的包。本文描述了R用户如何创建一套协调包,其中较大的数据包托管在使用draft创建的替代存储库中,而与此数据交互的较小的代码包被创建,可以提交给CRAN。
本文章由计算机程序翻译,如有差异,请以英文原文为准。

Hosting Data Packages via drat: A Case Study with Hurricane Exposure Data.

Hosting Data Packages via drat: A Case Study with Hurricane Exposure Data.

Hosting Data Packages via drat: A Case Study with Hurricane Exposure Data.

Data-only packages offer a way to provide extended functionality for other R users. However, such packages can be large enough to exceed the package size limit (5 megabytes) for the Comprehensive R Archive Network (CRAN). As an alternative, large data packages can be posted to additional repostiories beyond CRAN itself in a way that allows smaller code packages on CRAN to access and use the data. The drat package facilitates creation and use of such alternative repositories and makes it particularly simple to host them via GitHub. CRAN packages can draw on packages posted to drat repositories through the use of the 'Additonal_repositories' field in the DESCRIPTION file. This paper describes how R users can create a suite of coordinated packages, in which larger data packages are hosted in an alternative repository created with drat, while a smaller code package that interacts with this data is created that can be submitted to CRAN.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
R Journal
R Journal COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS-STATISTICS & PROBABILITY
CiteScore
2.70
自引率
0.00%
发文量
40
审稿时长
>12 weeks
期刊介绍: The R Journal is the open access, refereed journal of the R project for statistical computing. It features short to medium length articles covering topics that should be of interest to users or developers of R. The R Journal intends to reach a wide audience and have a thorough review process. Papers are expected to be reasonably short, clearly written, not too technical, and of course focused on R. Authors of refereed articles should take care to: - put their contribution in context, in particular discuss related R functions or packages; - explain the motivation for their contribution; - provide code examples that are reproducible.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信