tests/testthat/test-download_ffmpeg.R

test_that("download_ffmpeg() returns a valid path", {
  if (Sys.getenv("NOT_CRAN") != "true") {
    skip("Skipping FFmpeg download test on CRAN")
  }

  ffmpeg_path <- download_ffmpeg()

  if (!file.exists(ffmpeg_path)) {
    skip("FFmpeg not found. Skipping test.")
  }

  expect_true(file.exists(ffmpeg_path))
})

Try the LJmp3converter package in your browser

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

LJmp3converter documentation built on April 4, 2025, 12:29 a.m.