Deprecating xfun::isFALSE() | /en/2023/02/xfun-isfalse/ #1470
Replies: 7 comments 23 replies
-
谢老师您好,感谢您在RMarkdorn等诸多领域的贡献!我是一名来自中国的学生,希望向您请教一个问题:我最近在写一个计量经济学领域的R package,我比较确定我所写的函数没有用到xfun::isFALSE,但是在我进行devtolls::check()时,总是会返回错误 |
Beta Was this translation helpful? Give feedback.
-
Hello. I have the same problem. The worst is that I do not know what I should change of my .Rmd to not call xfun::isFALSE(). Any help? |
Beta Was this translation helpful? Give feedback.
-
Same problem. Re-installed devtools, to no avail. |
Beta Was this translation helpful? Give feedback.
-
Good news, Yihui! Updating the packages seems to have worked. At least the error message no longer appears, and "post hoc ergo propter hoc." :-) Thanks very much. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, there is a postscript. :-( With the "updated" files (reason for the quote marks below), I started getting error messages from R CMD check --as-cran "there is no package 'tufte'" regarding the vignettes. This on both Mac and Linux. But I also had a brand new Mac, and after installing everything, it ran fine, no error messages. So apparently "updating" had not been thorough, or something. Anyway, I built on the new machine, and submitted to CRAN. But sure enough, Uwe's message then informed me that the missing-tufte problem had occurred on both Windows and Debian. Were the CRAN machines also not updated? Of course, I can remove the tufte stuff from the vignettes, but as you can understand :-) I hate to do so. Great package! The package, BTW, is at github.com/matloff/qeML, if you are curious. |
Beta Was this translation helpful? Give feedback.
-
Hi @yihui, we hit this issue in our company's pipelines because we run This doesn't seem like a "deprecation", it's a backward incompatibility, because things that used to work no longer work, right? A deprecation would give people a period of time to switch off the implementation, emitting a warning (or not) in the meantime. Aside from that - is there any real pressing need to deprecate/remove this? Instead of removing it, could it just be turned into a pass-through to |
Beta Was this translation helpful? Give feedback.
-
Hi, I cannot understand what is going in my package. if I run the cmd check from workbench's console I did not get any error while when running the check into the pipeline to create and pull the package to package manager I get the error. can you tell me why? thank you |
Beta Was this translation helpful? Give feedback.
-
Deprecating xfun::isFALSE()
Base R has had the function isTRUE() for many years, and I had wished for a few years that there were an isFALSE(), too. I had used identical(x, FALSE) many times before I added it to the first …
https://yihui.org/en/2023/02/xfun-isfalse/
Beta Was this translation helpful? Give feedback.
All reactions