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

Reviving the package #18

Open
gowachin opened this issue Jan 17, 2023 · 7 comments
Open

Reviving the package #18

gowachin opened this issue Jan 17, 2023 · 7 comments

Comments

@gowachin
Copy link
Collaborator

I'll start looking into this package. This issue is mainly to track questions about the code I don't understand etc.
All edits will first take place on my fork : https://github.com/gowachin/laselva

Currently, the tests have 12 errors and 6 warnings, impossible to run a whole check. The vignette is pre-compiled according to the Ropensci method.

@gowachin
Copy link
Collaborator Author

Dependancy {hoardr} is archived on github (https://github.com/ropensci/hoardr) but private message with Maëlle (Ropensci) confirm it will be maintained.

@gowachin
Copy link
Collaborator Author

gowachin commented Jan 20, 2023

R-check

The check was not running fine on GHA. I'm working on updating the action so the check could run easily. I work on parallel with {testthat} and the "HTTP testing in R" book.

Note : the README build status is linked to ropenscilabs/laselva repository and not kunstler/laselva but this is just because the owner was modified.

@gowachin
Copy link
Collaborator Author

gowachin commented Jan 24, 2023

Github Action is now working fine. I don't fully understand if the tests are skipped or not but this is a good news.

Now I can edit the package.

EDIT : There was warnings, but the check is now very clean. The tests for jpn return warnings.

@gowachin
Copy link
Collaborator Author

No more warning during check. Solved issue #14 about jpn warnings.

@gowachin
Copy link
Collaborator Author

Tests are running on local :

Needed to clean the files and cassette from {vcr} for tests to run.
Also need to set error in english for correct language in stop errors. Using {checkmate} may simplify the testing part and remove these tests.

Sys.setenv("LANGUAGE" = "EN")

Last issue is the fia database that is no longer available and explain why the tests are skipped on CI for ls_list_usa() and ls_fetch_usa(). I think using {rFIA} may solve the issue with #17 and #11.

@gowachin
Copy link
Collaborator Author

gowachin commented Feb 8, 2023

FIA dataset is only available through SQL download and {DBI} usage. This takes way longer to download and we don't need all of the data provided.

Function from {rFIA} return error 404 as the website does from CSV and and zip files. (issue here)

@gowachin
Copy link
Collaborator Author

Merge should come soon

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

1 participant