#67299 closed defect (fixed)

R packages: occasionally select dependencies fail to be found, despite being installed [SOLVED, please close]

Reported by: barracuda156 Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: kjellpk (Kjell Konis), i0ntempest
Port: R

Description (last modified by ryandesign (Ryan Carsten Schmidt))

UPD. Apparently, the issue was that I had to keep R at 4.2.3 due to this: #67298 But R PG was updated to have 4.3.0.

Reverting R PG to 4.2.3 seems to fix everything.

_ Examples:

--->  Testing R-markovmix
* using log directory ‘/opt/local/var/macports/build/_opt_PPCRosettaPorts_R_R-markovmix/R-markovmix/work/markovmix/markovmix.Rcheck’
* using R version 4.2.3 (2023-03-15)
* using platform: powerpc-apple-darwin10.8.0 (32-bit)
* using session charset: UTF-8
* checking for file ‘markovmix/DESCRIPTION’ ... OK
* this is package ‘markovmix’ version ‘0.1.0’
* package encoding: UTF-8
* checking package namespace information ... OK
* checking package dependencies ... ERROR
Package suggested but not available: ‘ggplot2’

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

Also: https://github.com/husson/FactoMineR/issues/19 https://github.com/michaelhallquist/MplusAutomation/issues/186 I recall at least one more case with another package.

What goes wrong?

Change History (6)

comment:1 Changed 19 months ago by barracuda156

Looks like it is rather a package which is not found gets broken is some way rather than the other way round. Opened an issue with ggplot2, since its 3.4.2 is faulty: https://github.com/tidyverse/ggplot2/issues/5282

comment:2 Changed 19 months ago by barracuda156

Error is for sure on the side of packages which are not found. Like:

> library(fastDummies)
Error in library(fastDummies) : there is no package called ‘fastDummies’

Wonder what goes wrong.

comment:3 Changed 19 months ago by barracuda156

Description: modified (diff)
Summary: R packages: occasionally select dependencies fail to be found, despite being installedR packages: occasionally select dependencies fail to be found, despite being installed [SOLVED, please close]

comment:4 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign removed
Description: modified (diff)

I don't know anything about R, sorry.

comment:5 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: kjellpk added

comment:6 Changed 10 months ago by barracuda156

Owner: set to barracuda156
Resolution: fixed
Status: newclosed

In 8e1c254a76374311fdae4d183d1b687abc521337/macports-ports (master):

R PG: fix port phases following Macports update to 2.9.0

Fixes: #69211
Fixes: #67282
Closes: #67229
Closes: #67299

Note: See TracTickets for help on using tickets.