Closed ocallahana closed 2 years ago
@ocallahana I'm not able to access the container on CyVerse, but I'm guessing the default repo for package installation is somewhere local, so it's not up to date with the latest versions on CRAN. You can see where the system is looking by running getOption("repos"). NULL means local.
You can force it to look elsewhere by modifying the repo argument, as in:
install.packages("neonUtilities", repos="https://cloud.r-project.org")
But usually when versions are constrained within a container, there's a reason - are there other users of the container you're working in? You may want to consult with them before updating the package version, although neonUtilities 1.3.5 is quite out of date, and won't work correctly in some cases, particularly around data download.
If updating is fine for all users, but you prefer to install from GitHub, the install command should be:
devtools::install_github("NEONScience/NEON-utilities/neonUtilities")
The package is a subdirectory in the repo.
I'm not familiar with the neonMicrobe package, but a package that depends on neonUtilities shouldn't have any impact on this. If you're in touch with the package developer/maintainer, it would be great if they submitted it to the NEON Code Hub so more people can find it!
Hi Claire,
Thank you so much for the help!
Thanks, Alexis
Get Outlook for iOShttps://aka.ms/o0ukef
From: Claire Lunch @.> Sent: Thursday, September 16, 2021 4:16:28 PM To: NEONScience/NEON-utilities @.> Cc: Alexis O'Callahan @.>; Mention @.> Subject: Re: [NEONScience/NEON-utilities] Unable to update NEON-utilities in Cyverse (#118)
@ocallahanahttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Focallahana&data=04%7C01%7Caocallah%40uark.edu%7Cf0be3bb10e3d4c8659ef08d979574126%7C79c742c4e61c4fa5be89a3cb566a80d1%7C0%7C0%7C637674237972606937%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ng73k5X%2FoFuujoVq%2BJzX898pwBpOIUw%2FBwQF6NLO3jQ%3D&reserved=0 I'm not able to access the container on CyVerse, but I'm guessing the default repo for package installation is somewhere local, so it's not up to date with the latest versions on CRAN. You can see where the system is looking by running getOption("repos"). NULL means local.
You can force it to look elsewhere by modifying the repo argument, as in: install.packages("neonUtilities", repos="https://cloud.r-project.org") But usually when versions are constrained within a container, there's a reason - are there other users of the container you're working in? You may want to consult with them before updating the package version, although neonUtilities 1.3.5 is quite out of date, and won't work correctly in some cases, particularly around data download.
If updating is fine for all users, but you prefer to install from GitHub, the install command should be: devtools::install_github("NEONScience/NEON-utilities/neonUtilities") The package is a subdirectory in the repo.
I'm not familiar with the neonMicrobe package, but a package that depends on neonUtilities shouldn't have any impact on this. If you're in touch with the package developer/maintainer, it would be great if they submitted it to the NEON Code Hubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.neonscience.org%2Fresources%2Fcode-hub&data=04%7C01%7Caocallah%40uark.edu%7Cf0be3bb10e3d4c8659ef08d979574126%7C79c742c4e61c4fa5be89a3cb566a80d1%7C0%7C0%7C637674237972616935%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=0I1IdDmaIbAbOAfNGuZKIdunOAS4NzdiJI%2BJhTxQyaY%3D&reserved=0 so more people can find it!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FNEONScience%2FNEON-utilities%2Fissues%2F118%23issuecomment-921250384&data=04%7C01%7Caocallah%40uark.edu%7Cf0be3bb10e3d4c8659ef08d979574126%7C79c742c4e61c4fa5be89a3cb566a80d1%7C0%7C0%7C637674237972626930%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=2SF%2BL9eo89ASE7LO1kYqgUfL0kk0VZERjF80AmFTnZg%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARW7SVHZWQDTVEIQLIBEZT3UCJNCZANCNFSM5EFSDSFQ&data=04%7C01%7Caocallah%40uark.edu%7Cf0be3bb10e3d4c8659ef08d979574126%7C79c742c4e61c4fa5be89a3cb566a80d1%7C0%7C0%7C637674237972626930%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=j9I5XhS6q6HOrbtXByCRtF6O03f%2FVTi5j8m91cf9%2B1A%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Caocallah%40uark.edu%7Cf0be3bb10e3d4c8659ef08d979574126%7C79c742c4e61c4fa5be89a3cb566a80d1%7C0%7C0%7C637674237972636922%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=TQFIMKJBI9DMkrh6Kjhveu0GHiL1l1W3EB2EJMRQlfs%3D&reserved=0 or Androidhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Caocallah%40uark.edu%7Cf0be3bb10e3d4c8659ef08d979574126%7C79c742c4e61c4fa5be89a3cb566a80d1%7C0%7C0%7C637674237972636922%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=JkoVvtJYuGsaHmEetc5WqF3Y7SQFevUsYYB%2FYAj9iek%3D&reserved=0.
Function The issue is with updating and installing the newest version (2.1) of neonUtilities.
Describe the bug I tried using
install.packages("neonUtilities")
in Cyverse in an RStudio instance, but the only version of neonUtilities that will download is 1.3.5. I uninstalled and tried to reinstall and use update commands with no luck. In particular, I tried to manually download the newest package usingdevtools::install_github("NEONScience/NEON-utilities")
but received this error:To Reproduce
install.packages("neonUtilities")
Expected behavior I expected the newest package (2.1) of neonUtilities to download, but only version 1.3.5 will download.
System (please complete the following information):
Additional context I have the R package neonMicrobe installed, of which neonUtilities is a dependency, so I am wondering if this could be messing it up?