tests/testthat/test-use-make.R

context("use_makefile")

test_that("use_make() creates a Makefile at project root", {
  pkg <- scoped_temporary_package()
  use_make()
  expect_proj_file("Makefile")
})

Try the usethis package in your browser

Any scripts or data that you put into this service are public.

usethis documentation built on July 4, 2019, 5:05 p.m.