Skip to content

r-marginaleffects: adding version 0.32.0#323

Merged
shun2wang merged 1 commit intoBioArchLinux:masterfrom
bshor:r-marginaleffects
May 9, 2026
Merged

r-marginaleffects: adding version 0.32.0#323
shun2wang merged 1 commit intoBioArchLinux:masterfrom
bshor:r-marginaleffects

Conversation

@bshor
Copy link
Copy Markdown
Contributor

@bshor bshor commented May 8, 2026

Add the CRAN package marginaleffects 0.32.0.

marginaleffects computes predictions, comparisons, slopes, marginal means, and hypothesis tests for many R model classes.

Verification:

  • makepkg --verifysource
  • makepkg -f

r-generics
r-insight
r-rlang
)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think optdpends are needed

Comment on lines +1 to +12
#!/usr/bin/env python3
from lilaclib import *

def pre_build():
for line in edit_file('PKGBUILD'):
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))

def post_build():
git_pkgbuild_commit()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
for line in edit_file('PKGBUILD'):
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build():
git_pkgbuild_commit()
#!/usr/bin/env python3
from lilaclib import *
import os
import sys
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
from lilac_r_utils import r_pre_build
def pre_build():
r_pre_build(_G)
def post_build():
git_pkgbuild_commit()

@bshor bshor force-pushed the r-marginaleffects branch from 1273853 to 8e2aff4 Compare May 8, 2026 13:29
@bshor
Copy link
Copy Markdown
Contributor Author

bshor commented May 8, 2026

Thanks. I updated the PR to address both review points:

  • added optdepends from CRAN Suggests, excluding packages provided by base r
  • switched lilac.py to the shared lilac_r_utils.r_pre_build(_G) helper

Verification:

  • python -m py_compile BioArchLinux/r-marginaleffects/lilac.py
  • makepkg -f --verifysource
  • makepkg -f

@shun2wang shun2wang merged commit d24ff2a into BioArchLinux:master May 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants