diff --git a/man/default_dialect.Rd b/man/default_dialect.Rd index cb7b5c7..3f29a58 100644 --- a/man/default_dialect.Rd +++ b/man/default_dialect.Rd @@ -15,6 +15,6 @@ a list specifying a default csv dialect } \description{ The \href{https://w3c.github.io/csvw/metadata/#dialect-descriptions}{CSVW Default Dialect specification} -described in \href{http://dataprotocols.org/csv-dialect/}{CSV Dialect Description Format}. +described in \href{https://specs.frictionlessdata.io/csv-dialect/}{CSV Dialect Description Format}. } \keyword{datasets} diff --git a/man/rcldf-package.Rd b/man/rcldf-package.Rd index 84fe15b..ddc1f74 100644 --- a/man/rcldf-package.Rd +++ b/man/rcldf-package.Rd @@ -4,7 +4,7 @@ \name{rcldf-package} \alias{rcldf} \alias{rcldf-package} -\title{rcldf: rcldf - Read Linguistic Data In The Cross Linguistic Data Format (CLDF)} +\title{rcldf: RCLDF - Read Linguistic Data In The Cross Linguistic Data Format (CLDF)} \description{ Reads Cross-Linguistic Data Files (CLDF) into R. } @@ -18,5 +18,9 @@ Useful links: \item Report bugs at \url{https://github.com/SimonGreenhill/rcldf/issues} } +} +\author{ +\strong{Maintainer}: Simon J. Greenhill \email{simon@simon.net.nz} + } \keyword{internal} diff --git a/tests/testthat/test_cache.R b/tests/testthat/test_cache.R new file mode 100644 index 0000000..2e5c249 --- /dev/null +++ b/tests/testthat/test_cache.R @@ -0,0 +1,4 @@ +test_that("test get_dir_size", { + expect_equal(get_dir_size("~/does/not/exist"), 0) + expect_equal(get_dir_size("examples/wals_1A_cldf/"), 13696) +}) \ No newline at end of file diff --git a/tests/testthat/test_get_details.R b/tests/testthat/test_get_details.R index f3cfc7f..d83fa80 100644 --- a/tests/testthat/test_get_details.R +++ b/tests/testthat/test_get_details.R @@ -5,5 +5,4 @@ test_that("test get_details", { expect_equal(df$Size, 13696) expect_equal(df$Citation, 'Cite me like this!') expect_equal(df$ConformsTo, 'http://cldf.clld.org/v1.0/terms.rdf#StructureDataset') - }) \ No newline at end of file