Repository navigation
Drop ten unused packages from Suggests; setupOff() finds the project folder without rprojroot - #255
Merged
Conversation
…with base R (no rprojroot) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Lx3DXgG6hSA1CRAMhvKajR
…uthThenNonAuth() stays on httr (#256) .downloadFileMasterMainAuth() now uses a new internal curlGETauth() (curl::curl_fetch_memory(), same bad-credentials/404 fallback). The exported GETWauthThenNonAuth() is unchanged and still returns an httr response, because SpaDES.core (module-repository.R) reads it with httr::content() and httr::stop_for_status(); httr stays in Suggests for it. checkForToken() now needs curl, not httr. Claude-Session: https://claude.ai/code/session_01Lx3DXgG6hSA1CRAMhvKajR Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Require listed ten packages in Suggests that nothing in its code or tests needs any more. Most are leftovers from the old installer or old test tooling. They are removed, so fewer packages have to be installed to check or develop Require.
Affects: Nothing for users. Installing Require's suggested packages pulls in ten fewer.
Depends-on: #254
Technical details
Removed from Suggests: cli, covr, diffobj, fpCompare, pkgcache, rematch2, rlang, roxygen2, waldo, rprojroot.
library(waldo)insideif (FALSE)in test-04, which is now deleted; R CMD check flagged it as undeclared.system.file()lookup that already falls back.setupOff(). It is replaced by a base-R helper,findRprojDir(), which walks up from the working directory to a folder holding a*.Rprojfile. New test in test-31; the existing setupOff project-root test no longer skips without rprojroot.R CMD check
--as-cran --no-tests(_R_CHECK_FORCE_SUGGESTS_=false): 1 NOTE, the development version number only.Full local
devtools::test()(2.1.1.9056): 562 tests, 2477 passed, 0 failed/errors/warnings/skipped.🤖 Generated with Claude Code
https://claude.ai/code/session_01Lx3DXgG6hSA1CRAMhvKajR