<div dir="ltr">To install BaSTA from GitHub, you can do simpler:<br><br>remotes::install_github("fercol/BaSTA/pkg")<br><br><div>Done.</div><div>Just make sure that you have the package remotes installed on your system.</div><div>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.<br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></span></span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 25 Oct 2023 at 11:05, <<a href="mailto:basta-users-request@lists.r-forge.r-project.org">basta-users-request@lists.r-forge.r-project.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send Basta-users mailing list submissions to<br>
<a href="mailto:basta-users@lists.r-forge.r-project.org" target="_blank">basta-users@lists.r-forge.r-project.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/basta-users" rel="noreferrer" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/basta-users</a><br>
<br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:basta-users-request@lists.r-forge.r-project.org" target="_blank">basta-users-request@lists.r-forge.r-project.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:basta-users-owner@lists.r-forge.r-project.org" target="_blank">basta-users-owner@lists.r-forge.r-project.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Basta-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: R version to use for BaSTA? (Owen R. Jones)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 24 Oct 2023 07:58:27 +0000<br>
From: "Owen R. Jones" <<a href="mailto:jones@biology.sdu.dk" target="_blank">jones@biology.sdu.dk</a>><br>
To: "Brown, Mark" <<a href="mailto:Mark.Brown@rhul.ac.uk" target="_blank">Mark.Brown@rhul.ac.uk</a>>,<br>
"<a href="mailto:basta-users@lists.r-forge.r-project.org" target="_blank">basta-users@lists.r-forge.r-project.org</a>"<br>
<<a href="mailto:basta-users@lists.r-forge.r-project.org" target="_blank">basta-users@lists.r-forge.r-project.org</a>><br>
Subject: Re: [Basta-users] R version to use for BaSTA?<br>
Message-ID: <<a href="mailto:D904A84A-94E9-4CCD-AF46-13C71DEFCB1C@biology.sdu.dk" target="_blank">D904A84A-94E9-4CCD-AF46-13C71DEFCB1C@biology.sdu.dk</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Mark,<br>
<br>
I built the attached version from source on my machine running R 4.3.1.<br>
It should work for you. Otherwise, you could build it from source on your own computer.<br>
<br>
Here?s how to do that?<br>
<br>
You should visit the GitHub site for the package: <a href="https://github.com/fercol/BaSTA" rel="noreferrer" target="_blank">https://github.com/fercol/BaSTA</a><br>
<br>
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.<br>
<br>
Here's how you can manually install the package:<br>
<br>
1) Download the Folder: Download the specific folder containing the R package (in this case, it is the pkg folder) to your computer.<br>
2) Set Working Directory: In RStudio, navigate to the directory where the package folder resides using setwd().<br>
<br>
setwd("/path/to/package_folder/pkg")<br>
<br>
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).<br>
<br>
install.packages(".", repos = NULL, type = "source")<br>
<br>
4) Load Package: Finally, load the installed package using library(BaSTA)<br>
<br>
I hope this helps!<br>
<br>
Best wishes,<br>
Owen<br>
<br>
--<br>
Owen R. Jones<br>
Associate Professor<br>
Faculty of Science<br>
Department of Biology<br>
CPop Biology<br>
T<br>
+45 65 50 27 91<tel:+4565502791><br>
<a href="mailto:jones@biology.sdu.dk" target="_blank">jones@biology.sdu.dk</a><mailto:<a href="mailto:jones@biology.sdu.dk" target="_blank">jones@biology.sdu.dk</a>><br>
<a href="http://www.sdu.dk/ansat/jones" rel="noreferrer" target="_blank">www.sdu.dk/ansat/jones</a><<a href="https://www.sdu.dk/ansat/jones" rel="noreferrer" target="_blank">https://www.sdu.dk/ansat/jones</a>><br>
University of Southern Denmark<br>
Campusvej 55<br>
DK-5230 Odense M<br>
<a href="http://www.sdu.dk" rel="noreferrer" target="_blank">www.sdu.dk</a><<a href="https://www.sdu.dk/" rel="noreferrer" target="_blank">https://www.sdu.dk/</a>><br>
[signature_3077961394]<br>
<br>
<br>
<br>
From: Basta-users <<a href="mailto:basta-users-bounces@lists.r-forge.r-project.org" target="_blank">basta-users-bounces@lists.r-forge.r-project.org</a>> on behalf of "Brown, Mark" <<a href="mailto:Mark.Brown@rhul.ac.uk" target="_blank">Mark.Brown@rhul.ac.uk</a>><br>
Date: Saturday, 21 October 2023 at 02:12<br>
To: "<a href="mailto:basta-users@lists.r-forge.r-project.org" target="_blank">basta-users@lists.r-forge.r-project.org</a>" <<a href="mailto:basta-users@lists.r-forge.r-project.org" target="_blank">basta-users@lists.r-forge.r-project.org</a>><br>
Subject: [Basta-users] R version to use for BaSTA?<br>
<br>
You don't often get email from <a href="mailto:mark.brown@rhul.ac.uk" target="_blank">mark.brown@rhul.ac.uk</a>. Learn why this is important<<a href="https://aka.ms/LearnAboutSenderIdentification" rel="noreferrer" target="_blank">https://aka.ms/LearnAboutSenderIdentification</a>><br>
Hi Fernando,<br>
<br>
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<<a href="https://cran.r-project.org/src/contrib/Archive/BaSTA/BaSTA_1.9.5.tar.gz" rel="noreferrer" target="_blank">https://cran.r-project.org/src/contrib/Archive/BaSTA/BaSTA_1.9.5.tar.gz</a>>) and got this error message:<br>
<br>
Warning in install.packages :<br>
package ?BaSTA? is not available for this version of R<br>
<br>
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.<br>
<br>
Thanks,<br>
<br>
Mark<br>
<br>
<br>
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.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.r-forge.r-project.org/pipermail/basta-users/attachments/20231024/fa64018b/attachment.htm" rel="noreferrer" target="_blank">http://lists.r-forge.r-project.org/pipermail/basta-users/attachments/20231024/fa64018b/attachment.htm</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: image001.png<br>
Type: image/png<br>
Size: 1389 bytes<br>
Desc: image001.png<br>
URL: <<a href="http://lists.r-forge.r-project.org/pipermail/basta-users/attachments/20231024/fa64018b/attachment.png" rel="noreferrer" target="_blank">http://lists.r-forge.r-project.org/pipermail/basta-users/attachments/20231024/fa64018b/attachment.png</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: BaSTA_1.9.5.tar.gz<br>
Type: application/x-gzip<br>
Size: 226066 bytes<br>
Desc: BaSTA_1.9.5.tar.gz<br>
URL: <<a href="http://lists.r-forge.r-project.org/pipermail/basta-users/attachments/20231024/fa64018b/attachment.bin" rel="noreferrer" target="_blank">http://lists.r-forge.r-project.org/pipermail/basta-users/attachments/20231024/fa64018b/attachment.bin</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Basta-users mailing list<br>
<a href="mailto:Basta-users@lists.r-forge.r-project.org" target="_blank">Basta-users@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/basta-users" rel="noreferrer" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/basta-users</a><br>
<br>
<br>
------------------------------<br>
<br>
End of Basta-users Digest, Vol 49, Issue 3<br>
******************************************<br>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Alexandre Courtiol, <a href="http://www.datazoogang.de" target="_blank">www.datazoogang.de</a></div></div></div>