Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem to install the rfasst package #76

Open
EngFatemeh opened this issue Jul 5, 2022 · 4 comments
Open

Problem to install the rfasst package #76

EngFatemeh opened this issue Jul 5, 2022 · 4 comments

Comments

@EngFatemeh
Copy link

I tried : install.packages("devtools") devtools::install_github("JGCRI/rfasst")

to install the rfasst package but it didn't work and I received these errors: Error in dplyr::mutate(., subRegionAlt = as.character(subRegionAlt)) : trying to get slot "data" from an object (class "sf") that is not an S4 object Error: unable to load R code in package 'rfasst'

Capture
:

@EngFatemeh
Copy link
Author

@jonsampedro

@EngFatemeh
Copy link
Author

@crvernon

@zarrarkhan
Copy link
Collaborator

@EngFatemeh Thanks for posting this issue. We are looking into it and will get back to you on this shortly.

@jonsampedro
Copy link
Collaborator

@EngFatemeh sorry for the delay!

In order to solve the issue, you just need to make some small changes that have been just incorporated to the main branch (5089108).

You will need to substitute fasstSubset@data by fasstSubset, in the four scripts (m1-m4) and the mappings.Rfile. Also, you may want to add some new rows to fasst_reg.csv. You can see the commit above to see the exact changes.

Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants