From 1710ab3bc32af590521e25fa6a8a334e0c738915 Mon Sep 17 00:00:00 2001 From: Tan Date: Fri, 29 Dec 2023 14:11:45 -0500 Subject: [PATCH] fixes to pass r cmd check --- .Rbuildignore | 1 + DESCRIPTION | 2 ++ man/pb_download.Rd | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.Rbuildignore b/.Rbuildignore index b029964..3cd6e2c 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -14,6 +14,7 @@ ^\.manifest\.json$ ^data/.*$ ^\.Renviron$ +^\.Renviron-example$ ^appveyor\.yml$ ^CODE_OF_CONDUCT\.md$ ^onboarding-submission\.md$ diff --git a/DESCRIPTION b/DESCRIPTION index e40cf5d..da26aa9 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -44,6 +44,8 @@ Imports: rlang Suggests: spelling, + duckdbfs, + duckdb, readr, covr, testthat, diff --git a/man/pb_download.Rd b/man/pb_download.Rd index 89a10ff..9b0b082 100644 --- a/man/pb_download.Rd +++ b/man/pb_download.Rd @@ -65,7 +65,7 @@ Download data from an existing release list.files(dest) }) \dontshow{ - unlink(list.files(dest, full.names = TRUE)) + try(unlink(list.files(dest, full.names = TRUE))) } } }