Package is group of function and data.Let make a fake pacakge call: faketesting
0.1 1. check whether the name of your package is taken or not with pacakge available
it show no one create this on CRAN/BIOCONDUCTOR/GITHUB yet!
Code
library(available)available('faketesting')
── faketesting ─────────────────────────────────────────────────────────────────
Name valid: ✔
Available on CRAN: ✔
Available on Bioconductor: ✔
Available on GitHub: ✔
Abbreviations: http://www.abbreviations.com/faketesting
Wikipedia: https://en.wikipedia.org/wiki/faketesting
Wiktionary: https://en.wiktionary.org/wiki/faketesting
Sentiment:???
---title: "How to make a package"subtitle: "How to make a package"author: "Tony Duan"date: "2023-07-15"categories: [packages]execute: warning: false error: falseformat: html: toc: true code-fold: show code-tools: true number-sections: true code-block-bg: true code-block-border-left: "#31BAE9"---Package is group of function and data.Let make a fake pacakge call: faketesting{width="600"}# 1. check whether the name of your package is taken or not with ``pacakge available`` it show no one create this on CRAN/BIOCONDUCTOR/GITHUB yet!```{r}library(available)available('faketesting')```# 2. Create package skeleton```{r}```# Referencehttps://www.youtube.com/watch?v=EpTkT6Rkgbshttps://www.youtube.com/watch?v=79s3z0gIuFU&list=PLk3B5c8iCV-T4LM0mwEyWIunIunLyEjqMhttps://kbroman.org/AdvData/18_rpack_demo.html