remotes::install_github("ropensci/tic") remotes::install_github("ropensci/travis") install.packages("rmarkdown") install.packages("backports") install.packages("testthat")
travis::browse_travis_token()
usethis::edit_r_environ()
tic::use_tic() tic::deploy()
# R package 빌드해서, Error/Warning/Note 리포트 해줌 devtools::check_win_devel()
# docs 만들어줌줌 pkgdown::build_site()
# NAMESPACE 만들어줌줌 devtools::document()
# travis 에서만 사용해야 됨 pkgdown::deploy_site_github()
devtools::build(pkg = '../') Sys.getenv("R_LIBS")
devtools::build(pkg = '../') Sys.getenv("PKG_TARBALL")
pkgdown::build_site(pkg = '../') # git repo가 있는 디렉토리에서 # repo 에서만 사용할 git config 가 필요함 # # git config user.email "skysign@gmail.com" # git config user.name "ByeongKeon Kim" pkgdown::deploy_to_branch(pkg = '../')
usethis::use_appveyor()
install.packages('pdflatex', force = TRUE)
travis::use_travis_deploy()
library(devtools) devtools::test_coverage()
devtools::use_vignette("my-vignette")
usethis::use_testthat() usethis::use_test()
library(testthat) library(KoreaAddressAPI) test_check("KoreaAddressAPI") # # testthat::test_check("./tests") # testthat::testing_package()
# R library 패스 Sys.getenv("R_LIBS") .libPaths()
devtools::test()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.