diff --git a/.Rbuildignore b/.Rbuildignore index c592c34..fba6598 100755 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -11,3 +11,4 @@ ^vignettes/.*/.*\.png$ ^LICENSE\.md$ ^\.github$ +^CRAN-SUBMISSION$ diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml new file mode 100644 index 0000000..562fe0f --- /dev/null +++ b/.github/workflows/R-CMD-check.yaml @@ -0,0 +1,51 @@ +# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples +# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help +on: + push: + branches: [main, master] + pull_request: + +name: R-CMD-check.yaml + +permissions: read-all + +jobs: + R-CMD-check: + runs-on: ${{ matrix.config.os }} + + name: ${{ matrix.config.os }} (${{ matrix.config.r }}) + + strategy: + fail-fast: false + matrix: + config: + - {os: macos-latest, r: 'release'} + - {os: windows-latest, r: 'release'} + - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} + - {os: ubuntu-latest, r: 'release'} + - {os: ubuntu-latest, r: 'oldrel-1'} + + env: + GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} + R_KEEP_PKG_SOURCE: yes + + steps: + - uses: actions/checkout@v4 + + - uses: r-lib/actions/setup-pandoc@v2 + + - uses: r-lib/actions/setup-r@v2 + with: + r-version: ${{ matrix.config.r }} + http-user-agent: ${{ matrix.config.http-user-agent }} + use-public-rspm: true + + - uses: r-lib/actions/setup-r-dependencies@v2 + with: + extra-packages: any::rcmdcheck + needs: check + + - uses: r-lib/actions/check-r-package@v2 + with: + upload-snapshots: true + build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")' diff --git a/.github/workflows/R-CMD-check.yml b/.github/workflows/R-CMD-check.yml deleted file mode 100644 index 687f495..0000000 --- a/.github/workflows/R-CMD-check.yml +++ /dev/null @@ -1,58 +0,0 @@ -# Workflow derived from https://github.com/r-lib/actions/tree/master/examples -# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help -on: [push, pull_request] - -name: R-CMD-check - -jobs: - R-CMD-check: - runs-on: ${{ matrix.config.os }} - - name: ${{ matrix.config.os }} (${{ matrix.config.r }}) - - strategy: - fail-fast: false - matrix: - config: - - {os: macOS-latest, r: 'devel'} - - {os: macOS-latest, r: 'release'} - - {os: macOS-latest, r: 'oldrel'} - - {os: windows-latest, r: 'devel'} - - {os: windows-latest, r: 'release'} - - {os: windows-latest, r: 'oldrel'} - - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} - - {os: ubuntu-latest, r: 'release'} - - {os: ubuntu-latest, r: 'oldrel-1'} - - env: - GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - R_KEEP_PKG_SOURCE: yes - - steps: - - uses: actions/checkout@v2 - - - uses: r-lib/actions/setup-pandoc@v1 - - - uses: r-lib/actions/setup-r@v1 - with: - r-version: ${{ matrix.config.r }} - http-user-agent: ${{ matrix.config.http-user-agent }} - use-public-rspm: true - - - uses: r-lib/actions/setup-r-dependencies@v1 - with: - extra-packages: rcmdcheck - - - uses: r-lib/actions/check-r-package@v1 - - - name: Show testthat output - if: always() - run: find check -name 'testthat.Rout*' -exec cat '{}' \; || true - shell: bash - - - name: Upload check results - if: failure() - uses: actions/upload-artifact@main - with: - name: ${{ runner.os }}-r${{ matrix.config.r }}-results - path: check diff --git a/.github/workflows/test_coverage.yml b/.github/workflows/test_coverage.yml deleted file mode 100644 index 3514f48..0000000 --- a/.github/workflows/test_coverage.yml +++ /dev/null @@ -1,26 +0,0 @@ -# Workflow derived from https://github.com/r-lib/actions/tree/master/examples -# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help -on: [push, pull_request] - -name: test-coverage - -jobs: - test-coverage: - runs-on: ubuntu-latest - env: - GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - - steps: - - uses: actions/checkout@v2 - - - uses: r-lib/actions/setup-r@v1 - with: - use-public-rspm: true - - - uses: r-lib/actions/setup-r-dependencies@v1 - with: - extra-packages: covr - - - name: Test coverage - run: covr::codecov() - shell: Rscript {0} diff --git a/DESCRIPTION b/DESCRIPTION index fb5d70c..cfd6a6e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,21 +1,21 @@ Package: dynutils Type: Package Title: Common Functionality for the 'dynverse' Packages -Version: 1.0.11 +Version: 1.0.12 Authors@R: c( person( "Robrecht", "Cannoodt", email = "rcannood@gmail.com", role = c("aut", "cre"), - comment = c(ORCID = "0000-0003-3641-729X", github = "rcannood") + comment = c(ORCID = "0000-0003-3641-729X") ), person( "Wouter", "Saelens", email = "wouter.saelens@gmail.com", role = c("aut"), - comment = c(ORCID = "0000-0002-7114-6248", github = "zouter") + comment = c(ORCID = "0000-0002-7114-6248") ) ) Description: @@ -25,7 +25,7 @@ Description: License: MIT + file LICENSE URL: https://github.com/dynverse/dynutils BugReports: https://github.com/dynverse/dynutils/issues -RoxygenNote: 7.2.1 +RoxygenNote: 7.3.2 Depends: R (>= 3.0.0) Imports: diff --git a/NEWS.md b/NEWS.md index 7df6f61..3b95ad0 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,7 @@ +# dynutils 1.0.12 + +* DOCUMENTATION: Fix roxygen docs (PR #36). + # dynutils 1.0.11 * MINOR CHANGE: Always set `use_nan` to `TRUE`. Replace NaNs with 0 for `calculate_similarity()`. diff --git a/R/mapdf.R b/R/mapdf.R index 45de605..c9f5728 100644 --- a/R/mapdf.R +++ b/R/mapdf.R @@ -12,7 +12,7 @@ mapdf_fun <- function(purrrfun) { #' Apply a function to each row of a data frame #' #' The mapdf functions transform their input by applying a function to each row of a data frame and returning a vector the same length as the input. -#' These functions work a lot like purrr's [map()] functions. +#' These functions work a lot like purrr's `map()` functions. #' #' * `mapdf()` always returns a list. #' diff --git a/README.Rmd b/README.Rmd index 759b36e..debbed4 100644 --- a/README.Rmd +++ b/README.Rmd @@ -13,10 +13,10 @@ set.seed(1) # dynutils -[![Build Status](https://travis-ci.org/dynverse/dynutils.svg?branch=master)](https://travis-ci.org/dynverse/dynutils) -[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/dynverse/dynutils?branch=master&svg=true)](https://ci.appveyor.com/project/dynverse/dynutils) + + [![R-CMD-check](https://github.com/dynverse/dynutils/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/dynverse/dynutils/actions/workflows/R-CMD-check.yaml) [![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/dynutils)](https://cran.r-project.org/package=dynutils) -[![Coverage Status](https://app.codecov.io/gh/dynverse/dynutils/branch/master/graph/badge.svg)](https://app.codecov.io/gh/dynverse/dynutils?branch=master) + Provides common functionality for the dynverse packages. An overview of this functionality is available using the `?dynutils` command or in the [examples vignette](https://CRAN.R-project.org/package=dynutils/vignettes/functionality.html). diff --git a/README.md b/README.md index 59df08c..2dc1b0b 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,10 @@ # dynutils -[![Build -Status](https://travis-ci.org/dynverse/dynutils.svg?branch=master)](https://travis-ci.org/dynverse/dynutils) -[![AppVeyor Build -Status](https://ci.appveyor.com/api/projects/status/github/dynverse/dynutils?branch=master&svg=true)](https://ci.appveyor.com/project/dynverse/dynutils) + +[![R-CMD-check](https://github.com/dynverse/dynutils/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/dynverse/dynutils/actions/workflows/R-CMD-check.yaml) [![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/dynutils)](https://cran.r-project.org/package=dynutils) -[![Coverage -Status](https://app.codecov.io/gh/dynverse/dynutils/branch/master/graph/badge.svg)](https://app.codecov.io/gh/dynverse/dynutils?branch=master) + Provides common functionality for the dynverse packages. An overview of this functionality is available using the `?dynutils` command or in the diff --git a/cran-comments.md b/cran-comments.md index af50994..7cb266c 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,9 +1,6 @@ -# dynutils 1.0.11 +# dynutils 1.0.12 -Apologies for the quick resubmission. This version release is a bug fix for the changes -made in the previous release. - -* BUG FIX: Also pass `use_nan` from `calculate_distance()` to `calculate_similarity()`. +Fix CRAN notes. ## Test environments * local Fedora installation, R release @@ -13,7 +10,7 @@ made in the previous release. ## R CMD check results ``` -── R CMD check results ──────────────────────────────────── dynutils 1.0.11 ──── +── R CMD check results ──────────────────────────────────── dynutils 1.0.12 ──── Duration: 53.4s 0 errors ✔ | 0 warnings ✔ | 0 notes ✔ @@ -21,25 +18,3 @@ Duration: 53.4s R CMD check succeeded ``` -## Reverse dependencies - -A reverse dependency check was run on all downstream dependencies. -(Summary at [revdep/README.md](revdep/README.md)). No new problems were found. - -``` -> revdepcheck::revdep_check(timeout = as.difftime(600, units = "mins"), num_workers = 30) -── CHECK ──────────────────────────────────────────────────────── 10 packages ── -✔ dynwrap 1.2.2 ── E: 1 | W: 0 | N: 0 -I dynfeature 1.0.0 ── E: 1 | W: 0 | N: 0 -✔ babelwhale 1.1.0 ── E: 1 | W: 0 | N: 0 -I SCORPIUS 1.0.8 ── E: 1 | W: 0 | N: 0 -✔ dynparam 1.0.2 ── E: 0 | W: 0 | N: 1 -✔ dynplot 1.1.2 ── E: 1 | W: 0 | N: 0 -✔ lmds 0.1.0 ── E: 0 | W: 0 | N: 2 -✔ dyngen 1.0.3 ── E: 1 | W: 0 | N: 0 -✔ GillespieSSA2 0.2.10 ── E: 0 | W: 0 | N: 1 -✔ dyndimred 1.0.4 ── E: 0 | W: 0 | N: 2 -OK: 10 -BROKEN: 0 -Total time: 4 min -``` diff --git a/man/add_class.Rd b/man/add_class.Rd index 8cef4b5..7001311 100644 --- a/man/add_class.Rd +++ b/man/add_class.Rd @@ -7,7 +7,7 @@ add_class(x, class) } \arguments{ -\item{x}{a \R object} +\item{x}{an \R object.} \item{class}{A character vector naming classes} } diff --git a/man/calculate_distance.Rd b/man/calculate_distance.Rd index cca54a1..b2d0cfe 100644 --- a/man/calculate_distance.Rd +++ b/man/calculate_distance.Rd @@ -44,8 +44,8 @@ indicates rows or 2 indicates columns.} similarity/distance matrix; useful when comparing corresponding rows or columns of \code{x} and \code{y}.} -\item{drop0}{if \code{TRUE}, zero values are removed regardless of -\code{min_simil} or \code{rank}.} +\item{drop0}{if \code{TRUE}, removes zero values to make the +similarity/distance matrix sparse. It has no effect when \code{dense = TRUE}.} } \description{ These matrices can be dense or sparse. diff --git a/man/dynutils.Rd b/man/dynutils.Rd index 902e907..a25a9b8 100644 --- a/man/dynutils.Rd +++ b/man/dynutils.Rd @@ -2,6 +2,7 @@ % Please edit documentation in R/package.R \docType{package} \name{dynutils} +\alias{dynutils-package} \alias{dynutils} \title{Common functionality for the dynverse packages} \description{ @@ -99,3 +100,20 @@ For more information, check out \href{https://dynverse.org}{dynverse.org}. } } +\seealso{ +Useful links: +\itemize{ + \item \url{https://github.com/dynverse/dynutils} + \item Report bugs at \url{https://github.com/dynverse/dynutils/issues} +} + +} +\author{ +\strong{Maintainer}: Robrecht Cannoodt \email{rcannood@gmail.com} (\href{https://orcid.org/0000-0003-3641-729X}{ORCID}) + +Authors: +\itemize{ + \item Wouter Saelens \email{wouter.saelens@gmail.com} (\href{https://orcid.org/0000-0002-7114-6248}{ORCID}) +} + +} diff --git a/man/mapdf.Rd b/man/mapdf.Rd index 9f975be..f69cf72 100644 --- a/man/mapdf.Rd +++ b/man/mapdf.Rd @@ -37,11 +37,23 @@ walkdf(.x, .f, ...) If a function, the first argument will be the row as a list. If a formula, e.g. \code{~ .$a}, the \code{.} is a placeholder for the row as a list.} -\item{...}{Additional arguments passed on to the mapped function.} +\item{...}{Additional arguments passed on to the mapped function. + +We now generally recommend against using \code{...} to pass additional +(constant) arguments to \code{.f}. Instead use a shorthand anonymous function: + +\if{html}{\out{
}}\preformatted{# Instead of +x |> map(f, 1, 2, collapse = ",") +# do: +x |> map(\\(x) f(x, 1, 2, collapse = ",")) +}\if{html}{\out{
}} + +This makes it easier to understand which arguments belong to which +function and will tend to yield better error messages.} } \description{ The mapdf functions transform their input by applying a function to each row of a data frame and returning a vector the same length as the input. -These functions work a lot like purrr's \code{\link[=map]{map()}} functions. +These functions work a lot like purrr's \code{map()} functions. } \details{ \itemize{ diff --git a/revdep/README.md b/revdep/README.md deleted file mode 100644 index 49e104f..0000000 --- a/revdep/README.md +++ /dev/null @@ -1,65 +0,0 @@ -# Platform - -|field |value | -|:--------|:-----------------------------------------------------------| -|version |R version 4.1.3 (2022-03-10) | -|os |Fedora Linux 35 (Workstation Edition) | -|system |x86_64, linux-gnu | -|ui |RStudio | -|language |(EN) | -|collate |en_GB.UTF-8 | -|ctype |en_GB.UTF-8 | -|tz |Europe/Brussels | -|date |2022-09-26 | -|rstudio |2022.02.3+492 Prairie Trillium (desktop) | -|pandoc |2.14.0.3 @ /usr/libexec/rstudio/bin/pandoc/ (via rmarkdown) | - -# Dependencies - -|package |old |new |Δ | -|:-------------|:----------|:----------|:--| -|dynutils |1.0.10 |1.0.11 |* | -|assertthat |0.2.1 |0.2.1 | | -|cli |3.4.1 |3.4.1 | | -|crayon |1.5.1 |1.5.1 | | -|desc |1.4.2 |1.4.2 | | -|dplyr |1.0.10 |1.0.10 | | -|ellipsis |0.3.2 |0.3.2 | | -|fansi |1.0.3 |1.0.3 | | -|generics |0.1.3 |0.1.3 | | -|glue |NA |1.6.2 |* | -|lifecycle |1.0.2 |1.0.2 | | -|magrittr |NA |2.0.3 |* | -|pillar |1.8.1 |1.8.1 | | -|pkgconfig |2.0.3 |2.0.3 | | -|proxyC |0.3.2 |0.3.2 | | -|purrr |0.3.4 |0.3.4 | | -|R6 |2.5.1 |2.5.1 | | -|Rcpp |1.0.9 |1.0.9 | | -|RcppArmadillo |0.11.2.4.0 |0.11.2.4.0 | | -|RcppParallel |5.1.5 |5.1.5 | | -|remotes |2.4.2 |2.4.2 | | -|rlang |1.0.6 |1.0.6 | | -|rprojroot |2.0.3 |2.0.3 | | -|stringi |NA |1.7.8 |* | -|stringr |NA |1.4.1 |* | -|tibble |3.1.8 |3.1.8 | | -|tidyselect |1.1.2 |1.1.2 | | -|utf8 |1.2.2 |1.2.2 | | -|vctrs |0.4.1 |0.4.1 | | - -# Revdeps - -## Failed to check (2) - -|package |version |error |warning |note | -|:----------|:-------|:-----|:-------|:----| -|dynfeature |1.0.0 |1 | | | -|SCORPIUS |1.0.8 |1 | | | - -## New problems (1) - -|package |version |error |warning |note | -|:-------|:-------|:------|:-------|:----| -|[lmds](problems.md#lmds)|0.1.0 |__+2__ | |2 | - diff --git a/revdep/cran.md b/revdep/cran.md deleted file mode 100644 index bbbd929..0000000 --- a/revdep/cran.md +++ /dev/null @@ -1,20 +0,0 @@ -## revdepcheck results - -We checked 10 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package. - - * We saw 1 new problems - * We failed to check 2 packages - -Issues with CRAN packages are summarised below. - -### New problems -(This reports the first line of each new failure) - -* lmds - checking examples ... ERROR - checking tests ... - -### Failed to check - -* dynfeature (NA) -* SCORPIUS (NA) diff --git a/revdep/data.sqlite b/revdep/data.sqlite deleted file mode 100644 index b05ff5a..0000000 Binary files a/revdep/data.sqlite and /dev/null differ diff --git a/revdep/failures.md b/revdep/failures.md deleted file mode 100644 index 907ea1a..0000000 --- a/revdep/failures.md +++ /dev/null @@ -1,124 +0,0 @@ -# dynfeature - -
- -* Version: 1.0.0 -* GitHub: NA -* Source code: https://github.com/cran/dynfeature -* Date/Publication: 2021-06-14 07:30:12 UTC -* Number of recursive dependencies: 121 - -Run `revdep_details(, "dynfeature")` for more info - -
- -## In both - -* checking whether package ‘dynfeature’ can be installed ... ERROR - ``` - Installation failed. - See ‘/home/rcannood/workspace/vib/dynutils/revdep/checks/dynfeature/new/dynfeature.Rcheck/00install.out’ for details. - ``` - -## Installation - -### Devel - -``` -* installing *source* package ‘dynfeature’ ... -** package ‘dynfeature’ successfully unpacked and MD5 sums checked -** using staged installation -** R -** inst -** byte-compile and prepare package for lazy loading -Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : - there is no package called ‘igraph’ -Calls: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart -Execution halted -ERROR: lazy loading failed for package ‘dynfeature’ -* removing ‘/home/rcannood/workspace/vib/dynutils/revdep/checks/dynfeature/new/dynfeature.Rcheck/dynfeature’ - - -``` -### CRAN - -``` -* installing *source* package ‘dynfeature’ ... -** package ‘dynfeature’ successfully unpacked and MD5 sums checked -** using staged installation -** R -** inst -** byte-compile and prepare package for lazy loading -Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : - there is no package called ‘igraph’ -Calls: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart -Execution halted -ERROR: lazy loading failed for package ‘dynfeature’ -* removing ‘/home/rcannood/workspace/vib/dynutils/revdep/checks/dynfeature/old/dynfeature.Rcheck/dynfeature’ - - -``` -# SCORPIUS - -
- -* Version: 1.0.8 -* GitHub: https://github.com/rcannood/SCORPIUS -* Source code: https://github.com/cran/SCORPIUS -* Date/Publication: 2021-06-09 12:40:02 UTC -* Number of recursive dependencies: 121 - -Run `revdep_details(, "SCORPIUS")` for more info - -
- -## In both - -* checking whether package ‘SCORPIUS’ can be installed ... ERROR - ``` - Installation failed. - See ‘/home/rcannood/workspace/vib/dynutils/revdep/checks/SCORPIUS/new/SCORPIUS.Rcheck/00install.out’ for details. - ``` - -## Installation - -### Devel - -``` -* installing *source* package ‘SCORPIUS’ ... -** package ‘SCORPIUS’ successfully unpacked and MD5 sums checked -** using staged installation -** R -** data -*** moving datasets to lazyload DB -** inst -** byte-compile and prepare package for lazy loading -Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : - there is no package called ‘igraph’ -Calls: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart -Execution halted -ERROR: lazy loading failed for package ‘SCORPIUS’ -* removing ‘/home/rcannood/workspace/vib/dynutils/revdep/checks/SCORPIUS/new/SCORPIUS.Rcheck/SCORPIUS’ - - -``` -### CRAN - -``` -* installing *source* package ‘SCORPIUS’ ... -** package ‘SCORPIUS’ successfully unpacked and MD5 sums checked -** using staged installation -** R -** data -*** moving datasets to lazyload DB -** inst -** byte-compile and prepare package for lazy loading -Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : - there is no package called ‘igraph’ -Calls: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart -Execution halted -ERROR: lazy loading failed for package ‘SCORPIUS’ -* removing ‘/home/rcannood/workspace/vib/dynutils/revdep/checks/SCORPIUS/old/SCORPIUS.Rcheck/SCORPIUS’ - - -``` diff --git a/revdep/problems.md b/revdep/problems.md deleted file mode 100644 index fd8d8f4..0000000 --- a/revdep/problems.md +++ /dev/null @@ -1,77 +0,0 @@ -# lmds - -
- -* Version: 0.1.0 -* GitHub: https://github.com/dynverse/lmds -* Source code: https://github.com/cran/lmds -* Date/Publication: 2019-09-27 09:10:02 UTC -* Number of recursive dependencies: 47 - -Run `revdep_details(, "lmds")` for more info - -
- -## Newly broken - -* checking examples ... ERROR - ``` - Running examples in ‘lmds-Ex.R’ failed - The error most likely occurred in: - - > ### Name: cmdscale_landmarks - > ### Title: Perform MDS on landmarks and project other samples to the same - > ### space - > ### Aliases: cmdscale_landmarks - > - > ### ** Examples - > - ... - > x <- as.matrix(iris[,1:4]) - > dist_2lm <- select_landmarks(x) - > cmdscale_landmarks(dist_2lm) - Warning in irlba(x, n, ...) : - convergence criterion below machine epsilon - Warning in irlba(x, n, ...) : - did not converge--results might be invalid!; try increasing work or maxit - Error in if (all(s > 0)) { : missing value where TRUE/FALSE needed - Calls: cmdscale_landmarks -> - Execution halted - ``` - -* checking tests ... - ``` - Running ‘testthat.R’ - ERROR - Running the tests in ‘tests/testthat.R’ failed. - Last 13 lines of output: - 14/22500 mismatches (average diff: NaN) - [903] 0 - NaN == NaN - [1171] 0 - NaN == NaN - [1524] 0 - NaN == NaN - [4194] 0 - NaN == NaN - [7804] 0 - NaN == NaN - [8911] 0 - NaN == NaN - [10452] 0 - NaN == NaN - [12188] 0 - NaN == NaN - [13271] 0 - NaN == NaN - ... - - [ FAIL 7 | WARN 8 | SKIP 0 | PASS 11 ] - Error: Test failures - Execution halted - ``` - -## In both - -* checking dependencies in R code ... NOTE - ``` - Namespace in Imports field not imported from: ‘Matrix’ - All declared Imports should be used. - ``` - -* checking LazyData ... NOTE - ``` - 'LazyData' is specified without a 'data' directory - ``` -