Closed Anirban166 closed 8 months ago
Possibly, a git switch
might be necessary. Especially given how git2r::checkout(repo, "another-branch")
is done by atime::atime_pkg(src_dir)
[1] (although to get to that step the environment variable must be properly set) and since that step only fetches the repository without creating any branches for atime
to work on.
Running the commands like Siyao did results in errors after installation of
atime
from GitHub, more specifically first not being able to obtain the environment variable for the current workspace (should be/home/runner/work/Autocomment-plot-GA/Autocomment-plot-GA
for${{ github_workspace }}
and/__w/Autocomment-plot-GA/Autocomment-plot-GA
for the checkout directory or${GITHUB_WORKSPACE}
here), and then not being able to install the package correspondingly (tried to hardcode it with aforementioned values to get to this step, but it didn't work):Running the statements together lead to errors as well: