Bug 272165 - math/R: using mgcv: Too many args to microtask: 16!
Summary: math/R: using mgcv: Too many args to microtask: 16!
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm64 Any
: --- Affects Some People
Assignee: Joseph Mingrone
URL:
Keywords:
: 272166 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-06-23 17:59 UTC by François Laissus
Modified: 2023-06-23 18:34 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (jrm)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description François Laissus 2023-06-23 17:59:21 UTC
FreeBSD 13.2 is running in virtual machine on arm64 (M1).

I've compiled /usr/ports/math/R after a fresh install with portsnap.

# This code is from 
# https://m-clark.github.io/generalized-additive-models/application.html

library('readr')
library('mgcv')

pisa = read.csv("https://raw.githubusercontent.com/m-clark/generalized-additive-models/master/data/pisasci2006.csv")

mod_gam1 = gam(Overall ~ s(Income, bs = "cr"), data = pisa)
Too many args to microtask: 16!

==> R program crashes

Same program is running fine on R-Studio on host (MacOS)
Comment 1 Mina Galić freebsd_triage 2023-06-23 18:10:30 UTC
*** Bug 272166 has been marked as a duplicate of this bug. ***
Comment 2 Joseph Mingrone freebsd_committer freebsd_triage 2023-06-23 18:25:22 UTC
I can only add a data point for now.  I tested the code on my FreeBSD CURRENT system (14.0-CURRENT ee67461e5682) running R-4.3.1 and it was fine.  Did you build R with default options?
Comment 3 François Laissus 2023-06-23 18:34:41 UTC
(In reply to Joseph Mingrone from comment #2)
answer is yes
cd /usr/ports/math/R; make ; make install 

Running R-4.3.1 too