Code Monkey home page Code Monkey logo

matric's People

Contributors

shntnu avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

rnaimehaom

matric's Issues

Dependencies are not found when running tests

--->  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.

Release matric 0.2.0

First release:

Prepare for release:

  • git pull
  • Check if any deprecation processes should be advanced, as described in Gradual deprecation
  • devtools::build_readme()
  • urlchecker::url_check()
  • devtools::check(remote = TRUE, manual = TRUE)
  • devtools::check_win_devel()
  • rhub::check_for_cran() --> Skipped because they took forever (will try later)
  • git push
    Draft blog post

Submit to CRAN:

  • usethis::use_version('minor')
  • devtools::submit_cran()
  • Approve email

Wait for CRAN...

  • Accepted 🎉
  • git push
  • usethis::use_github_release()
  • usethis::use_dev_version()
  • usethis::use_news_md()
  • git push
    Finish blog post
    Tweet
    Add link to blog post in pkgdown news menu

foreach not used(?)

Hello and congrats to the CRAN release.

I'm tracking reverse dependencies of the 'future' package and looking in how it's being used. While doing this I noticed that 'matric' imports from 'foreach', but from a code search it looks like its not used. Is that a leftover from the past?

Fix R CMD check failing because of pandoc availability

Something broke when going from knitr 1.33 -> 1.34

yihui/knitr@9a80a00

Logs:

Look out for updates in yihui/knitr#1864 and figure out what to do

I already have markdown and rmarkdown in Suggests
https://github.com/shntnu/matric/blob/16b8ad51e9dbd6d600ffd4e62bc839a74c3511cc/DESCRIPTION#L36-L37
so I'm not sure what to do here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.