-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace rjson dependency by jsonlite
There are a couple of reasons for this change. First, rjson depends on a recent version of R (>= 4.4.0), which is the current released minor version, while jsonlite should be able to work with older versions. Second, as of the time of this writing, the CRAN task view for Web Technologies and Services recommends using the jsonlite package. https://cran.r-project.org/web/views/WebTechnologies.html Also, fromJSON() in jsonlite coerces the records in the response to a data.frame by default, which is in principle quite convenient (and gtools::smartbind() does not seem to be needed anymore), although it is possible that in some cases this gives unexpected results. Some new bugs could appear because of this.
- Loading branch information
1 parent
1e7cd8a
commit 33dc5cf
Showing
5 changed files
with
25 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters