Re: [R-pkg-devel] Failed: Future File Timestamp Check

2025-02-07 Thread Michael Chirico
Actually, it looks like R CMD check has _intended_ to just skip in the case the website is misbehaving: https://github.com/r-devel/r-svn/blob/3578a3f858136a8abcd2f708f38a8dff6225ec42/src/library/tools/R/check.R#L549-L552 My guess is this test should be improved, currently we get (logical) NA if t

Re: [R-pkg-devel] Failed: Future File Timestamp Check

2025-02-07 Thread Greg Hunt
Does all this mean that the check is not handling its own errors? On Sat, 8 Feb 2025 at 8:28 AM, Henrik Bengtsson wrote: > > It has to have the "datetime" entry. If you can't fix your network you > can skip that test with > > > > _R_CHECK_FUTURE_FILE_TIMESTAMPS_=FALSE > > I'm quite sure that is

Re: [R-pkg-devel] Failed: Future File Timestamp Check

2025-02-07 Thread Henrik Bengtsson
> It has to have the "datetime" entry. If you can't fix your network you can > skip that test with > > _R_CHECK_FUTURE_FILE_TIMESTAMPS_=FALSE I'm quite sure that is overridden 'R CMD check' when using the --as-cran flag. The workaround that I have found is to set environment variable: _R_CHECK_S

Re: [R-pkg-devel] How to solve this error while running python script in R environment?

2025-02-07 Thread Ivan Krylov via R-package-devel
В Fri, 7 Feb 2025 06:51:27 + KABILAN S пишет: > > result <- TRANSFORMER(df = S_P_500_Close_data, study_variable = > > "Price") > Error: Valid installation of TensorFlow not found. > > Python environments searched for 'tensorflow' package: > C:\Users\CRAN\Documents\.virtualenvs\r-reticulat

Re: [R-pkg-devel] [External] 'library' or 'require' call not declared

2025-02-07 Thread Dirk Eddelbuettel
On 7 February 2025 at 11:15, Duncan Murdoch wrote: | On 2025-02-07 10:09 a.m., Dirk Eddelbuettel wrote: | > | > On 7 February 2025 at 05:05, Richard M. Heiberger wrote: | > | Michael and Brian. | > | | > | thank you | > | exactly correct. | > | > For completeness: this check is a fairly recent

Re: [R-pkg-devel] [External] 'library' or 'require' call not declared

2025-02-07 Thread Duncan Murdoch
On 2025-02-07 10:09 a.m., Dirk Eddelbuettel wrote: On 7 February 2025 at 05:05, Richard M. Heiberger wrote: | Michael and Brian. | | thank you | exactly correct. For completeness: this check is a fairly recent addition to r-devel and hence a 'policy change'. I don't think it's a policy chang

Re: [R-pkg-devel] How to solve this error while running python script in R environment?

2025-02-07 Thread Michael Dewey
Have you got tensorflow installed somewhere where R knows about it? Michael On 07/02/2025 06:51, KABILAN S wrote: When I am creating the R package based on the python script, I am getting the below error while checking the package. * checking examples ... [60s] ERROR Running examples in 'tra

Re: [R-pkg-devel] [External] 'library' or 'require' call not declared

2025-02-07 Thread Dirk Eddelbuettel
On 7 February 2025 at 05:05, Richard M. Heiberger wrote: | Michael and Brian. | | thank you | exactly correct. For completeness: this check is a fairly recent addition to r-devel and hence a 'policy change'. Dirk -- dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org ___

[R-pkg-devel] How to solve this error while running python script in R environment?

2025-02-07 Thread KABILAN S
When I am creating the R package based on the python script, I am getting the below error while checking the package. * checking examples ... [60s] ERROR Running examples in 'transformerForecasting-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "Chec