Skip to content

Commit

Permalink
skip test on CRAN
Browse files Browse the repository at this point in the history
Do not know if package are manually installed or not
  • Loading branch information
statnmap committed Nov 10, 2021
1 parent 7dd1090 commit ab906f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testthat/test-to-description.R
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ dummypackage <- file.path(tmpdir, "dummypackage")

test_that("set_remotes_to_desc return nothing if local installs", {

skip_on_cran()
# We do not know whether some packages are installed manually from source on CRAN

pkgs <- att_amend_desc(dummypackage) %>%
att_from_description()
remotes <- find_remotes(pkgs)
Expand Down

0 comments on commit ab906f9

Please sign in to comment.