Comments (7)
Ok cool - I've heard we're still having issues reading multiple states simultaneously, so I'll work on that tonight and follow up then.
from rfia.
Believe I have this fixed. Datamart is now distributing csv's again, but all variable names are now lowercase (previously all uppercase). Easy fix, but I haven't had time to test thoroughly yet.
Can you please re-install from GitHub w/ remotes::install_github('hunter-stanke/rFIA')
and confirm that fixes the read issues?
Thanks for reaching out, and thanks for jumping in here (+ other threads) @whalend. I apologize for the (severely) delayed replies on here. Doing my best to keep up.
from rfia.
Yes, I got the same error.
from rfia.
Could you provide a reproducible example of your code and sessionInfo()
for R to help with troubleshooting?
The error message looks like it is syntax so this will help with whether it is the evaluation of the code you’ve input or the underlying function code.
from rfia.
My code:
library(rFIA)
options(timeout=606024*30) # 30 days.
getwd()
ct <- getFIA(states = 'RI')
My sessionInfo:
R version 4.2.0 (2022-04-22 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 22000)
Matrix products: default
locale:
[1] LC_COLLATE=Korean_Korea.utf8 LC_CTYPE=Korean_Korea.utf8 LC_MONETARY=Korean_Korea.utf8
[4] LC_NUMERIC=C LC_TIME=Korean_Korea.utf8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] rFIA_1.0.1
loaded via a namespace (and not attached):
[1] tidyselect_1.1.2 remotes_2.4.2 purrr_0.3.4 sf_1.0-8 colorspace_2.0-3
[6] vctrs_0.4.1 generics_0.1.2 usethis_2.1.6 utf8_1.2.2 rlang_1.0.3
[11] pkgbuild_1.3.1 e1071_1.7-11 pillar_1.7.0 glue_1.6.2 withr_2.5.0
[16] DBI_1.1.3 bit64_4.0.5 sessioninfo_1.2.2 lifecycle_1.0.1 stringr_1.4.0
[21] munsell_0.5.0 gtable_0.3.0 devtools_2.4.3 memoise_2.0.1 callr_3.7.0
[26] fastmap_1.1.0 ps_1.7.1 parallel_4.2.0 curl_4.3.2 class_7.3-20
[31] fansi_1.0.3 Rcpp_1.0.8.3 KernSmooth_2.23-20 scales_1.2.0 classInt_0.4-7
[36] cachem_1.0.6 pkgload_1.3.0 fs_1.5.2 bit_4.0.4 ggplot2_3.3.6
[41] stringi_1.7.6 processx_3.6.1 dplyr_1.0.9 grid_4.2.0 cli_3.3.0
[46] tools_4.2.0 magrittr_2.0.3 proxy_0.4-27 tibble_3.1.7 dtplyr_1.2.1
[51] tidyr_1.2.0 crayon_1.5.1 pkgconfig_2.0.3 ellipsis_0.3.2 data.table_1.14.2
[56] prettyunits_1.1.1 assertthat_0.2.1 rstudioapi_0.13 R6_2.5.1 units_0.8-0
[61] compiler_4.2.0
from rfia.
and it shows following error:
Error in dplyr::mutate()
:
! Problem while computing END_INVYR = dplyr::case_when(...)
.
Caused by error in EVALID %in% c(561800, 561801, 561803, 561807)
:
! object 'EVALID' not found
Run rlang::last_error()
to see where the error occurred.
from rfia.
Thank you for the quick reply!
I re-installed the rFIA, and "getFIA" function works now!
from rfia.
Related Issues (20)
- mergeSmallStrata(): 'buf' not 'buff' to id intensified PNW strata HOT 1
- readFIA issues HOT 2
- Issue with getFIA - url connects to 404 page HOT 6
- Difficulty using huc watersheds as polygons HOT 2
- Summarizing by subplot gives wrong values
- rFIA::tpa() removes trees with no measured DIA
- FIA databases appear to be inaccessible HOT 2
- Error in `dplyr::select()`: Column `geom` doesn't exist. HOT 1
- df issue in udTreeDomain() within biomass()
- getFIA URL error HOT 2
- growMort bySizeClass missing removed stems
- Failure with dev dtplyr
- fa_mean doesn't exist HOT 5
- 'invasive' function not finding INVASIVE_SUBPLOT_SPP table HOT 1
- Newest version of R not compatible
- seemingly strange behavior from customPSE()
- 'DRYBIO_WDLD_SPP' and Column `CARBON_STANDING_DEAD` not found HOT 4
- Error when downloading tables for several states HOT 3
- growMort function won't run
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rfia.