[Basta-users] Basta-users Digest, Vol 49, Issue 3

Alexandre Courtiol alexandre.courtiol at gmail.com
Wed Oct 25 11:43:25 CEST 2023


To install BaSTA from GitHub, you can do simpler:

remotes::install_github("fercol/BaSTA/pkg")

Done.
Just make sure that you have the package remotes installed on your system.
FYI, remotes is what is called within devtools, but it is a smaller package
so if you don't have devtools installed, you probably want to install that
one instead.


On Wed, 25 Oct 2023 at 11:05, <
basta-users-request at lists.r-forge.r-project.org> wrote:

> Send Basta-users mailing list submissions to
>         basta-users at lists.r-forge.r-project.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/basta-users
>
> or, via email, send a message with subject or body 'help' to
>         basta-users-request at lists.r-forge.r-project.org
>
> You can reach the person managing the list at
>         basta-users-owner at lists.r-forge.r-project.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Basta-users digest..."
>
>
> Today's Topics:
>
>    1. Re: R version to use for BaSTA? (Owen R. Jones)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 24 Oct 2023 07:58:27 +0000
> From: "Owen R. Jones" <jones at biology.sdu.dk>
> To: "Brown, Mark" <Mark.Brown at rhul.ac.uk>,
>         "basta-users at lists.r-forge.r-project.org"
>         <basta-users at lists.r-forge.r-project.org>
> Subject: Re: [Basta-users] R version to use for BaSTA?
> Message-ID: <D904A84A-94E9-4CCD-AF46-13C71DEFCB1C at biology.sdu.dk>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Mark,
>
> I built the attached version from source on my machine running R 4.3.1.
> It should work for you. Otherwise, you could build it from source on your
> own computer.
>
> Here?s how to do that?
>
> You should visit the GitHub site for the package:
> https://github.com/fercol/BaSTA
>
> To install an R package from the source within a GitHub repository, you'd
> typically use the `devtools` package in R to install directly from GitHub.
> However, in this case, the package is contained within a subfolder inside
> the repository so `devtools::install_github()` won't work as expected.
>
> Here's how you can manually install the package:
>
> 1) Download the Folder: Download the specific folder containing the R
> package (in this case, it is the pkg folder) to your computer.
> 2) Set Working Directory: In RStudio, navigate to the directory where the
> package folder resides using setwd().
>
> setwd("/path/to/package_folder/pkg")
>
> 3) Install Package: Use `install.packages()` with the `repos = NULL` and
> `type = "source"` parameters. Set the path as ".", to indicate that you are
> currently in the package directory (pkg).
>
> install.packages(".", repos = NULL, type = "source")
>
> 4) Load Package: Finally, load the installed package using library(BaSTA)
>
> I hope this helps!
>
> Best wishes,
> Owen
>
> --
> Owen R. Jones
> Associate Professor
> Faculty of Science
> Department of Biology
> CPop Biology
> T
> +45 65 50 27 91<tel:+4565502791>
> jones at biology.sdu.dk<mailto:jones at biology.sdu.dk>
> www.sdu.dk/ansat/jones<https://www.sdu.dk/ansat/jones>
> University of Southern Denmark
> Campusvej 55
> DK-5230 Odense M
> www.sdu.dk<https://www.sdu.dk/>
> [signature_3077961394]
>
>
>
> From: Basta-users <basta-users-bounces at lists.r-forge.r-project.org> on
> behalf of "Brown, Mark" <Mark.Brown at rhul.ac.uk>
> Date: Saturday, 21 October 2023 at 02:12
> To: "basta-users at lists.r-forge.r-project.org" <
> basta-users at lists.r-forge.r-project.org>
> Subject: [Basta-users] R version to use for BaSTA?
>
> You don't often get email from mark.brown at rhul.ac.uk. Learn why this is
> important<https://aka.ms/LearnAboutSenderIdentification>
> Hi Fernando,
>
> I just went to upload BaSTA to R for the first time, via the archive as
> it?s been removed from the CRAN repository. I went for the most recent
> version (BaSTA_1.9.5.tar.gz<
> https://cran.r-project.org/src/contrib/Archive/BaSTA/BaSTA_1.9.5.tar.gz>)
> and got this error message:
>
> Warning in install.packages :
>   package ?BaSTA? is not available for this version of R
>
> I?m using R 4.3.1 Beagle Scouts. Which version of R should I download to
> be able to install and use BaSTA? Sorry if the answer is obvious ? I?m a
> fairly new R user.
>
> Thanks,
>
> Mark
>
>
> This email, its contents and any attachments are intended solely for the
> addressee and may contain confidential information. In certain
> circumstances, it may also be subject to legal privilege. Any unauthorised
> use, disclosure, or copying is not permitted. If you have received this
> email in error, please notify us and immediately and permanently delete it.
> Any views or opinions expressed in personal emails are solely those of the
> author and do not necessarily represent those of Royal Holloway, University
> of London. It is your responsibility to ensure that this email and any
> attachments are virus free.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.r-forge.r-project.org/pipermail/basta-users/attachments/20231024/fa64018b/attachment.htm
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: image001.png
> Type: image/png
> Size: 1389 bytes
> Desc: image001.png
> URL: <
> http://lists.r-forge.r-project.org/pipermail/basta-users/attachments/20231024/fa64018b/attachment.png
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: BaSTA_1.9.5.tar.gz
> Type: application/x-gzip
> Size: 226066 bytes
> Desc: BaSTA_1.9.5.tar.gz
> URL: <
> http://lists.r-forge.r-project.org/pipermail/basta-users/attachments/20231024/fa64018b/attachment.bin
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Basta-users mailing list
> Basta-users at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/basta-users
>
>
> ------------------------------
>
> End of Basta-users Digest, Vol 49, Issue 3
> ******************************************
>


-- 
Alexandre Courtiol, www.datazoogang.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/basta-users/attachments/20231025/549f1691/attachment.htm>


More information about the Basta-users mailing list