[R-pkg-devel] broken or outdaeted URLs

2025-04-10 Thread Emanuele Cordano
Dear all,

I'm submitting a new version of a package created and published on CRAN
since 2011. I'm the maintainer. CRAN checks highlight the presence of some
URLs link in the documentation that can be broken or outdated and CRAN
asked me to fix them. I'm fixing them following the list set by CRAN and
win-builder services.  Is there an option in R CMD check that I can use on
my server to directly verify all URLs and fix them on my server / RStudio
server?

Thank you
Best
Emanuele Cordano

-- 
Emanuele Cordano, PhD
Environmental Engineer / Ingegnere per l' Ambiente e il territorio nr.
3587 (Albo A - Provincia di Trento)
cell: +39 3282818564
email: emanuele.cord...@gmail.com,emanuele.cord...@rendena100.eu,
emanuele.cord...@eurac.edu
PEC: emanuele.cord...@ingpec.eu
URL: www.rendena100.eu
LinkedIn: https://www.linkedin.com/in/emanuele-cordano-31995333
GitHub: https://github.com/ecor

[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] broken or outdaeted URLs

2025-04-10 Thread adamhsparks
Hi Emanuele,
I usually use `urlchecker::url_check()` to start with. There is a 
`urlchecker::url_update()` option in the package as well. The check catches the 
errors, the update can fix some but not all errors.

--
best,
Adam
10 Apr 2025 at 17:25 by emanuele.cord...@gmail.com:

> Dear all,
>
> I'm submitting a new version of a package created and published on CRAN
> since 2011. I'm the maintainer. CRAN checks highlight the presence of some
> URLs link in the documentation that can be broken or outdated and CRAN
> asked me to fix them. I'm fixing them following the list set by CRAN and
> win-builder services.  Is there an option in R CMD check that I can use on
> my server to directly verify all URLs and fix them on my server / RStudio
> server?
>
> Thank you
> Best
> Emanuele Cordano
>
> --
> Emanuele Cordano, PhD
> Environmental Engineer / Ingegnere per l' Ambiente e il territorio nr.
> 3587 (Albo A - Provincia di Trento)
> cell: +39 3282818564
> email: emanuele.cord...@gmail.com,emanuele.cord...@rendena100.eu,
> emanuele.cord...@eurac.edu
> PEC: emanuele.cord...@ingpec.eu
> URL: www.rendena100.eu
> LinkedIn: https://www.linkedin.com/in/emanuele-cordano-31995333
> GitHub: https://github.com/ecor
>
> [[alternative HTML version deleted]]
>
> __
> R-package-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>


[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] broken or outdaeted URLs

2025-04-10 Thread Ivan Krylov via R-package-devel
В Thu, 10 Apr 2025 11:24:31 +0200
Emanuele Cordano  пишет:

> Is there an option in R CMD check that I can use on
> my server to directly verify all URLs

Does R CMD check --as-cran help?

-- 
Best regards,
Ivan

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] Procedure for dealing with reverse dependency that has gone bad on CRAN version of my package

2025-04-10 Thread J C Nash



I've had an email from CRAN team that the revdep failure with phenofit is a 
known issue and
updated optimx package (fixing glitch in computing approximate Hessian when 
objective uses dot args)
is on its way to CRAN.

John Nash

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] libc++ and abort function usage

2025-04-10 Thread Kevin Ushey
Hi Reed,

Unfortunately I don't think there is any other strategy here -- I
would agree that your best bet is to just enable exceptions in the
bundled library.

Best,
Kevin

On Fri, Apr 4, 2025 at 5:59 PM Reed A. Cartwright
 wrote:
>
> I have updated my package, rbedrock [1-2], to remove a bundled
> library's calls to abort() and stderr when compiled with -DNDEBUG
> (which is the default). This has mostly worked; however, I have
> uncovered that libc++ contains inline functions that call abort() if
> exceptions are disabled.
>
> My bundled library is a C++ library and is compiled with exceptions
> turned off. I use its C-level interface in my package, so its C++ code
> is mostly hidden from my package. When compiled on a platform with
> libc++, libc++ introduces abort calls into the compiled package. This
> is causing `R CMD check` to warn about abort() usage on those
> platforms.
>
> I am wondering what people on this list think I should do?
>
> Should I enable exceptions in the bundled library and keep using the
> C-level interface? (It doesn't throw any exceptions itself, but std
> library calls might.)
>
> If there is any other strategy that I should try, please let me know.
>
> Thanks,
> Reed
>
> [1] https://github.com/reedacartwright/rbedrock
> [2] https://cran.r-project.org/package=rbedrock
> [3] 
> https://github.com/llvm/llvm-project/blob/release/12.x/libcxx/include/any#L107-L116
>
> --
> Reed A. Cartwright, PhD
> Associate Professor of Life Sciences
> TEACh Representative - Evolution and Computational Courses
> School of Life Sciences and The Biodesign Institute
> Arizona State University
> ==
> Address: The Biodesign Institute, PO Box 876401, Tempe, AZ 85287-6401 USA
> Packages: The Biodesign Institute, 1001 S. McAllister Ave, Tempe, AZ
> 85287-6401 USA
> Office: Biodesign B-220C, 1-480-965-9949
> Website: http://cartwrig.ht/
>
> __
> R-package-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel