R/build.R

# You can learn more about package authoring with RStudio at:
#
#   http://r-pkgs.had.co.nz/
#
# Some useful keyboard shortcuts for package authoring:
#
#   Build and Reload Package:  'Ctrl + Shift + B'
#   Check Package:             'Ctrl + Shift + E'
#   Test Package:              'Ctrl + Shift + T'

# setup test
# devtools::use_testthat()
# devtools::use_package("snow")
# devtools::use_package("odbc")
# devtools::use_package("dplyr")
# Google's R Style Guide
# https://google.github.io/styleguide/Rguide.xml
# checks code style
# lintr::lint_package()

#Usage
#The easiest way to get started is with usethis. Assuming you’re in a package directory, just run #usethis::use_test("name") to create a test file, and set up all the other infrastructure you need. #If you’re using RStudio, press Cmd/Ctrl + Shift + T (or run devtools::test() if not) to run all #the tests in a package.
#library(usethis)
#use_test("my-test")
avitaliano/datrProfile documentation built on Aug. 1, 2019, 12:15 a.m.