Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Dependencies are not found when running tests #40

Open
barracuda156 opened this issue Aug 14, 2023 · 0 comments
Open

Dependencies are not found when running tests #40

barracuda156 opened this issue Aug 14, 2023 · 0 comments

Comments

@barracuda156
Copy link

--->  Configuring R-matric
Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_R_R-matric/R-matric/work/matric-0.2.0" && /opt/local/bin/R CMD build . --no-manual --no-build-vignettes 
# Bootstrapping renv 0.16.0 --------------------------------------------------
* Downloading renv 0.16.0 ... OK
* Installing renv 0.16.0 ... Done!
* Successfully installed and loaded renv 0.16.0.
ℹ Using R 4.3.1 (lockfile was generated with R 4.1.2)
* checking for file ‘./DESCRIPTION’ ... OK
* preparing ‘matric’:
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
* building ‘matric_0.2.0.tar.gz’

--->  Building R-matric
--->  Testing R-matric
ℹ Using R 4.3.1 (lockfile was generated with R 4.1.2)
* using log directory ‘/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_R_R-matric/R-matric/work/matric-0.2.0/matric.Rcheck’
* using R version 4.3.1 (2023-06-16)
* using platform: powerpc-apple-darwin10.0.0d2 (32-bit)
* R was compiled by
    gcc-mp-12 (MacPorts gcc12 12.3.0_0) 12.3.0
    GNU Fortran (MacPorts gcc12 12.3.0_0) 12.3.0
* running under: OS X Snow Leopard 10.6
* using session charset: UTF-8
* checking for file ‘matric/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘matric’ version ‘0.2.0’
* package encoding: UTF-8
* checking package namespace information ... OK
* checking package dependencies ... ERROR
Packages required but not available:
  'arrow', 'dplyr', 'magrittr', 'tibble', 'tidyr', 'readr', 'jsonlite',
  'glue', 'purrr', 'ggplot2', 'stringr', 'rlang', 'yardstick',
  'foreach', 'logger', 'furrr', 'future'

Packages suggested but not available:
  'testthat', 'covr', 'knitr', 'markdown', 'rmarkdown', 'roxygen2'

VignetteBuilder package required for checking but not installed: ‘knitr’

The suggested packages are required for a complete check.
Checking can be attempted without them by setting the environment
variable _R_CHECK_FORCE_SUGGESTS_ to a false value.

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
* DONE

Status: 1 ERROR
See
  ‘/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_R_R-matric/R-matric/work/matric-0.2.0/matric.Rcheck/00check.log’
for details.

Command failed: /opt/local/bin/R CMD check ./matric_0.2.0.tar.gz
Exit code: 1

In reality all these packages are installed, in latest versions, and their dependencies work fine. That is, only matric do not find them.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant