tests/testthat/test-install.R

context("Test install.* functions")

if(is.windows()) {
   test_that("install.URL errors on multiple exe URLs", {
      expect_error(install.URL(c("https://dummy.url1", "https://dummy.url1")), "exe_URL is not a single URL")
   })
}

Try the installr package in your browser

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

installr documentation built on Nov. 13, 2022, 1:06 a.m.