[R-pkg-devel] [UNCLASSIFIED] Remotes in description when submitting a package until a dependency is fixed

2022-11-15 Thread Bernd . Gruber
Hi,

I have a package (dartR) that needs to be updated by CRAN (and got a time set 
until a certain date). It depends on a package that is currently showing errors 
in the CRAN results and therefore fails. The maintainer of that package is 
busily trying to rectify the error (as can be seen be repeated submissions in 
the last weeks), but was not able yet to fix it. As we are running out of time 
my approach would be to have a version of the package that fixes it and use 
Remotes: in the description. It runs fine without errors.

In the R-packages book I read the following:

"It's important to note that you should not submit your package to CRAN in the 
intermediate state, meaning with a Remotes field and with a dependency required 
at a version that's not available from CRAN or Bioconductor. For CRAN packages, 
this can only be a temporary development state, eventually resolved when the 
dependency updates on CRAN and you can bump your minimum version accordingly."

So is it okay to submit our package with a remote statement until the 
maintainer of the other package has fixed their issues?

Thanks in advance,
Bernd


======
Dr Bernd Gruber  )/_
 _.--..---"-,--c_
Professor Ecological Modelling  \|..'   ._O__)_
Tel: (02) 6206 3804 ,=._.+   _ \..--( /
Fax: (02) 6201 2328   \\.-''_.-' \ ( \_
Institute for Applied Ecology  `'''   `\__   /\
Faculty of Science and Technology  ')
University of Canberra   ACT 2601 AUSTRALIA
Email: bernd.gru...@canberra.edu.au<mailto:bernd.gru...@canberra.edu.au>
WWW: 
bernd-gruber<https://researchprofiles.canberra.edu.au/en/persons/bernd-gruber>
==

[UC Logo]<http://www.canberra.edu.au>

[Its time to control your Future. Apply now to study with Australia's fastest 
rising University. *QS, 2022]<https://www.canberra.edu.au/>



The Ngunnawal people are the Traditional Custodians of the ACT where UC's Bruce 
Campus is situated and are an integral and celebrated part of UC's culture. We 
also acknowledge other First Nations Peoples.

Australian Government Higher Education Registered Provider (CRICOS) #00212K. 
TEQSA Provider ID: PRV12003 (Australian University)
Email 
Disclaimer<https://www.canberra.edu.au/about-uc/disclaimer-copyright-privacy-accessibility>

[UC Facebook]<https://www.facebook.com/UniversityOfCanberra>[UC Twitter] 
<https://twitter.com/UniCanberra> [UC Instagram] 
<https://www.instagram.com/unicanberra/> [UC Linkedin] 
<https://au.linkedin.com/school/university-of-canberra/> [UC Youtube] 
<https://www.youtube.com/user/uniofcanberra> [University of Canberra] 
<http://www.canberra.edu.au>

[[alternative HTML version deleted]]

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


[R-pkg-devel] How to request for an Non Maintainer update - NMU

2023-06-05 Thread Bernd . Gruber
Hi everyone,

I am the maintainer of a package (dartR) that depends on ggtern (a package that 
seems not to be maintained anymore).
Currently the package was removed from CRAN (about 4 weeks ago) due to a simple 
error, which can be easily fixed. This was kindly achieved by Roger Bivand 
(simply the remove of a backslash does the trick).

In an github exchange he also suggested to have an non maintainer update (NMU) 
for the package in the short term (and find a replacement of orphan the package 
and find a new maintainer in the long term).

Here is my first question as I did not find an answer googling it.

How can I ask, request for an NMU? Would I simply write to CRAN and describe 
the situation and send the files that need to be replaced?

The second question is, how I would request to orphan the package and what is 
the procedure to find a new maintainer (as it relies on ggplot code and this is 
not really my strength, hence I would try to find someone else to take over).

Thanks a lot, Bernd



==
Dr Bernd Gruber  )/_
 _.--..---"-,--c_
Professor Ecological Modelling  \|..'   ._O__)_
Tel: (02) 6206 3804 ,=._.+   _ \..--( /
Fax: (02) 6201 2328   \\.-''_.-' \ ( \_
Institute for Applied Ecology  `'''   `\__   /\
Faculty of Science and Technology  ')
University of Canberra   ACT 2601 AUSTRALIA
Email: bernd.gru...@canberra.edu.au<mailto:bernd.gru...@canberra.edu.au>
WWW: 
bernd-gruber<https://researchprofiles.canberra.edu.au/en/persons/bernd-gruber>

Australian Government Higher Education Provider Number CRICOS #00212K
NOTICE & DISCLAIMER: This email and any files transmitted with it may contain
confidential or copyright material and are for the attention of the addressee
only. If you have received this email in error please notify us by email
reply and delete it from your system. The University of Canberra accepts
no liability for any damage caused by any virus transmitted by this email.
==

[UC Logo]<http://www.canberra.edu.au>

[Research Festival,5-8 June 
2023]<https://www.canberra.edu.au/about-uc/events/research-festival/research-festival-2023>



The Ngunnawal people are the Traditional Custodians of the ACT where UC's Bruce 
Campus is situated and are an integral and celebrated part of UC's culture. We 
also acknowledge other First Nations Peoples.

Australian Government Higher Education Registered Provider (CRICOS) #00212K. 
TEQSA Provider ID: PRV12003 (Australian University)
Email 
Disclaimer<https://www.canberra.edu.au/about-uc/disclaimer-copyright-privacy-accessibility>

[UC Facebook]<https://www.facebook.com/UniversityOfCanberra>[UC Twitter] 
<https://twitter.com/UniCanberra> [UC Instagram] 
<https://www.instagram.com/unicanberra/> [UC Linkedin] 
<https://au.linkedin.com/school/university-of-canberra/> [UC Youtube] 
<https://www.youtube.com/user/uniofcanberra> [University of Canberra] 
<http://www.canberra.edu.au>

[[alternative HTML version deleted]]

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


[R-pkg-devel] Questions regarding a new (seperated package) and how to submit them to cran

2023-06-22 Thread Bernd . Gruber
Hi,

I have a question regarding the separation of a package into smaller pieces (to 
avoid long testing/installation times and more important to avoid to many 
dependencies)

I am the maintainer of an R package (dartR) which has grown and is now at the 
limit in terms of testing/run time and also dependencies. To further develop 
the package we started to break the package into smaller packages namely


Two core packages (dartR.base and dartR.data) and here dartR.base has 
dartR.data in the depends. (dartR.base is 60% of the previous package) and 
dartR.data is our data.package for test data (dartR.data is already on CRAN)




Next to the two core packages we also have 3 more addon packages that deal with 
specialised analysis

dartR.sim
dartR.spatial
dartR.popgenomics.

Those packages depend on dartR.base and dartR.data.

All addon packages and core packages should have the other addon packages as 
suggests, hence here comes the question.


How do I submit the packages?  All of them at once? Or step by step.

If I submit step by step (e.g. dartR.base) it obviously cannot have the other 
dartR addon packages as suggests (cannot be tested and will break the CRAN 
tests).

So would be the correct way to:
Submit dartR.base (without dartR.sim, dartR.spatial and dartR.popgenomics in 
the suggest.)
Then submit dartR.sim, then dartR.spatial and finally dartR.popgenomics (all 
without suggests of the other packages)

And finally update all packages (only their description file and add the 
suggests once they are on CRAN).

Hope that makes sense and thanks in advance,

Bernd





==
Dr Bernd Gruber  )/_
 _.--..---"-,--c_
Professor Ecological Modelling  \|..'   ._O__)_
Tel: (02) 6206 3804 ,=._.+   _ \..--( /
Fax: (02) 6201 2328   \\.-''_.-' \ ( \_
Institute for Applied Ecology  `'''   `\__   /\
Faculty of Science and Technology  ')
University of Canberra   ACT 2601 AUSTRALIA
Email: bernd.gru...@canberra.edu.au<mailto:bernd.gru...@canberra.edu.au>
WWW: 
bernd-gruber<https://researchprofiles.canberra.edu.au/en/persons/bernd-gruber>

Australian Government Higher Education Provider Number CRICOS #00212K
NOTICE & DISCLAIMER: This email and any files transmitted with it may contain
confidential or copyright material and are for the attention of the addressee
only. If you have received this email in error please notify us by email
reply and delete it from your system. The University of Canberra accepts
no liability for any damage caused by any virus transmitted by this email.
==

[UC Logo]<http://www.canberra.edu.au>

[It's Not Too Late to Start Early, Mid-Year Classes starts 
August]<https://www.canberra.edu.au/>



The Ngunnawal people are the Traditional Custodians of the ACT where UC's Bruce 
Campus is situated and are an integral and celebrated part of UC's culture. We 
also acknowledge other First Nations Peoples.

Australian Government Higher Education Registered Provider (CRICOS) #00212K. 
TEQSA Provider ID: PRV12003 (Australian University)
Email 
Disclaimer<https://www.canberra.edu.au/about-uc/disclaimer-copyright-privacy-accessibility>

[UC Facebook]<https://www.facebook.com/UniversityOfCanberra>[UC Twitter] 
<https://twitter.com/UniCanberra> [UC Instagram] 
<https://www.instagram.com/unicanberra/> [UC Linkedin] 
<https://au.linkedin.com/school/university-of-canberra/> [UC Youtube] 
<https://www.youtube.com/user/uniofcanberra> [University of Canberra] 
<http://www.canberra.edu.au>

[[alternative HTML version deleted]]

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


[R-pkg-devel] Nickname allowed in description when submitting to CRAN?

2023-06-24 Thread Bernd . Gruber
Hi,
I know that sounds like a useless feature, but it happens that people are 
better in recognising names than numbers.

And here is the question. I read in some stackexchange answers that it is 
possible to add the keyword

Nickname:

to the description file. It works fine when I check the package but winbuilder 
comes back with a note:

Unknown, possibly misspelled, fields in DESCRIPTION:
  'Nickname'

So the question is, is there a way to have a nickname for a version of an R 
package and if so, how would that be done.

Thanks in advance


==
Dr Bernd Gruber  )/_
 _.--..---"-,--c_
Professor Ecological Modelling  \|..'   ._O__)_
Tel: (02) 6206 3804 ,=._.+   _ \..--( /
Fax: (02) 6201 2328   \\.-''_.-' \ (
 \_
Institute for Applied Ecology  `'''   `\__   /\
Faculty of Science and Technology  ')
University of Canberra   ACT 2601 AUSTRALIA
Email: bernd.gru...@canberra.edu.au<mailto:bernd.gru...@canberra.edu.au>
WWW: 
bernd-gruber<https://researchprofiles.canberra.edu.au/en/persons/bernd-gruber>

Australian Government Higher Education Provider Number CRICOS #00212K
NOTICE & DISCLAIMER: This email and any files transmitted with it may contain
confidential or copyright material and are for the attention of the addressee
only. If you have received this email in error please notify us by email
reply and delete it from your system. The University of Canberra accepts
no liability for any damage caused by any virus transmitted by this email.
==

[UC Logo]<http://www.canberra.edu.au>

[It's Not Too Late to Start Early, Mid-Year Classes starts 
August]<https://www.canberra.edu.au/>



The Ngunnawal people are the Traditional Custodians of the ACT where UC's Bruce 
Campus is situated and are an integral and celebrated part of UC's culture. We 
also acknowledge other First Nations Peoples.

Australian Government Higher Education Registered Provider (CRICOS) #00212K. 
TEQSA Provider ID: PRV12003 (Australian University)
Email 
Disclaimer<https://www.canberra.edu.au/about-uc/disclaimer-copyright-privacy-accessibility>

[UC Facebook]<https://www.facebook.com/UniversityOfCanberra>[UC Twitter] 
<https://twitter.com/UniCanberra> [UC Instagram] 
<https://www.instagram.com/unicanberra/> [UC Linkedin] 
<https://au.linkedin.com/school/university-of-canberra/> [UC Youtube] 
<https://www.youtube.com/user/uniofcanberra> [University of Canberra] 
<http://www.canberra.edu.au>

[[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] Questions regarding a new (seperated package) and how to submit them to cran

2023-06-25 Thread Bernd . Gruber
Hi,

Thanks for the advice.

Still not 100% sure if that is okay to submit to CRAN.

As mentioned I have new packages that have others in the suggest (and yes the 
examples/tests run fine by making the dependent),

But if I have a package that is not yet on CRAN in the suggest I see that 
running winbuilder.

Suggests or Enhances not in mainstream repositories:
  dartR.sim

* checking package namespace information ... OK
* checking package dependencies ... NOTE
Package suggested but not available for checking: 'dartR.sim'





Can I explain when I submit that  dartR.sim will be there (as mentioned the 
examples run fine), but obviously is not yet on CRAN.

I assume the same would happen if I put the new packages in Enhances…

Regards, Bernd




From: Thierry Onkelinx 
Sent: Friday, June 23, 2023 5:51 PM
To: Simon Urbanek 
Cc: Bernd.Gruber ; r-package-devel@r-project.org
Subject: Re: [R-pkg-devel] Questions regarding a new (seperated package) and 
how to submit them to cran

Dear Bernd,

You could contact the maintainer of the spatstat package. They did the same 
thing (splitting a large package into several smaller ones) a few years ago.

Having the base package suggesting an add-on and the add-on depending on or 
suggesting the base package might create an unwanted loop.

Best regards,

ir. Thierry Onkelinx
Statisticus / Statistician

Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND 
FOREST
Team Biometrie & Kwaliteitszorg / Team Biometrics & Quality Assurance
thierry.onkel...@inbo.be
Havenlaan 88 bus 73, 1000 Brussel
www.inbo.be
///
To call in the statistician after the experiment is done may be no more than 
asking him to perform a post-mortem examination: he may be able to say what the 
experiment died of. ~ Sir Ronald Aylmer Fisher
The plural of anecdote is not data. ~ Roger Brinner
The combination of some data and an aching desire for an answer does not ensure 
that a reasonable answer can be extracted from a given body of data. ~ John 
Tukey
///

[https://inbo-website-prd-532750756126.s3-eu-west-1.amazonaws.com/inbologoleeuw_nl.png]


Op vr 23 jun 2023 om 06:52 schreef Simon Urbanek 
mailto:simon.urba...@r-project.org>>:
Bernd,

the sequence in which you submit doesn't matter - the packages have to work 
regardless of the sequence. Suggests means that the dependency is optional, not 
that it can break tests. You have to skip the tests that cannot be run due to 
missing dependencies (see 1.1.3.1 in R-exts)

Cheers,
Simon



> On Jun 23, 2023, at 2:35 PM, Bernd.Gruber 
> mailto:bernd.gru...@canberra.edu.au>> wrote:
>
> Hi,
>
> I have a question regarding the separation of a package into smaller pieces 
> (to avoid long testing/installation times and more important to avoid to many 
> dependencies)
>
> I am the maintainer of an R package (dartR) which has grown and is now at the 
> limit in terms of testing/run time and also dependencies. To further develop 
> the package we started to break the package into smaller packages namely
>
>
> Two core packages (dartR.base and dartR.data) and here dartR.base has 
> dartR.data in the depends. (dartR.base is 60% of the previous package) and 
> dartR.data is our data.package for test data (dartR.data is already on CRAN)
>
>
>
>
> Next to the two core packages we also have 3 more addon packages that deal 
> with specialised analysis
>
> dartR.sim
> dartR.spatial
> dartR.popgenomics.
>
> Those packages depend on dartR.base and dartR.data.
>
> All addon packages and core packages should have the other addon packages as 
> suggests, hence here comes the question.
>
>
> How do I submit the packages?  All of them at once? Or step by step.
>
> If I submit step by step (e.g. dartR.base) it obviously cannot have the other 
> dartR addon packages as suggests (cannot be tested and will break the CRAN 
> tests).
>
> So would be the correct way to:
> Submit dartR.base (without dartR.sim, dartR.spatial and dartR.popgenomics in 
> the suggest.)
> Then submit dartR.sim, then dartR.spatial and finally dartR.popgenomics (all 
> without suggests of the other packages)
>
> And finally update all packages (only their description file and add the 
> suggests once they are on CRAN).
>
> Hope that makes sense and thanks in advance,
>
> Bernd
>

__
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

Re: [R-pkg-devel] Nickname allowed in description when submitting to CRAN?

2023-06-25 Thread Bernd . Gruber
Thanks for the advice. Revision sounds perfectly plausible to me. I will test 
via winbuilder and may use it.

Regards, Bernd


==
Dr Bernd Gruber  )/_  
 _.--..---"-,--c_ 
Professor Ecological Modelling  \|..'   ._O__)_ 
 
Tel: (02) 6206 3804 ,=._.+   _ \..--( /   
Fax: (02) 6201 2328   \\.-''_.-' \ ( \_   
Institute for Applied Ecology  `'''   `\__   /\   
Faculty of Science and Technology  ') 
University of Canberra   ACT 2601 AUSTRALIA
Email: bernd.gru...@canberra.edu.au
WWW: bernd-gruber

Australian Government Higher Education Provider Number CRICOS #00212K 
NOTICE & DISCLAIMER: This email and any files transmitted with it may contain 
confidential or copyright material and are for the attention of the addressee 
only. If you have received this email in error please notify us by email 
reply and delete it from your system. The University of Canberra accepts 
no liability for any damage caused by any virus transmitted by this email.
==

-Original Message-
From: Ivan Krylov  
Sent: Sunday, 25 June 2023 17:35
To: Bernd.Gruber 
Cc: r-package-devel@r-project.org
Subject: Re: [R-pkg-devel] Nickname allowed in description when submitting to 
CRAN?

В Sun, 25 Jun 2023 06:30:39 +
Bernd.Gruber  пишет:

> I read in some stackexchange answers that it is possible to add the 
> keyword
> 
> Nickname:
> 
> to the description file. It works fine when I check the package but 
> winbuilder comes back with a note:
> 
> Unknown, possibly misspelled, fields in DESCRIPTION:
>   'Nickname'
> 
> So the question is, is there a way to have a nickname for a version of 
> an R package and if so, how would that be done.

I'm afraid it's not exactly documented (and therefore may be subject to 
change), but this NOTE is currently produced for every DESCRIPTION field unless 
it's mentioned in tools:::.get_standard_DESCRIPTION_fields() or starts with a 
number of prefixes (such as X-CRAN, X-schema.org, Repository/R-Forge, VCS/, and 
Config/).

I see "Revision" in the list of standard DESCRIPTION fields.
Conveniently, it doesn't seem to be used by base R packages. Would it be 
acceptable to use "Revision" instead of "Nickname"?

An alternative option would be to file a wishlist ticket asking for "Nickname" 
to be added to the list, but then your package will have to wait until that 
change propagates to the next release of R.

--
Best regards,
Ivan

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


Re: [R-pkg-devel] Questions regarding a new (seperated package) and how to submit them to cran

2023-06-25 Thread Bernd . Gruber
Thanks, just to make sure:

In the policy I find the entry:

Additional_repositories:

The ‘Additional_repositories’ field is a comma-separated list of repository 
URLs where the packages named in the other fields may be found. It is currently 
used by R CMD check to check that the packages can be found, at least as source 
packages (which can be installed on any platform).

And here I would have to provide an url that links to the tar.gz file of the 
package, or can I also provide

The ‘Additional_repositories’ field is a comma-separated list of repository 
URLs where the packages named in the other fields may be found. It is currently 
used by R CMD check to check that the packages can be found, at least as source 
packages (which can be installed on any platform).

github::green-striped-gecko/dartR.popgenomics

similar to the Remotes: field (which I think is not possible to use).

Thanks,


==
Dr Bernd Gruber  )/_
 _.--..---"-,--c_
Professor Ecological Modelling  \|..'   ._O__)_
Tel: (02) 6206 3804 ,=._.+   _ \..--( /
Fax: (02) 6201 2328   \\.-''_.-' \ ( \_
Institute for Applied Ecology  `'''   `\__   /\
Faculty of Science and Technology  ')
University of Canberra   ACT 2601 AUSTRALIA
Email: bernd.gru...@canberra.edu.au<mailto:bernd.gru...@canberra.edu.au>
WWW: 
bernd-gruber<https://researchprofiles.canberra.edu.au/en/persons/bernd-gruber>

Australian Government Higher Education Provider Number CRICOS #00212K
NOTICE & DISCLAIMER: This email and any files transmitted with it may contain
confidential or copyright material and are for the attention of the addressee
only. If you have received this email in error please notify us by email
reply and delete it from your system. The University of Canberra accepts
no liability for any damage caused by any virus transmitted by this email.
==

From: Uwe Ligges 
Sent: Sunday, 25 June 2023 20:51
To: Bernd.Gruber 
Cc: r-package-devel@r-project.org
Subject: Re: [R-pkg-devel] Questions regarding a new (seperated package) and 
how to submit them to cran



On 25.06.2023 09:00, Bernd.Gruber wrote:
> Hi,
>
> Thanks for the advice.
>
> Still not 100% sure if that is okay to submit to CRAN.
>
> As mentioned I have new packages that have others in the suggest (and yes the 
> examples/tests run fine by making the dependent),
>
> But if I have a package that is not yet on CRAN in the suggest I see that 
> running winbuilder.
>
> Suggests or Enhances not in mainstream repositories:
> dartR.sim

If it is not in a mainstream repo, you can declare where users can get
it from, see the explanation in the CRAN policies how to declare it.



> * checking package namespace information ... OK
> * checking package dependencies ... NOTE
> Package suggested but not available for checking: 'dartR.sim'

This is OK, once the former is explained.

Best,
Uwe Ligges


>
>
>
>
> Can I explain when I submit that dartR.sim will be there (as mentioned the 
> examples run fine), but obviously is not yet on CRAN.
>
> I assume the same would happen if I put the new packages in Enhances…
>
> Regards, Bernd
>
>
>
>
> From: Thierry Onkelinx 
> mailto:thierry.onkel...@inbo.be>>
> Sent: Friday, June 23, 2023 5:51 PM
> To: Simon Urbanek 
> mailto:simon.urba...@r-project.org>>
> Cc: Bernd.Gruber 
> mailto:bernd.gru...@canberra.edu.au>>; 
> r-package-devel@r-project.org<mailto:r-package-devel@r-project.org>
> Subject: Re: [R-pkg-devel] Questions regarding a new (seperated package) and 
> how to submit them to cran
>
> Dear Bernd,
>
> You could contact the maintainer of the spatstat package. They did the same 
> thing (splitting a large package into several smaller ones) a few years ago.
>
> Having the base package suggesting an add-on and the add-on depending on or 
> suggesting the base package might create an unwanted loop.
>
> Best regards,
>
> ir. Thierry Onkelinx
> Statisticus / Statistician
>
> Vlaamse Overheid / Government of Flanders
> INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND 
> FOREST
> Team Biometrie & Kwaliteitszorg / Team Biometrics & Quality Assurance
> thierry.onkel...@inbo.be<mailto:thierry.onkel...@inbo.be<mailto:thierry.onkel...@inbo.be%3cmailto:thierry.onkel...@inbo.be>>
> Havenlaan 88 bus 73, 1000 Brussel
> www.inbo.be<http://www.inbo.be><http://www.inbo.be<http://www.inbo.be&

[R-pkg-devel] Note issued though package is in depends (or imports)

2018-11-21 Thread Bernd . Gruber
Hi,

I had a package on cran for a while.

Since the latest update/recompile I get the Note (not via R-studio, but running 
Rstudio to compile)


NOTE


checking data for non-ASCII characters ... NOTE
  Error in .requirePackage(package) :
unable to find required package 'raster'
  Calls:  ... getClass -> getClassDef -> .classEnv -> .requirePackage
  Execution halted




when I test the package.

Unfortunately I am stuck here as I do not know why this Note is issued.

My suspicion is that I have an internal data set of type raster that throws the 
error. But I have the raster package in the depends in my description file also 
I tried to put it into imports.

Or add an @import raster into the roxygen description of the data set. Nothing 
seems to work and the Note still occurs.

Anyone has a similar idea and or is there an idea how can I reproduce the Note 
(as said under R-studio I cannot see it, it compiles fine without Note) only on 
win-builder I get that.

Any advice would be highly appreciated.

Regards, Bernd




==========
Dr Bernd Gruber  )/_
 _.--..---"-,--c_
Associate Professor \|..'   ._O__)_
Tel: (02) 6206 3804 ,=._.+   _ \..--( /
Fax: (02) 6201 2328   \\.-''_.-' \ ( \_
Institute for Applied Ecology  `'''   `\__   /\
Faculty of Science and Technology  ')
University of Canberra   ACT 2601 AUSTRALIA
Email: bernd.gru...@canberra.edu.au<mailto:bernd.gru...@canberra.edu.au>
WWW: 
bernd-gruber<https://researchprofiles.canberra.edu.au/en/persons/bernd-gruber>

Australian Government Higher Education Provider Number CRICOS #00212K
NOTICE & DISCLAIMER: This email and any files transmitted with it may contain
confidential or copyright material and are for the attention of the addressee
only. If you have received this email in error please notify us by email
reply and delete it from your system. The University of Canberra accepts
no liability for any damage caused by any virus transmitted by this email.
==


[UC Logo]<http://www.canberra.edu.au>   [UC #1 IN THE ACT]


[UC Facebook]<https://www.facebook.com/UniversityOfCanberra>[UC 
Twitter]<https://twitter.com/UniCanberra> [UC Instagram] 
<https://www.instagram.com/unicanberra/> [UC Youtube] 
<https://www.youtube.com/user/uniofcanberra> [University of 
Canberra] <http://www.canberra.edu.au>   *GUG 2019

Australian Government Higher Education Registered Provider number (CRICOS) 
#00212K

[[alternative HTML version deleted]]

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


[R-pkg-devel] two functions with the same name when importing

2019-11-06 Thread Bernd . Gruber
Hi,

I have a problem regarding the name of two functions and I know the "correct" 
way is to use importFrom to make sure only specified functions are imported. 
But my problem is that my package really depends on another package
adegenet as I basically use 90% of the say >100 functions.

So when I import all of adegenet I get:

2: replacing previous import 'adegenet::plot' by 'graphics::plot' when loading 
'dartR'


So in essence I think adegenet is importing a plot function which collides with 
the basic plot function. Is there anything I can do, without going through 100 
functions and using importFrom

In addition I actually need the plot function from adegenet, so I would need to 
rename it as well somehow.

Any hint how to solve this would be highly appreciated.

Regards, Bernd





==========
Dr Bernd Gruber  )/_
 _.--..---"-,--c_
Associate Professor \|..'   ._O__)_
Tel: (02) 6206 3804 ,=._.+   _ \..--( /
Fax: (02) 6201 2328   \\.-''_.-' \ ( \_
Institute for Applied Ecology  `'''   `\__   /\
Faculty of Science and Technology  ')
University of Canberra   ACT 2601 AUSTRALIA
Email: bernd.gru...@canberra.edu.au
WWW: bernd-gruber

Australian Government Higher Education Provider Number CRICOS #00212K
NOTICE & DISCLAIMER: This email and any files transmitted with it may contain
confidential or copyright material and are for the attention of the addressee
only. If you have received this email in error please notify us by email
reply and delete it from your system. The University of Canberra accepts
no liability for any damage caused by any virus transmitted by this email.
==

[UC Logo]<http://www.canberra.edu.au>

[Number 1 in the ACT for graduate employment and starting salaries]


[UC Facebook]<https://www.facebook.com/UniversityOfCanberra>[UC 
Twitter]<https://twitter.com/UniCanberra>[UC 
Instagram]<https://www.instagram.com/unicanberra/>[UC 
Linkedin]<https://au.linkedin.com/school/university-of-canberra/>[UC 
Youtube]<https://www.youtube.com/user/uniofcanberra>[University of 
Canberra] <http://www.canberra.edu.au>
Australian Government Higher Education Registered Provider (CRICOS) #00212K
The University of Canberra acknowledges the Ngunnawal people, traditional 
custodians of the lands where Bruce Campus is situated. We wish to acknowledge 
and respect their continuing culture and the contribution they make to the life 
of Canberra and the region. We also acknowledge all other First Nations Peoples 
on whose lands we gather.

NOTICE AND DISCLAIMER: This email and any files transmitted with it may contain 
confidential or copyright materials and are for the attention of the addressee 
only. If you have received this email in error please notify us by email reply 
and delete it from your system. The University of Canberra accepts no liability 
for any damage caused by any virus transmitted by this email.

[[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] two functions with the same name when importing

2019-11-07 Thread Bernd . Gruber
@Martin Morgan

Thanks to your hint if found this:

@rawNamespace import(adegenet, except = plot)

which works beautifully  and no need to go through each Namespace function.

Thanks again to everyone.




From: Martin Morgan 
Sent: Thursday, 7 November 2019 8:34 PM
To: Duncan Murdoch ; Bernd.Gruber 
; r-package-devel@r-project.org
Subject: Re: [R-pkg-devel] two functions with the same name when importing

RShowDoc("R-exts") setion 1.5.1 Specifying imports and exports indicates that 
imports() has an except= argument, so

import(adegenet, except = plot)

might do the trick. Use it in your package as `adegenet::plot()`.

Martin Morgan

On 11/6/19, 8:31 PM, "R-package-devel on behalf of Duncan Murdoch" 
mailto:r-package-devel-boun...@r-project.org%20on%20behalf%20of%20murdoch.dun...@gmail.com>>
 wrote:

On 06/11/2019 6:50 p.m., Bernd.Gruber wrote:
> Hi,
>
> I have a problem regarding the name of two functions and I know the "correct" 
> way is to use importFrom to make sure only specified functions are imported. 
> But my problem is that my package really depends on another package
> adegenet as I basically use 90% of the say >100 functions.
>
> So when I import all of adegenet I get:
>
> 2: replacing previous import 'adegenet::plot' by 'graphics::plot' when 
> loading 'dartR'
>
>
> So in essence I think adegenet is importing a plot function which collides 
> with the basic plot function. Is there anything I can do, without going 
> through 100 functions and using importFrom
>
> In addition I actually need the plot function from adegenet, so I would need 
> to rename it as well somehow.
>
> Any hint how to solve this would be highly appreciated.

Just get a copy of the adegenet NAMESPACE file to get all of its
exports. Edit the list down to the ones you use, and use a text editor
to change the export directives to importFrom directives. It's not
really that hard.

The path to the NAMESPACE file is given by

system.file("NAMESPACE", package="adegenet")

Duncan Murdoch

__
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


[R-pkg-devel] how to notify users of obsolete and new package

2025-02-10 Thread Bernd . Gruber
Hi,

I have a quick question. I have an older package (dartR) that is now superseded 
by a series of new packages.

Still we noticed that several users have not updated yet and moved to the new 
package. Hence the question:

Is it okay to submit a "shell" package under the name of the old package that 
does nothing else than telling the user to install the new package (and a 
link/code how to do that)?

There would only be one function which is updating some legacy data to a new 
format.

Is that accepted or is there another way to let user know (e.g. via the CRAN 
package pages)?

Thanks and regards, Bernd


==
Dr Bernd Gruber   Tel: (02) 6206 3804 Fax: (02) 6201 2328
Professor
Institute for Applied Ecology
Faculty of Applied Science
University of Canberra   ACT 2601 AUSTRALIA
Email: bernd.gru...@canberra.edu.au<mailto:bernd.gru...@canberra.edu.au>
WWW: http://www.canberra.edu.au/faculties/science/staff/profiles/dr-bernd-gruber

Australian Government Higher Education Provider Number CRICOS:#00212K

NOTICE & DISCLAIMER: This email and any files transmitted with it may contain
confidential or copyright material and are for the attention of the addressee
only. If you have received this email in error please notify us by email
reply and delete it from your system. The University of Canberra accepts
no liability for any damage caused by any virus transmitted by this email.

==

[UC Logo]<http://www.canberra.edu.au>

[Adobe Creative Campus. Fuel your ceativity, Adobe Express free for all UC 
Students and 
Staff.]<https://www.canberra.edu.au/on-campus/adobe-creative-campus/>



The Ngunnawal people are the Traditional Custodians of the ACT where UC's Bruce 
Campus is situated and are an integral and celebrated part of UC's culture. We 
also acknowledge other First Nations Peoples.

Australian Government Higher Education Registered Provider (CRICOS) #00212K. 
TEQSA Provider ID: PRV12003 (Australian University)
Email 
Disclaimer<https://www.canberra.edu.au/about-uc/disclaimer-copyright-privacy-accessibility>

[UC Facebook]<https://www.facebook.com/UniversityOfCanberra>  [UC Instagram] 
<https://www.instagram.com/unicanberra/> [UC Linkedin] 
<https://au.linkedin.com/school/university-of-canberra/> [UC Youtube] 
<https://www.youtube.com/user/uniofcanberra>  [University of Canberra] 
<http://www.canberra.edu.au>

[[alternative HTML version deleted]]

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


[R-pkg-devel] Additional issue clang-ASAN, gcc-ASAN

2025-02-02 Thread Bernd . Gruber
Hi,

I was requested to update my package (dartR.base) that shows a note for an old 
mac release and the errors below:

Additional issues
clang-ASAN 
gcc-ASAN

When I look into those links I see the output below.

It seems to break when running an example, but the example runs just fine on my 
machine and also other systems. So no clue what is going on the the output 
below is definitely above my paygrade.

Any help here would be highly appreciated.

Thanks in advance

* using log directory 
'/data/gannet/ripley/R/packages/tests-clang-ASAN/dartR.base.Rcheck'
* using R Under development (unstable) (2025-01-31 r87670)
* using platform: x86_64-pc-linux-gnu
* R was compiled by
clang version 19.1.7
flang-new version 19.1.7
* running under: Fedora Linux 36 (Workstation Edition)
* using session charset: UTF-8
* using option '--no-stop-on-test-error'
* checking for file 'dartR.base/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'dartR.base' version '0.98'
* package encoding: UTF-8
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking whether package 'dartR.base' can be installed ... [234s/475s] OK
* checking package directory ... OK
* checking whether the package can be loaded ... [23s/28s] OK
* checking whether the package can be loaded with stated dependencies ... 
[22s/26s] OK
* checking whether the package can be unloaded cleanly ... [22s/25s] OK
* checking whether the namespace can be loaded with stated dependencies ... 
[19s/20s] OK
* checking whether the namespace can be unloaded cleanly ... [23s/24s] OK
* checking loading without being on the library search path ... [22s/22s] OK
* checking examples ... [81s/88s] ERROR
Running examples in 'dartR.base-Ex.R' failed
The error most likely occurred in:

> ### Name: gl.filter.factorloadings
> ### Title: Filters loci based on factor loadings for a PCA or PCoA
> ### Aliases: gl.filter.factorloadings
>
> ### ** Examples
>
> pca <- gl.pcoa(testset.gl)
Starting gl.pcoa
  Processing genlight object with SNP data
  Warning: Number of loci is less than the number of individuals to be 
represented
  Performing a PCA, individuals as entities, loci as attributes, SNP genotype 
as state
=
==2742437==ERROR: AddressSanitizer: heap-buffer-overflow on address 
0x518000697ff0 at pc 0x7f2e873ccfe0 bp 0x7ffdac8d25d0 sp 0x7ffdac8d25c8
READ of size 16 at 0x518000697ff0 thread T0
#0 0x7f2e873ccfdf in bytesToDouble 
/tmp/RtmpNNPUz9/R.INSTALL3cef1f2b1bd39c/adegenet/src/snpbin.c:225:19
#1 0x7f2e873ceca5 in snpbin2freq 
/tmp/RtmpNNPUz9/R.INSTALL3cef1f2b1bd39c/adegenet/src/snpbin.c:332:5
#2 0x7f2e873ceca5 in snpbin_dotprod_freq 
/tmp/RtmpNNPUz9/R.INSTALL3cef1f2b1bd39c/adegenet/src/snpbin.c:447:5
#3 0x7f2e873bba42 in GLdotProd 
/tmp/RtmpNNPUz9/R.INSTALL3cef1f2b1bd39c/adegenet/src/GLfunctions.c:42:14
#4 0x5653c6191567 in do_dotCode 
/data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c
#5 0x5653c6232f7f in bcEval_loop 
/data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8122:14
#6 0x5653c6225384 in bcEval 
/data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7505:16
#7 0x5653c622389a in Rf_eval 
/data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8
#8 0x5653c626d36c in R_execClosure 
/data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2393:22
#9 0x5653c626c531 in applyClosure_core 
/data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2306:16
#10 0x5653c62242e9 in Rf_applyClosure 
/data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2328:16
#11 0x5653c62242e9 in Rf_eval 
/data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1280:12
#12 0x5653c627ee00 in do_set 
/data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3571:8
#13 0x5653c6223de3 in Rf_eval 
/data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1232:12
#14 0x5653c62faa9a in Rf_ReplIteration 
/data/gannet/ripley/R/svn/R-devel/src/main/main.c:265:2
#15 0x5653c62fd1d0 in R_ReplConsole 
/data/gannet/ripley/R/svn/R-devel/src/main/main.c:317:11
#16 0x5653c62fd1d0 in run_Rmainloop 
/data/gannet/ripley/R/svn/R-devel/src/main/main.c:1219:5
#17 0x5653c62fd262 in Rf_mainloop 
/data/gannet/ripley/R/svn/R-devel/src/main/main.c:1226:5
#18 0x5653c600720c in main 
/data/gannet/ripley/R/svn/R-devel/src/main/Rmain.c:29:5
#19 0x7f2e9fc2950f in __libc_start_call_main (/lib64/libc.so.6+0x2950f) 
(BuildId: 8257ee907646e9b057197533d1e4ac8ede7a9c5c)
#20 0x7f2e9fc295c8 in __libc_start_main@GLIBC_2.2.5 
(/lib64/libc.so.6+0x295c8) (BuildId: 8257ee907646e9b057197533d1e4ac8ede7a9c5c)
#21 0x5653c5f274e4 in _start 
(/data/gannet/ripley/