Created attachment 215022 [details] SHAR file R package Must be evaluated after bug 246841
7.1.1 is the latest version, please update the diff, and I can take it from here, thanks!
Created attachment 225868 [details] SHAR file for version 7.1.1
- PORTREVISION should be removed for new ports. - LICENSE seems wrong. - It appears that BUILD_DEPENDS only need knitr, please verify. - TEST_DEPENDS? - WWW should be https://roxygen2.r-lib.org/.
Please also consider submitting git format-patch in the future.
(In reply to Guangyuan Yang from comment #4) Dependencies are detailed in https://cloud.r-project.org/web/packages/roxygen2/index.html, Imports section I don't find TEST_DEPENDS All others items modified
Created attachment 225898 [details] Modified SHAR file for version 7.1.1
Build test failed for me - please correct. And please consider using git format-patch for future submissions, thanks. [00:00:03] Error: devel/R-cran-roxygen2 depends on nonexistent origin 'devel/R-cran-commonmark'; Please contact maintainer of the port to fix this. [00:00:03] Error: devel/R-cran-roxygen2 depends on nonexistent origin 'devel/R-cran-xml2'; Please contact maintainer of the port to fix this.
(In reply to Guangyuan Yang from comment #7) Sorry again, I started to port it 1 year ago and the dependencies were in devel and not in textproc. The dependency packages stayed in devel on my machine.
Created attachment 225910 [details] Modified SHAR with dependencies fix
(In reply to Jean-Paul Beconne from comment #9) Still builds fail for me - please consider using Poudriere for testing, and have the QA result attached to your future patches. ERROR: dependency 'knitr' is not available for package 'roxygen2' * removing '/wrkdirs/usr/ports/devel/R-cran-roxygen2/work/stage/usr/local/lib/R/library/roxygen2' *** Error code 1
(In reply to Guangyuan Yang from comment #10) Sorry, it is a missing dependency. Dependencies have changed with the new version and I forgot this one. I am testing the git diff for the new version
Created attachment 225920 [details] Modified port in GIT diff format
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=483db0ebe3ffd77e5d57aa111ccd0bcbd1764db8 commit 483db0ebe3ffd77e5d57aa111ccd0bcbd1764db8 Author: Jean-Paul Beconne <jpbeconne@free.fr> AuthorDate: 2021-06-21 01:56:10 +0000 Commit: Guangyuan Yang <ygy@FreeBSD.org> CommitDate: 2021-06-21 01:56:10 +0000 devel/R-cran-roxygen2: New port: In-Line Documentation for R PR: 246843 Approved by: lwhsu (mentor, implicit) devel/Makefile | 1 + devel/R-cran-roxygen2/Makefile (new) | 29 +++++++++++++++++++++++++++++ devel/R-cran-roxygen2/distinfo (new) | 3 +++ devel/R-cran-roxygen2/pkg-descr (new) | 6 ++++++ 4 files changed, 39 insertions(+)
Committed, thanks!