Re: [Rd] Help with resolving non-API call warnings in Rust-based packages (ymd and fcl)

2025-04-14 Thread
Thanks. I confirmed the issue has been resolved by following the instructions in your link. Regards, Xianying Tan (shrektan) Replied Message | From | Josiah Parry | | Date | 04/15/2025 10:27 | | To | 谭显英 | | Cc | r-devel@r-project.org | | Subject | Re: [Rd] Help with resolving

[Rd] Help with resolving non-API call warnings in Rust-based packages (ymd and fcl)

2025-04-14 Thread
Dear R-devel list, I maintain two packages that use Rust code through the "extendr" library: ymd (https://github.com/shrektan/ymd) and fcl (https://github.com/shrektan/fcl) . These packages are currently at risk of being removed from CRAN due to calls to R's non-API functions. I've addressed

Re: [Rd] Strange Behavior in RNG

2024-08-17 Thread
Hi Jiefei, I don't believe there's an issue with the RNG (Random Number Generator). The unexpected result you're seeing is due to providing a float number to the rnorm() function, which expects an integer. When you input a float, R coerces it to an integer using as.integer(). This function trun