ncx-co / tidyFIA

Apache License 2.0
15 stars 2 forks source link

Warning: package ‘fiabd’ is not available for this version of R #27

Open mlefsky opened 6 months ago

mlefsky commented 6 months ago

I received an error when trying to download FIA data from your database but receive the following message:

install.packages("fiabd") Installing package into ‘/home/lefsky/R/x86_64-pc-linux-gnu-library/4.1’ (as ‘lib’ is unspecified) Warning in install.packages : package ‘fiabd’ is not available for this version of R

A version of this package for your version of R might be available elsewhere, see the ideas at https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

When I run with the postgis=FALSE option, it appears to work but then I get the message:

! https://apps.fs.usda.gov/fia/datamart/CSV/MN_tree.zip is not available to download at the moment

I've appended my version information. Can you tell me how to resolve this question? If I need to switch R version, which should I install?

version _
platform x86_64-pc-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 4
minor 1.2
year 2021
month 11
day 01
svn rev 81115
language R
version.string R version 4.1.2 (2021-11-01) nickname Bird Hippie

hrodmn commented 6 months ago

Hi @mlefsky :wave:

I received an error when trying to download FIA data from your database but receive the following message:

install.packages("fiabd") Installing package into ‘/home/lefsky/R/x86_64-pc-linux-gnu-library/4.1’ (as ‘lib’ is unspecified) Warning in install.packages : package ‘fiabd’ is not available for this version of R

A version of this package for your version of R might be available elsewhere, see the ideas at https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

fiadb is the python package that I built to create the PostGIS database from the FIA datamart CSVs, so it is not something that can be installed in R.

When I run with the postgis=FALSE option, it appears to work but then I get the message:

! https://apps.fs.usda.gov/fia/datamart/CSV/MN_tree.zip is not available to download at the moment

I assume this was a temporary outage on the FIA datamart - when I try clicking the link to download that file it seems to work.

I have worked through the changes required to get tidyFIA up-to-date with recent versions of its dependencies in this PR: #26. I will release it into the wild soon, but if you could try it out and let me know if the functions work for you that would be great!

You can install it like this:

remotes::install_github("ncx-co/tidyFIA", ref = "updates-20240226")

mlefsky commented 6 months ago

I will try and update you with anything I observe.

Michael Lefsky

Senior Remote Sensing Scientist

Teren, Inc | teren4d.com

Mobile (970) 980-9036

@.*** https://www.linkedin.com/in/michael-lefsky-bbb79225/

LinkedIn https://www.linkedin.com/in/michael-lefsky-bbb79225/

On Tue, Mar 5, 2024 at 6:41 PM Henry Rodman @.***> wrote:

Hi @mlefsky https://github.com/mlefsky 👋

I received an error when trying to download FIA data from your database but receive the following message:

install.packages("fiabd") Installing package into ‘/home/lefsky/R/x86_64-pc-linux-gnu-library/4.1’ (as ‘lib’ is unspecified) Warning in install.packages : package ‘fiabd’ is not available for this version of R

A version of this package for your version of R might be available elsewhere, see the ideas at https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

fiadb is the python package that I built to create the PostGIS database from the FIA datamart CSVs, so it is not something that can be installed in R.

When I run with the postgis=FALSE option, it appears to work but then I get the message:

! https://apps.fs.usda.gov/fia/datamart/CSV/MN_tree.zip is not available to download at the moment

I assume this was a temporary outage on the FIA datamart - when I try clicking the link to download that file it seems to work.

I have worked through the changes required to get tidyFIA up-to-date with recent versions of its dependencies in this PR: #26 https://github.com/ncx-co/tidyFIA/pull/26. I will release it into the wild soon, but if you could try it out and let me know if the functions work for you that would be great!

You can install it like this:

remotes::install_github("ncx-co/tidyFIA", ref = "updates-20240226")

— Reply to this email directly, view it on GitHub https://github.com/ncx-co/tidyFIA/issues/27#issuecomment-1979925894, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEKC2IJ5SP2ILU375YOTP2DYWZX3VAVCNFSM6AAAAABEFZUIQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZZHEZDKOBZGQ . You are receiving this because you were mentioned.Message ID: @.***>